[Orca-users] Re: Install problems with orca-0.27b1 on solaris 8

Blair Zajac blair at gps.caltech.edu
Tue Jun 12 11:21:35 PDT 2001


It looks like gcc is being passed an argument '-xdepend' that is meant
for Solaris' cc compiler.

I would cd into packages/rrdtool-1.0.33/perl-shared and run

make CC=cc

and try that.

If this happens a lot, you may want to rebuild Perl with gcc instead
and next time you run 'make Makefile.PL' it should work.

Regards,
Blair

Chandrasekhar Nagasundaram - SunPS wrote:
> 
> > I have gcc, gmake, cc, and make installed in my Solaris 8 machine.
> > My version of gcc is 2.95.2
> > I use gmake after running configure. Then when I do a 'gmake
> > test_modules' the
> > make dies. It gets to 'rrdtool-1.0.33/perl-shared' and dies there.
> >
> > I'm enclosing the output from the make. Using 'make' from the
> Solaris 8
> > distribution there doesn't work either. Should I explicitly set any
> LD_*
> > paths?
> > Also, the Makefile in the 'perl-shared' directory seems to pick the
> > /usr/ccs/bin/cc
> > compiler instead. I did try chaning that to gcc with no luck.
> >
> > Any help or pointers is appreciated. Please send me mail at
> > 'sekhar.nagasundaram at sun.com'
> >
> > Thanks much,
> >
> > Sekhar
> >
> >
> ------------------------------------------------------------------------
> > cd packages && gmake CFLAGS="-g -O2" test_modules
> > gmake[1]: Entering directory `/opt/orca-0.27b1/packages'
> > cd rrdtool-1.0.33 && gmake CFLAGS="-g -O2"
> > gmake[2]: Entering directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33'
> > Making all in cgilib-0.4
> > gmake[3]: Entering directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/cgilib-0.4'
> > gmake[3]: Nothing to be done for `all'.
> > gmake[3]: Leaving directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/cgilib-0.4'
> > Making all in config
> > gmake[3]: Entering directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/config'
> > gmake[3]: Leaving directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/config'
> > Making all in gd1.3
> > gmake[3]: Entering directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/gd1.3'
> > gmake[3]: Nothing to be done for `all'.
> > gmake[3]: Leaving directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/gd1.3'
> > Making all in zlib-1.1.3
> > gmake[3]: Entering directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/zlib-1.1.3'
> > gmake[3]: Nothing to be done for `all'.
> > gmake[3]: Leaving directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/zlib-1.1.3'
> > Making all in libpng-1.0.9
> > gmake[3]: Entering directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/libpng-1.0.9'
> > gmake[3]: Nothing to be done for `all'.
> > gmake[3]: Leaving directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/libpng-1.0.9'
> > Making all in src
> > gmake[3]: Entering directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/src'
> > gmake[3]: Nothing to be done for `all'.
> > gmake[3]: Leaving directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/src'
> > Making all in doc
> > gmake[3]: Entering directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/doc'
> > gmake[3]: Nothing to be done for `all'.
> > gmake[3]: Leaving directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/doc'
> > Making all in examples
> > gmake[3]: Entering directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/examples'
> > gmake[3]: Nothing to be done for `all'.
> > gmake[3]: Leaving directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/examples'
> > Making all in contrib
> > gmake[3]: Entering directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/contrib'
> > Making all in trytime
> > gmake[4]: Entering directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/contrib/trytime'
> > gmake[4]: Nothing to be done for `all'.
> > gmake[4]: Leaving directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/contrib/trytime'
> > gmake[4]: Entering directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/contrib'
> > gmake[4]: Nothing to be done for `all-am'.
> > gmake[4]: Leaving directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/contrib'
> > gmake[3]: Leaving directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/contrib'
> > Making all in tcl
> > gmake[3]: Entering directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/tcl'
> > gmake[3]: Nothing to be done for `all'.
> > gmake[3]: Leaving directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/tcl'
> > gmake[3]: Entering directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33'
> > cd perl-piped && gmake
> > gmake[4]: Entering directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/perl-piped'
> > gmake[4]: Leaving directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/perl-piped'
> > cd perl-shared && gmake
> > gmake[4]: Entering directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/perl-shared'
> > gcc -c -I../src -I../gd1.3  -xO3 -xdepend    -DVERSION=\"1.000331\"
> -DXS_VERSION=\"1.000331\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE
> 
> -DPERLPATCHLEVEL=5 RRDs.c
> > gcc: unrecognized option `-KPIC'
> > gcc: language depend not recognized
> > gcc: RRDs.c: linker input file unused since linking not done
> > Running Mkbootstrap for RRDs ()
> > chmod 644 RRDs.bs
> > LD_RUN_PATH="" cc -o blib/arch/auto/RRDs/RRDs.so  -G RRDs.o
> -L../src/.libs/
> -lrrd_private -lm
> > ld: fatal: file RRDs.o: cannot open file: No such file or directory
> > ld: fatal: File processing errors. No output written to
> blib/arch/auto/RRDs/RRDs.so
> > gmake[4]: *** [blib/arch/auto/RRDs/RRDs.so] Error 1
> > gmake[4]: Leaving directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33/perl-shared'
> > gmake[3]: *** [perl_shared] Error 2
> > gmake[3]: Leaving directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33'
> > gmake[2]: *** [all-recursive] Error 1
> > gmake[2]: Leaving directory
> `/opt/orca-0.27b1/packages/rrdtool-1.0.33'
> > gmake[1]: *** [make_rrdtool] Error 2
> > gmake[1]: Leaving directory `/opt/orca-0.27b1/packages'
> > gmake: *** [test_modules] Error 2
> 
> ------------- End Forwarded Message -------------
> 
> ***************************************************************
>      /\
>     \\ \         Sekhar Nagasundaram
>    \ \\ /        Project Engineer
>   / \/ / /       Sun Professional Services
> / /   \//\      901 San Antonio Road, USCA28-11
> \//\   / /      Palo Alto, CA   94303-4900
>   / / /\ /       Voicemail: 408-276-9369
>    / \\ \        Email    : sekhar.nagasundaram at sun.com
>     \ \\         Fax      : 408-276-9511
>      \/          Pager    : 1(800)854-6079
> 
> ***************************************************************
> 
>                    Yahoo! Groups Sponsor
> 
> 
> 



More information about the Orca-users mailing list