AIX

AIX

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


#Power
 View Only
  • 1.  trouble compiling latest version of PERL 5.12.1 using xlc 9.0 (cc_r)

    Posted Fri August 06, 2010 01:42 PM

    Originally posted by: jenlmead


    Hi Guys,
    Getting weird error right off the bat after running the ./Configure routine/script. It builds the config.sh file but when I give the make command it immediately returns with this error:

    make: Cannot find a rule to create target /config.sh from dependencies.
    Stop.

    Changing the permission on config.sh, or making it executable makes no difference. Moving it out of the way etc doesn't help either. Here are our computer stats:

    root:/perl_db2/PERL/perl-5.12.1>oslevel -r
    6100-04
    root:/perl_db2/PERL/perl-5.12.1>oslevel -s
    6100-04-04-1014

    root:/perl_db2/PERL/perl-5.12.1>lslpp -L | grep -i xlc
    xlC.adt.include 7.0.0.0 C F C Set ++ Application
    xlC.aix61.rte 10.1.0.2 C F XL C/C++ Runtime for AIX 6.1
    xlC.cpp 9.0.0.0 C F C for AIX Preprocessor
    xlC.msg.en_US.cpp 9.0.0.0 C F C for AIX Preprocessor
    xlC.msg.en_US.rte 10.1.0.2 C F XL C/C++ Runtime
    xlC.rte 10.1.0.2 C F XL C/C++ Runtime
    xlC.sup.aix50.rte 9.0.0.1 C F XL C/C++ Runtime for AIX 5.2

    Any ideas? Anyone else ran into this? Any help appreciated.
    Jen
    #AIX-Forum


  • 2.  Re: trouble compiling latest version of PERL 5.12.1 using xlc 9.0 (cc_r)

    Posted Fri August 06, 2010 02:26 PM

    Originally posted by: jenlmead


    Update, I went to IBM and downloaded the latest patches/ugrades for xlc 9.0. It updated components on the server to 10 instead of 9. Got the same results. Sigh. Same error which makes me think there is some kind of syntax error in the Makefile.
    #AIX-Forum


  • 3.  Re: trouble compiling latest version of PERL 5.12.1 using xlc 9.0 (cc_r)

    Posted Fri August 06, 2010 05:52 PM

    Originally posted by: jenlmead


    Got it! I grepped the Makefile to see where it referenced config.sh and it barfed out the command:

    Makefile.sh config.sh

    Which I ran on the command line and then tried make again, and it worked! Just a syntax error as I supposed. YAH!
    #AIX-Forum


  • 4.  Re: trouble compiling latest version of PERL 5.12.1 using xlc 9.0 (cc_r)

    Posted Thu October 21, 2010 06:43 AM

    Originally posted by: Shirley.Streep


    jenlmead wrote:
    Got it! I grepped the Make file to see where it referenced config.sh and it barfed out the command:

    Makefile.sh config.sh

    Which I ran on the command line and then tried make again, and it worked! Just a syntax error as I supposed. YAH!

    It's good for reference, I understand this part, Thanks for your effort!
    #AIX-Forum