Re: [GENERAL] Can't compile 6.4.2 on Solaris 2.6

From: Patrick Verdon <patrick(at)kan(dot)co(dot)uk>
To: "Daryl W(dot) Dunbar" <daryl(at)www(dot)com>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Can't compile 6.4.2 on Solaris 2.6
Date: 1999-02-14 00:33:18
Message-ID: 36C619CE.ACCDA5ED@kan.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hi Daryl,

Thanks muchly for your help.

> Make sure '.' is in your path. Also, make sure you are running sh.
> You can simply sh ./configure.

This was indeed the cause of the problem. It seems a
bit ridiculous that you need to have '.' in your PATH
to install PostgreSQL. These problems have obviously
been introduced at 6.4.2 because I can compile previous
versions without taking these steps.

> On Solaris7 with gcc, I ran:
> ./configure --without-CXX

Thanks also for this pointer - this is something else
that seems to have been introduced at 6.4.2 because
I've never had to add --without-CXX before and
without it the compile fails like so:

gmake -C libpq++ all
gmake[2]: Entering directory `/usr/local/src/postgresql-6.4.2/src/interfaces/libpq++'
gcc -I../../backend -I../../include -I../../interfaces/libpq -I../../include -I../../backend -Wall -Wmissing-prototypes -fPIC -c pgenv.cc -o pgenv.o
In file included from pgenv.cc:23:
pgenv.h:21: string: No such file or directory
gmake[2]: *** [pgenv.o] Error 1
gmake[2]: Leaving directory `/usr/local/src/postgresql-6.4.2/src/interfaces/libpq++'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/local/src/postgresql-6.4.2/src/interfaces'
gmake: *** [all] Error 2

Does anyone know why all these complications have
been introduced for Solaris compilation? Why change
procedures that have worked for ages??

Anyway - thanks again - postmaster is up and
running now.

Patrick

--

#===============================#
\ KAN Design & Publishing Ltd /
/ T: +44 (0)1223 511134 \
\ F: +44 (0)1223 571968 /
/ E: mailto:patrick(at)kan(dot)co(dot)uk \
\ W: http://www.kan.co.uk /
#===============================#

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bob Dusek 1999-02-14 01:33:07 connection problems
Previous Message Daryl W. Dunbar 1999-02-13 23:46:08 RE: [GENERAL] Can't compile 6.4.2 on Solaris 2.6