Tue Apr 14 07:45:48 PDT 2009
- Previous message: [Slony1-general] add table to existing set/namespace
- Next message: [Slony1-general] compiling slony 2.0.1 on Solaris10U6
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, I'm trying to compile slony2.0.1 on Solaris 10U6, SUNW-postgres83 and Sun Studio 12 compiler (I assume postgresql was also compiled with that and thus I need to use it to compile slony). I use: configure --with-pgconfigdir=/usr/postgres/8.3/bin --with-pgpkglibdir=/usr/postgres/8.3/lib where PATH=/usr/bin:/usr/ucb:/etc:/opt/SUNWspro/bin/:/usr/postgres/8.3/bin:/usr/sfw/bin:. PGMAIN=/usr/postgres/8.3 CC=cc I get: ... cc -g -D_REENTRANT -I../.. -I../../src/slon -o slon slon.o runtime_config.o local_listen.o remote_listen.o remote_worker.o sync_thread.o cleanup_thread.o scheduler.o dbutils.o conf-file.o confoptions.o misc.o ../parsestatements/scanner.o -D_REENTRANT -L/usr/postgres/8.3/lib/ -L/usr/postgres/8.3/lib -lpq -R/usr/postgres/8.3/lib/ -lpthread gmake[2]: Leaving directory `/export/home/rduffner/slony1-2.0.1/src/slon' gmake[2]: Entering directory `/export/home/rduffner/slony1-2.0.1/src/slonik' cc -g -I../.. -DPGSHARE="\"/usr/postgres/8.3/share/\"" -I/usr/postgres/8.3/include/ -I/usr/postgres/8.3/include/server/ -c -o slonik.o slonik.c "/usr/postgres/8.3/include/server/pg_config.h", line 712: warning: macro redefined: _FILE_OFFSET_BITS cc -g -I../.. -DPGSHARE="\"/usr/postgres/8.3/share/\"" -I/usr/postgres/8.3/include/ -I/usr/postgres/8.3/include/server/ -c -o dbutil.o dbutil.c "/usr/postgres/8.3/include/server/pg_config.h", line 712: warning: macro redefined: _FILE_OFFSET_BITS cc -g -I../.. -DPGSHARE="\"/usr/postgres/8.3/share/\"" -I/usr/postgres/8.3/include/ -I/usr/postgres/8.3/include/server/ -c -o parser.o parser.c "src/slonik/parser.y", line 16: cannot find include file: "slonik.h" "src/slonik/parser.y", line 107: syntax error before or at: SlonikAdmInfo "y.tab.c", line 402: syntax error before or at: typedef "y.tab.c", line 410: syntax error before or at: typedef "y.tab.c", line 416: syntax error before or at: typedef "y.tab.c", line 549: syntax error before or at: yytype_int16 "y.tab.c", line 620: warning: no explicit type given "y.tab.c", line 620: warning: syntax requires ";" after last struct/union member ... When I set: CPPFLAGS=-I../../src/slonik && export CPPFLAGS ... gmake[2]: Leaving directory `/export/home/rduffner/slony1-2.0.1/src/slon' gmake[2]: Entering directory `/export/home/rduffner/slony1-2.0.1/src/slonik' cc -g -I../.. -DPGSHARE="\"/usr/postgres/8.3/share/\"" -I/usr/postgres/8.3/include/ -I/usr/postgres/8.3/include/server/ -I/usr/postgres/8.3/include/ -I/usr/postgres/8.3/include/server/ -I/usr/postgres/8.3/include/ -I/usr/postgres/8.3/include/server/ -I../../src/slonik -c -o slonik.o slonik.c "/usr/postgres/8.3/include/server/pg_config.h", line 712: warning: macro redefined: _FILE_OFFSET_BITS cc -g -I../.. -DPGSHARE="\"/usr/postgres/8.3/share/\"" -I/usr/postgres/8.3/include/ -I/usr/postgres/8.3/include/server/ -I/usr/postgres/8.3/include/ -I/usr/postgres/8.3/include/server/ -I/usr/postgres/8.3/include/ -I/usr/postgres/8.3/include/server/ -I../../src/slonik -c -o dbutil.o dbutil.c "/usr/postgres/8.3/include/server/pg_config.h", line 712: warning: macro redefined: _FILE_OFFSET_BITS cc -g -I../.. -DPGSHARE="\"/usr/postgres/8.3/share/\"" -I/usr/postgres/8.3/include/ -I/usr/postgres/8.3/include/server/ -I/usr/postgres/8.3/include/ -I/usr/postgres/8.3/include/server/ -I/usr/postgres/8.3/include/ -I/usr/postgres/8.3/include/server/ -I../../src/slonik -c -o parser.o parser.c cc -g -I../.. -DPGSHARE="\"/usr/postgres/8.3/share/\"" slonik.o dbutil.o parser.o ../parsestatements/scanner.o -L/usr/postgres/8.3/lib/ -L/usr/postgres/8.3/lib -lpq -R/usr/postgres/8.3/lib/ -lpgport -o slonik ld: fatal: library -lpgport: not found Now, I don't know which package actually provides this "pgport"-library. On FreeBSD, it seems to be part of the server-page, but I can't seem to find it on Solaris... Anybody got an idea? Best Regards, Rainer
- Previous message: [Slony1-general] add table to existing set/namespace
- Next message: [Slony1-general] compiling slony 2.0.1 on Solaris10U6
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list