Hi, Dave -

Comments below.

Dave Page wrote:



-----Original Message-----
From: steve fox [mailto:[EMAIL PROTECTED] Sent: 17 January 2004 06:55
To: [EMAIL PROTECTED]
Subject: [pgadmin-support] gentoo, anyone?


Hi,


Hi,


I've been trying to get pgadmin3 running on gentoo linux, and get the following errors:

checking pgsql in /usr... failed
configure: error: you must specify a valid pgsql installation with --with-pgsql=DIR


!!! ERROR: dev-db/pgadmin3-1.0.2 failed.
!!! Function econf, Line 365, Exitcode 1 !!! econf failed


Did you try:

./configure --with-pgsql=/usr/local

No. See, the deal with gentoo is you don't run the typical .configure and make commands to build your packages. Rather you use 'emerge,' which is a command to build packages in gentoo linux.


Postgresql is installed, pgsql lives in /usr/local. I've symlinked it to /usr/pgsql thinking that would fix it, but it doesn't. Is there a way to pass the --with-pgsql option to emerge?


What's emerge?

something like BSD ports and debian packages. You sync up with the mothership tree to stay current. Normally one would handle .configre [options] with a setting in a variable called $USE, but I'm not able to find it in this case.


And I didn't know it was required to have postgresql installed on the same box -- my postgres servers are all remote.


You need it for the libpq client library. The server itself doesn't need
to be running, or even initdb'ed. If you make a static build of pgAdmin,
then you can even get rid of it after your build is complete.

Regards, Dave.

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster





---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend

Reply via email to