Solaris 2.6 + PregreSQL 6.5

From: Reiner Schulz <rschulz(at)cs(dot)umd(dot)edu>
To: pgsql-ports(at)postgresql(dot)org
Subject: Solaris 2.6 + PregreSQL 6.5
Date: 1999-09-22 23:56:00
Message-ID: 37E96C8F.7A05D20D@cs.umd.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports


Today I tried hard to compile PresgreSQL, but I failed three times
in a
row, always at the same point it seems. I would appreciate your
help!

Reiner

OS: Solaris 2.6
Machine: UltraSparc 1
PregreSQL: version 6.5

Here are the last lines of output from gmake (using the
solaris_sparc_cc
template):

>>>>>>>>>>>>>>>>>>
gmake -C interfaces all
gmake[1]: Entering directory
`/a/titan126/junkfood/k/rschulz/usr/src/postgresql-6.5.2/src/interfaces'
gmake -C libpq all
gmake[2]: Entering directory
`/a/titan126/junkfood/k/rschulz/usr/src/postgresql-6.5.2/src/interfaces/libpq'
gcc -I../../include -I../../backend -Xa -v -D__sparc__
-D__sun__
-DDISABLE_COMPLEX_MACRO -DFRONTEND -K PIC -c fe-auth.c
gcc: PIC: No such file or directory
Reading specs from
/usr/imports/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/specs
gcc: unrecognized option `-Xa'
gcc: unrecognized option `-K'
gcc version 2.8.1
/usr/imports/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/cpp -lang-c
-v
-I../../include -I../../backend -undef -D__GNUC__=2
-D__GNUC_MINOR__=8
-Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4 -D__sparc__ -D__sun__
-D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix
-Asystem(unix)
-Asystem(svr4) -D__GCC_NEW_VARARGS__ -Acpu(sparc) -Amachine(sparc)
-D__sparc__ -D__sun__ -DDISABLE_COMPLEX_MACRO -DFRONTEND fe-auth.c
/var/tmp/cc0KZ2vh.i
GNU CPP version 2.8.1 (sparc)
#include "..." search starts here:
#include <...> search starts here:
../../include
../../backend
/usr/local/include
/usr/imports/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/include
/usr/include
End of search list.
/usr/imports/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/cc1
/var/tmp/cc0KZ2vh.i -quiet -dumpbase fe-auth.c -version -o
/var/tmp/cc0KZ2vh.s
GNU C version 2.8.1 (sparc-sun-solaris2.6) compiled by GNU C
version
2.8.1.
/usr/ccs/bin/as -V -Qy -s -o fe-auth.o /var/tmp/cc0KZ2vh.s
/usr/ccs/bin/as: WorkShop Compilers 4.X dev 18 Sep 1996
gmake[2]: *** [fe-auth.o] Error 1
gmake[2]: Leaving directory
`/a/titan126/junkfood/k/rschulz/usr/src/postgresql-6.5.2/src/interfaces/libpq'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/a/titan126/junkfood/k/rschulz/usr/src/postgresql-6.5.2/src/interfaces'
gmake: *** [all] Error 2
<<<<<<<<<<<<<<<<<<

With the solaris_sparc_gcc template (regardless wether using gcc
2.8.1
or 2.9.51) it looks a little different, but still the point of
exit
seems to be the same:

>>>>>>>>>>>>>>
gmake -C interfaces all
gmake[1]: Entering directory
`/a/titan126/junkfood/k/rschulz/usr/src/postgresql-6.5.2/src/int
erfaces'
gmake -C libpq all
gmake[2]: Entering directory
`/a/titan126/junkfood/k/rschulz/usr/src/postgresql-6.5.2/src/int
erfaces/libpq'
gcc295 -I../../include -I../../backend -Wall
-Wmissing-prototypes
-DFRONTEND -fPIC -c fe
-auth.c
gcc295 -I../../include -I../../backend -Wall
-Wmissing-prototypes
-DFRONTEND -fPIC -c fe
-connect.c
fe-connect.c: In function `PQsetdbLogin':
fe-connect.c:375: warning: subscript has type `char'
fe-connect.c: In function `connectDB':
fe-connect.c:624: warning: passing arg 4 of `setsockopt' from
incompatible pointer type
fe-connect.c: In function `conninfo_parse':
fe-connect.c:1153: warning: subscript has type `char'
fe-connect.c:1165: warning: subscript has type `char'
fe-connect.c:1170: warning: subscript has type `char'
fe-connect.c:1193: warning: subscript has type `char'
fe-connect.c:1205: warning: subscript has type `char'
gcc295 -I../../include -I../../backend -Wall
-Wmissing-prototypes
-DFRONTEND -fPIC -c fe
-exec.c
fe-exec.c: In function `PQfnumber':
fe-exec.c:1723: warning: subscript has type `char'
gcc295 -I../../include -I../../backend -Wall
-Wmissing-prototypes
-DFRONTEND -fPIC -c fe
-misc.c
gcc295 -I../../include -I../../backend -Wall
-Wmissing-prototypes
-DFRONTEND -fPIC -c fe
-print.c
gcc295 -I../../include -I../../backend -Wall
-Wmissing-prototypes
-DFRONTEND -fPIC -c fe
-lobj.c
ln -s ../../backend/lib/dllist.c .
gcc295 -I../../include -I../../backend -Wall
-Wmissing-prototypes
-DFRONTEND -fPIC -c dl
list.c
gcc295 -I../../include -I../../backend -Wall
-Wmissing-prototypes
-DFRONTEND -fPIC -c pq
signal.c
ar crs libpq.a fe-auth.o fe-connect.o fe-exec.o fe-misc.o
fe-print.o
fe-lobj.o dllist.o pqsig
nal.o
ranlib libpq.a
ld -G -o libpq.so.2.0 fe-auth.o fe-connect.o fe-exec.o fe-misc.o
fe-print.o fe-lobj.o dllist.
o pqsignal.o -lcrypt -ldl -lsocket -lresolv -lnsl -lm -lc
gmake[2]: *** [libpq.so.2.0] Abort
gmake[2]: *** Deleting file `libpq.so.2.0'
gmake[2]: Leaving directory
`/a/titan126/junkfood/k/rschulz/usr/src/postgresql-6.5.2/src/inte
rfaces/libpq'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/a/titan126/junkfood/k/rschulz/usr/src/postgresql-6.5.2/src/inte
rfaces'
gmake: *** [all] Error 2
<<<<<<<<<<<<<<<<<<<

--
(*)->[]->()->[]->(**)->[]->()->[]->(*)->[]->()->[]->()->[]->()->[]->()->[]
3 2
(Humboldt University Berlin, Germany)->[]->(University of Maryland, USA)

Browse pgsql-ports by date

  From Date Subject
Next Message Adam Haberlach 1999-09-23 05:47:17
Previous Message Frank L Shannon 1999-09-22 22:52:31 Problem with createdb