Received: from relay1.krasnet.ru (relay1.krasnet.ru [195.112.224.91]) by hub.org (8.9.3/8.9.3) with ESMTP id HAA20716; Sun, 24 Oct 1999 07:26:19 -0400 (EDT) (envelope-from master@math.kgu.krasnoyarsk.su) Received: from post.krasnet.ru (post.krasnet.ru [195.112.224.81]) by relay1.krasnet.ru (8.8.8/8.8.8) with ESMTP id TAA03581; Sun, 24 Oct 1999 19:18:02 +0800 (KRAST) Received: (from uucp@localhost) by post.krasnet.ru (8.8.8/8.8.8) with UUCP id TAA17744; Sun, 24 Oct 1999 19:17:04 +0800 (KRAST) Received: from math.kgu.krasnoyarsk.su (sunmath.kgu.krasnoyarsk.su [192.168.8.2]) by math.kgu.krasnoyarsk.su (8.9.1/8.9.1) with ESMTP id TAA11607; Sun, 24 Oct 1999 19:02:47 -0700 (GMT) Sender: root@math.kgu.krasnoyarsk.su Message-ID: <3813BA46.C663DC07@math.kgu.krasnoyarsk.su> Date: Sun, 24 Oct 1999 19:02:46 -0700 From: System Administrator Reply-To: oleg@pine.krs.ru Organization: Krasnoyarsk State University, Dep. of Math. X-Mailer: Mozilla 4.07 [en] (X11; I; SunOS 5.5.1 sun4m) MIME-Version: 1.0 To: vadim@krs.ru, maillist@candle.pha.pa.us, pgsql-interfaces@postgresql.org, pgsql-general@postgresql.org Subject: Errors in Postgres Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi ! I found some errors in pgsql. 1. ---- # ./configure --with-template=solaris_sparc_gcc --enable-hba --with-perl loading cache ./config.cache checking host system type... sparc-sun-solaris2.5.1 checking echo setting... checking setting template to... solaris_sparc_gcc checking setting USE_LOCALE... disabled checking setting CYR_RECODE... disabled checking setting MULTIBYTE... disabled checking setting DEF_PGPORT... 5432 checking setting DEF_MAXBACKENDS... 32 checking setting USE_TCL... disabled checking setting USE_PERL... enabled checking setting USE_ODBC... disabled checking setting ASSERT CHECKING... disabled checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking whether gcc needs -traditional... (cached) no - setting CPPFLAGS= - setting LDFLAGS= checking for c++... c++ checking whether the C++ compiler (c++ ) works... no configure: error: installation or configuration problem: C++ compiler cannot create executables. # ---- 2. If I try it with additional option "--with-CXX=/usr/local/bin/gcc" and then type "gmake all" - in some time I get following : ---- gmake -C libpq++ all gmake[2]: Entering directory `/var/adm/files/postgresql-6.5.2/src/interfaces/libpq++' /usr/local/bin/gcc -I../../backend -I../../include -I../../interfaces/libpq -I../../include -I../../backend -Wall -Wmissing-prototypes -fPIC -c pgconnection.cc -o pgconnection.o In file included from pgconnection.cc:20: pgconnection.h:24: string: No such file or directory gmake[2]: *** [pgconnection.o] Error 1 gmake[2]: Leaving directory `/var/adm/files/postgresql-6.5.2/src/interfaces/libpq++' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/var/adm/files/postgresql-6.5.2/src/interfaces' gmake: *** [all] Error 2 # ---- In this pgconnection.h line 24 I found : #include Maybe there must be #include ?? What is wrong ? Postgres 6.5.2 was being compiled on SUN SPARCstation 5, under Solaris 2.5.1. All necessary utilities have been installed: gcc 2.8.1, gmake 3.76.1, flex 2.5.4a. Also perl5 4.004 was installed. Look forward to hearing from you soon. Oleg