[postgresql] problems compiling 6.4.2 on Solaris 2.6 :-(
[postgresql] problems compiling 6.4.2 on Solaris 2.6 :-(
От:
Nico De Ranter <nico@sonycom.com>
Дата:
Howdy, I'm trying to install PostgreSQL 6.4.2 on a SUN Ultra-10 running Solaris 2.6. Unfortunately I get the following errors: make[2]: Entering directory `/usr/people/nico.nba/postgresql-6.4.2/src/interfaces/libpq++' CC -I../../backend -I../../include -I../../interfaces/libpq -I../../include -I../../backend -g -c pgenv.cc -o pgenv.o "pgenv.h", line 21: Error: Could not open include file . "pgenv.h", line 48: Error: Type name expected instead of "string". "pgenv.h", line 48: Error: No storage class or type for this declaration. "pgenv.h", line 48: Error: "," expected instead of "pgAuth". "pgenv.h", line 49: Error: Use ";" to terminate declarations. "pgenv.h", line 49: Error: Type name expected instead of "string". "pgenv.h", line 49: Error: No storage class or type for this declaration. "pgenv.h", line 49: Error: Multiple declaration for string. "pgenv.h", line 49: Error: "," expected instead of "pgHost". "pgenv.h", line 50: Error: Use ";" to terminate declarations. "pgenv.h", line 50: Error: Type name expected instead of "string". "pgenv.h", line 50: Error: No storage class or type for this declaration. "pgenv.h", line 50: Error: Multiple declaration for string. "pgenv.h", line 50: Error: "," expected instead of "pgPort". "pgenv.h", line 51: Error: Use ";" to terminate declarations. "pgenv.h", line 51: Error: Type name expected instead of "string". "pgenv.h", line 51: Error: No storage class or type for this declaration. "pgenv.h", line 51: Error: Multiple declaration for string. "pgenv.h", line 51: Error: "," expected instead of "pgOption". "pgenv.h", line 52: Error: Use ";" to terminate declarations. "pgenv.h", line 52: Error: Type name expected instead of "string". "pgenv.h", line 52: Error: No storage class or type for this declaration. "pgenv.h", line 52: Error: Multiple declaration for string. "pgenv.h", line 52: Error: "," expected instead of "pgTty". "pgenv.h", line 54: Error: Use ";" to terminate declarations. Compilation aborted, too many Error messages. Apparently the offending line in postgresql-6.4.2/src/interfaces/libpq++/pgenv.h is #include which looks strange to me anyway. Any ideas how to solve this? Or is there a binary version of 6.4.2 available for Solaris 2.6? Thanks in advance, Nico -- ----------------------------------------------- system failure ... hit any user to continue ... ----------------------------------------------- Nico De Ranter Sony Service Center (PSDC-B/DNSE-B) Sint Stevens Woluwestraat 55 (Rue de Woluwe-Saint-Etienne) 1130 Brussel (Bruxelles), Belgium, Europe, Earth Telephone: +32 2 724 86 41 Telefax: +32 2 726 26 86 e-mail: nico.deranter@sonycom.com
Re: [ADMIN] [postgresql] problems compiling 6.4.2 on Solaris 2.6 :-(
От:
Jan Kim <kim@mpiz-koeln.mpg.de>
Дата:
On Wed, Jan 27, 1999 at 02:48:37PM +0100, Nico De Ranter wrote: > I'm trying to install PostgreSQL 6.4.2 on a SUN Ultra-10 > running Solaris 2.6. > > Unfortunately I get the following errors: > > make[2]: Entering directory `/usr/people/nico.nba/postgresql-6.4.2/src/interfaces/libpq++' > CC -I../../backend -I../../include -I../../interfaces/libpq -I../../include -I../../backend -g -c pgenv.cc -o pgenv.o > "pgenv.h", line 21: Error: Could not open include file . > "pgenv.h", line 48: Error: Type name expected instead of "string". [...] > Apparently the offending line in postgresql-6.4.2/src/interfaces/libpq++/pgenv.h > is > > #include > > which looks strange to me anyway. Looks strange, but that's how the C++ of the future is supposed to look like... ;-) Looks like this future hasn't begun for your machine yet. ;-) Well, more seriously: If you don't need libpq++ for any homegrown or third party PostgreSQL applications, I think the easiest solution for you is to simply suppress the creation of libpq++ by ./configure-ing with --without-CXX. If you don't have the stylish new C++ header files installed on your machine, it seems to me that nobody will miss libpq++ anyway. Greetinx, Jan -- +- Jan T. Kim -------------------------------------------------------+ | email: kim@mpiz-koeln.mpg.de | | WWW: http://www.mpiz-koeln.mpg.de/~kim/ | *-----=< hierarchical systems are for files, not for humans >=-----*