Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Error compiling ruby under AIX 5.3 with GCC during the make phase

Reply
Thread Tools

Error compiling ruby under AIX 5.3 with GCC during the make phase

 
 
Victor Reyes
Guest
Posts: n/a
 
      05-03-2008
[Note: parts of this message were removed to make it a legal post.]

Team,

I was trying to compile ruby 1.8.6-p114 under AIX 5.3 with gcc version
4.2.0.
During the make phase I received the following error:

.....
rbconfig.rb updated
compiling Win32API
compiling bigdecimal
mkdir -p ../../.ext/powerpc-aix5.3.0.0
gcc -I. -I../.. -I../../. -I../.././ext/bigdecimal -g -O2 -c
bigdecimal.c
gcc -shared -o ../../.ext/powerpc-aix5.3.0.0/bigdecimal.so
bigdecimal.o -L"." -L"../.." -L. -Wl,-brtl -Wl,-G -eInit_bigdecimal -ldl
-lcrypt -lm -lc
collect2: library libgcc_s not found
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.

Can anyone help resolve this error?

Thank you

Victor

 
Reply With Quote
 
 
 
 
Gerardo Santana Gómez Garrido
Guest
Posts: n/a
 
      05-03-2008
On Sat, May 3, 2008 at 1:20 PM, Victor Reyes <(E-Mail Removed)> wrote:
> Team,
>
> I was trying to compile ruby 1.8.6-p114 under AIX 5.3 with gcc version
> 4.2.0.
> During the make phase I received the following error:
>
> .....
> rbconfig.rb updated
> compiling Win32API
> compiling bigdecimal
> mkdir -p ../../.ext/powerpc-aix5.3.0.0
> gcc -I. -I../.. -I../../. -I../.././ext/bigdecimal -g -O2 -c
> bigdecimal.c
> gcc -shared -o ../../.ext/powerpc-aix5.3.0.0/bigdecimal.so
> bigdecimal.o -L"." -L"../.." -L. -Wl,-brtl -Wl,-G -eInit_bigdecimal -ldl
> -lcrypt -lm -lc
> collect2: library libgcc_s not found


I haven't used AIX yet, but here's the clue. You need to install the
gcc_s package.




--
Gerardo Santana

 
Reply With Quote
 
 
 
 
Victor Reyes
Guest
Posts: n/a
 
      05-03-2008
Gerardo, thank you for the info. However, I am having heck of a time
searching for that library, to download it and install it. Google has
hundreds of hits but no URL to download, as far as I can see.
Would you happen to know where I can get it?

Thank you

Victor

On 5/3/08, Gerardo Santana G=F3mez Garrido <(E-Mail Removed)> wrot=
e:
>
> On Sat, May 3, 2008 at 1:20 PM, Victor Reyes <(E-Mail Removed)>
> wrote:
> > Team,
> >
> > I was trying to compile ruby 1.8.6-p114 under AIX 5.3 with gcc version
> > 4.2.0.
> > During the make phase I received the following error:
> >
> > .....
> > rbconfig.rb updated
> > compiling Win32API
> > compiling bigdecimal
> > mkdir -p ../../.ext/powerpc-aix5.3.0.0
> > gcc -I. -I../.. -I../../. -I../.././ext/bigdecimal -g -O2 -c
> > bigdecimal.c
> > gcc -shared -o ../../.ext/powerpc-aix5.3.0.0/bigdecimal.so
> > bigdecimal.o -L"." -L"../.." -L. -Wl,-brtl -Wl,-G -eInit_bigdecimal

> -ldl
> > -lcrypt -lm -lc
> > collect2: library libgcc_s not found

>
>
> I haven't used AIX yet, but here's the clue. You need to install the
> gcc_s package.
>
>
>
>
> --
>
> Gerardo Santana
>
>


 
Reply With Quote
 
Gerardo Santana Gómez Garrido
Guest
Posts: n/a
 
      05-03-2008
On Sat, May 3, 2008 at 2:30 PM, Victor Reyes <(E-Mail Removed)> wrote:
> Gerardo, thank you for the info. However, I am having heck of a time
> searching for that library, to download it and install it. Google has
> hundreds of hits but no URL to download, as far as I can see.
> Would you happen to know where I can get it?
>
> Thank you
>
> Victor


Well, I'm not an AIX user, but Google told me about this link:

http://www.ibm.com/developerworks/ai...ry/au-gnu.html

where you can find how to install GCC on AIX. There's even a link to a
pre-built binary.

--
Gerardo Santana

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vhdl coding for five phase svpwm for 5 phase stepper motor Keerthana Hardware 0 03-24-2012 06:06 AM
4-phase vs. 2-phase handshaking Eli Bendersky VHDL 11 01-22-2008 02:26 PM
Compiling Perl modules on AIX using gcc instead of cc_r? Chris Perl Misc 3 06-29-2005 07:04 AM
Liveconnect: problem during the init() phase of the applet under IE admin@point52.com Javascript 0 05-24-2005 02:38 PM
problem compiling perl source on AIX 5.1.0.0 using GCC marko sarunac Perl 0 11-17-2003 07:21 PM



Advertisments