Re: gcc problem on AIX 5.2

From: Darryl Ousterhout (D.Ousterhout_at_LABSAFETY.COM)
Date: 06/28/04

  • Next message: Matt Lawrence: "gcc on AIX -- take 2"
    Date:         Mon, 28 Jun 2004 14:35:39 -0500
    To: aix-l@Princeton.EDU
    
    

    I found a problem similar to this on a MySQL compile. The problem was
    that during the compile a file was suppose to be copied to a certain
    location, which it was, the next step then removed it for some reason,
    and the third step tried to access the file that was removed. This
    resulted in the problem you described. I got around this in a very crude
    manner. I found the actual location of the original file, opened up
    another session, wrote a copy command and re-ran the compile. In between
    the compile script removing it and then trying to access it, I hit enter
    in the other window so the file was immediately copied and the compile
    continued with no errors.

    HTH,

    -Darryl

    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
    Matt Lawrence
    Sent: Monday, June 28, 2004 1:58 PM
    To: aix-l@Princeton.EDU
    Subject: gcc problem on AIX 5.2

    I'm trying to build Ruby on AIX 5.2 using gcc 3.3.3. For some reason
    the socket library isn't building. It gets skipped with errors like
    this:

    "gcc -brtl -bI:/usr/src/ruby-1.8.1/ruby.imp -T512 -H512 -oconftest
    -I/usr/src/ruby-1.8.1 -I/usr/src/ruby-1.8.1 -g -O2 conftest.c
    -L"/usr/src/ruby-1.8.1" -L"/usr/local/lib" -lruby-static -lnsl -ldl
    -lcrypt -lm -lc"
    gcc: couldn't run `I:/usr/src/ruby-1.8.1/ruby.imp-gcc-3.3.3': No such
    file or directory

    Ideas? I'm definitely over my head here.

    -- Matt
    When debuggers are outlawed, only outlaws will debug.


  • Next message: Matt Lawrence: "gcc on AIX -- take 2"

    Relevant Pages

    • Two utility programs
      ... To compile this program ... To determine if you have AIX 5.2 type ... echo $CMD; exec $CMD ...
      (comp.unix.aix)
    • Re: QMAIL for AIX
      ... With the changes that you suggested I was able to compile ... I am running AIX 4.3.3 by the way. ... However got such errors while building qmail. ... register char ch; ...
      (comp.unix.aix)
    • Re: AIX support
      ... >> to be able to compile my code and an interpreter together, ... > ActiveTcl EE does support AIX, but BLT is certainly an issue. ...
      (comp.lang.tcl)
    • Re: GCC, XLC and shared libraries
      ... > that old problem of generating shared libraries and objects on AIX. ... > - Compile some tools libs like grep, zlib, libpng and so on, using ... Once I have GCC ...
      (comp.unix.aix)
    • Re: Tk on AIX ???
      ... Our experience with tcl/tk on AIX has been very bad. ... I think Scriptics ... There still is the issue of TclX though. ... We need to compile our own wishx script as ...
      (comp.lang.tcl)