AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  error: gcc-4.0.0-1.aix5.3.ppc.rpm cannot be installed

    Posted Thu November 30, 2006 04:38 PM

    Originally posted by: SystemAdmin


    I have new AIX 5.3L system. Since I could not install openssh-4.3p2 without the C compiler, I downloaded this rpm from IBM. However, when I run rpm -ihv of this rpm, system return with error without any other information. Tried other option of rpm, same error. So Can I install this C compiler for AIX5.3. Half year ago, i installed the gcc-3.3.2-5.aix5.3.ppc.rpm and worked.


  • 2.  Re: error: gcc-4.0.0-1.aix5.3.ppc.rpm cannot be installed

    Posted Thu November 30, 2006 06:02 PM

    Originally posted by: SystemAdmin


    See the
    "g++-4.0.0 for aix5.3L and stdc++"
    topic in this same forum.
    (http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?forum=747&thread=138005&cat=72)

    Unfortunately, after several dozen hours, I too have been unable to install gcc-4.0.0-1.aix5.3.ppc.rpm for successful g++ use.

    Over the last month several people have reported problems that prevented them installing gcc-4 on aix-5.3 from the binary above. Some have reported
    partial success with compiling and linking c-only programs.

    If you find a solution to installing g++-4 on aix-5.3,
    please publish it on this forum in the
    "g++-4.0.0 for aix5.3L and stdc++"
    topic.

    So far, I know the following have been unsuccessfully tried.
    o installing from gcc-4.0.0-1.aix5.1.ppc.rpm
    o using -isystem, -I, -L, CPATH to override search paths
    o altering the gcc spec file

    The following met with limited success (i.e. some programs functioned intermittently).
    o using the gcc-3 spec file as gcc-4 spec file
    o building on aix-5.1 and executing on aix-5.3

    I haven't had contact with anyone who tried building gcc-4 from source on aix-5.3.
    An ambiguous reference at http://www.gnu.org/software/gcc implies that a bug in aix-5.3's libc.a prevents compilation from source.

    Regretfully reporting,


  • 3.  Re: error: gcc-4.0.0-1.aix5.3.ppc.rpm cannot be installed

    Posted Mon December 04, 2006 06:55 PM

    Originally posted by: SystemAdmin


    I used the gcc-4.0.0.1 for 5.3 pacakge on the DVD of the "AIX toolbox for Linux Applications for Power System" GNU software 07/2006, comes with the system and it compiled. There are gcc-4.0.0.1 for 5.2 and 5.1 on the same DVD. I also compiled the gcc-C++, but it depends on libgcc++, libstdc++-devel and libstdc++. Now I can compile the openssh and rsync.