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

Discussion in 'Ruby' started by Victor Reyes, May 3, 2008.

  1. Victor Reyes

    Victor Reyes Guest

    [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
     
    Victor Reyes, May 3, 2008
    #1
    1. Advertising

  2. Re: Error compiling ruby under AIX 5.3 with GCC during the makephase

    On Sat, May 3, 2008 at 1:20 PM, Victor Reyes <> 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
     
    Gerardo Santana Gómez Garrido, May 3, 2008
    #2
    1. Advertising

  3. Victor Reyes

    Victor Reyes Guest

    Re: Error compiling ruby under AIX 5.3 with GCC during the makephase

    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 <> wrot=
    e:
    >
    > On Sat, May 3, 2008 at 1:20 PM, Victor Reyes <>
    > 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
    >
    >
     
    Victor Reyes, May 3, 2008
    #3
  4. Re: Error compiling ruby under AIX 5.3 with GCC during the makephase

    On Sat, May 3, 2008 at 2:30 PM, Victor Reyes <> 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/aix/library/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
     
    Gerardo Santana Gómez Garrido, May 3, 2008
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. marko sarunac
    Replies:
    0
    Views:
    597
    marko sarunac
    Nov 17, 2003
  2. Eli Bendersky

    4-phase vs. 2-phase handshaking

    Eli Bendersky, Jan 21, 2008, in forum: VHDL
    Replies:
    11
    Views:
    4,837
  3. Philippe Lucas
    Replies:
    0
    Views:
    151
    Philippe Lucas
    Jun 28, 2005
  4. Chris
    Replies:
    3
    Views:
    1,029
    Sisyphus
    Jun 29, 2005
  5. Replies:
    0
    Views:
    133
Loading...

Share This Page