Hello,
I’m trying to build ruby 1.9.1 p376 on a AIX platform using pWares’s gcc
but this is the error I’m getting:
checking for size_t… yes
checking size of size_t… configure: error: in
/tmp/Packages_for_Management/ruby-1.9.1-p376': configure: error: cannot compute sizeof (size_t) See
config.log’ for more details.
Any help will be appreciated.
Roberto.
On Fri, Dec 11, 2009 at 8:53 AM,
[email protected] wrote:
Hello,
I’m trying to build ruby 1.9.1 p376 on a AIX platform using pWares’s gcc
but this is the error I’m getting:
checking for size_t… yes
checking size of size_t… configure: error: in
/tmp/Packages_for_Management/ruby-1.9.1-p376': configure: error: cannot compute sizeof (size_t) See
config.log’ for more details.
Could you please paste the config.log in either a github gist or a
pastie and give us the link?
Thanks.
Andrew McElroy
Andrew,
Here it is the URL on github:
http://github.com/bouzafr/ruby/blob/master/config.log
Thank you.
Roberto.
andrew mcelroy [email protected]
12/11/2009 11:15 AM
Please respond to
[email protected]
To
[email protected] (ruby-talk ML)
cc
Subject
Re: Building ruby on AIX 5.3
On Fri, Dec 11, 2009 at 8:53 AM,
[email protected] wrote:
Hello,
I’m trying to build ruby 1.9.1 p376 on a AIX platform using pWares’s gcc
but this is the error I’m getting:
checking for size_t… yes
checking size of size_t… configure: error: in
/tmp/Packages_for_Management/ruby-1.9.1-p376': configure: error: cannot compute sizeof (size_t) See
config.log’ for more details.
Could you please paste the config.log in either a github gist or a
pastie and give us the link?
Thanks.
Andrew McElroy
On Fri, Dec 11, 2009 at 10:28 AM,
[email protected] wrote:
Andrew,
Here it is the URL on github:
http://github.com/bouzafr/ruby/blob/master/config.log
Thank you.
Cool this will help figure it out.
Does 1.9.1-p243 build and compile?
Andrew McElroy
On Fri, Dec 11, 2009 at 12:13 PM, andrew mcelroy [email protected]
wrote:
Cool this will help figure it out.
Does 1.9.1-p243 build and compile?
I probably should have added this:
ftp://ftp.ruby-lang.org/pub/ruby/1.9/
I am curious to know if ruby-1.9.2-preview1 compiles.
I am looking for an aix emulator now.
I have access to a powerpc system.
Andrew McElroy
On Fri, Dec 11, 2009 at 12:21 PM, andrew mcelroy [email protected]
wrote:
I have access to a powerpc system.
looking at the log, you didn’t have to show the hostname, but if its
not a security concern to you then don’t worry about it.
This seems to be where the log goes south:
g++: ‘-V’ option must have argument
configure:3827: $? = 1
configure:3816: g++ -qversion >&5
g++: unrecognized option ‘-qversion’
g++: no input files
configure:3827: $? = 1
configure:3831: checking whether we are using the GNU C++ compiler
configure:3850: g++ -c conftest.cpp >&5
configure:3850: $? = 0
configure:3859: result: yes
configure:3868: checking whether g++ accepts -g
configure:3888: g++ -c -g conftest.cpp >&5
configure:3888: $? = 0
configure:3929: result: yes
configure:3958: checking how to run the C preprocessor
configure:3989: gcc -E conftest.c
configure:3989: $? = 0
configure:4003: gcc -E conftest.c
specifically here on line 146:
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
Make sure that you have ac_nonexistent.h
It looks like these were your flags:
configure --disable-shared --enable-threads=posix --prefix=/opt/pware
–with-long-double-128 --with-mpfr=/opt/pware --with-gmp=/opt/pware
What happens if you don’t give it any flags.
I would think that it would still fail, but this is an assumption.
Also, if you give it no flags, I am only advocating just doing the
configure and make (not a make install)
Andrew McElroy
Andrew,
Researching a lot about this, the guru guys from gcc made that
ac_nonexistent.h a real non existent header that it should fail when
doing
tests, if it doesn’t fail then something is wrong, weird but that is the
way it is.
So reading more and more the config.log I found this:
collect2: library libm not found
Which is the first real error I found, doing more research I needed the
basic lib math on the box. So I installed the bos.adt Math Library
Package
from AIX and voila!!! It configured and it’s compiling as well.
I hope this helps someone else in the future.
Thank to you and everyone else.
Roberto.
andrew mcelroy [email protected]
12/11/2009 01:29 PM
Please respond to
[email protected]
To
[email protected] (ruby-talk ML)
cc
Subject
Re: Building ruby on AIX 5.3
On Fri, Dec 11, 2009 at 12:13 PM, andrew mcelroy [email protected]
wrote:
Cool this will help figure it out.
Does 1.9.1-p243 build and compile?
I probably should have added this:
ftp://ftp.ruby-lang.org/pub/ruby/1.9/
I am curious to know if ruby-1.9.2-preview1 compiles.
I am looking for an aix emulator now.
I have access to a powerpc system.
Andrew McElroy
On Fri, Dec 11, 2009 at 8:53 AM,
[email protected] wrote:
Hello,
I’m trying to build ruby 1.9.1 p376 on a AIX platform using pWares’s
gcc