well.... after many problems i can install sunstudio 11; but now my
problem is:

>
>
> - environment:
>  bash-2.05# echo $CC
> /opt/SunStudio/bin/cc
>
> bash-2.05# echo  $CFLAGS
> -xarch=v9 -O
>
> - my configure was:
>
> ./configure --with-CC=/opt/SunStudio/bin/cc  --with-perl --without-readline
>
>
> - when i did make, got the next error:
>
> make[3]: Entering directory
> `/export/fmolina/pgsql/postgresql-8.4.4/src/port'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
> `/export/fmolina/pgsql/postgresql-8.4.4/src/port'
> /opt/SunStudio/bin/cc -Xa -xarch=v9 -O -xcode=pic13 -I../../src/include
> -c -o zic.o zic.c
> /opt/SunStudio/bin/cc -Xa -xarch=v9 -O -xcode=pic13 -I../../src/include
> -c -o ialloc.o ialloc.c
> /opt/SunStudio/bin/cc -Xa -xarch=v9 -O -xcode=pic13 -I../../src/include
> -c -o scheck.o scheck.c
> /opt/SunStudio/bin/cc -Xa -xarch=v9 -O -xcode=pic13 zic.o ialloc.o scheck.o
> localtime.o -L../../src/port  -Wl,-rpath,'/usr/local/pgsql/lib' -lpgport -lz
> -lnsl -lrt -lsocket -ldl -lm  -o zic
> ld: fatal: option -dn and -P are incompatible
> ld: fatal: Flags processing errors
> make[2]: *** [zic] Error 1
> make[2]: Leaving directory
> `/export/fmolina/pgsql/postgresql-8.4.4/src/timezone'
>
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/export/fmolina/pgsql/postgresql-8.4.4/src'
> make: *** [all] Error 2
>
> How can solve this problem?
>
>
Well, this problem was solved changed my  PATH enviroment variable .... its
original value:


PATH="/export/fmolina/perl/bin:/opt/SunStudio/bin:/usr/bin:/usr/sbin:/usr/local/bin:."

was change for:

    PATH="$PATH:/usr/ucb:"


and no more problem ....:)




regards....

Reply via email to