Обсуждение: Problem configuring pgadmin3

Поиск
Список
Период
Сортировка

Problem configuring pgadmin3

От
Pauly
Дата:
Hello,

I have a strange problem during the ./configure of pgadmin3. After
running for some time, the configure script stops with the following
remark:

configure: error: you must specify a valid pgsql installation with
--with-pgsql=DIR

This seems like a straight-forward problem, where you just add the
--with-pgsql option to the configure script. However, it keeps giving
this same error (after adding this option, of course ;)).

I have been looking through the mailing list of the pgadmin support, but
sofar I have only found out that I am not the only one with this
problem.

More information about my system:
Slackware 9.1
Postgresql 7.4.3 (default installation)
wxWindows installed, as described on www.pgadmin.org
config.log added with this message

Has anybody fixed this problem? I would like to use this wonderful tool
again!

Pauly


Вложения

Re: Problem configuring pgadmin3

От
"Dave Page"
Дата:

> -----Original Message-----
> From: pgadmin-support-owner@postgresql.org
> [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of Pauly
> Sent: 26 July 2004 18:03
> To: pgadmin-support@postgresql.org
> Subject: [pgadmin-support] Problem configuring pgadmin3
>
> Hello,
>
> I have a strange problem during the ./configure of pgadmin3.
> After running for some time, the configure script stops with
> the following
> remark:
>
> configure: error: you must specify a valid pgsql installation
> with --with-pgsql=DIR
>
> This seems like a straight-forward problem, where you just
> add the --with-pgsql option to the configure script. However,
> it keeps giving this same error (after adding this option, of
> course ;)).
>
> I have been looking through the mailing list of the pgadmin
> support, but sofar I have only found out that I am not the
> only one with this problem.
>
> More information about my system:
> Slackware 9.1
> Postgresql 7.4.3 (default installation)
> wxWindows installed, as described on www.pgadmin.org
> config.log added with this message
>
> Has anybody fixed this problem? I would like to use this
> wonderful tool again!

Hi Pauly,

The primary automated test build system is Slackware 9.1 so you should
have no problems. I'm by no means a configure expert, but do you have
openssl installed on your system? It looks to me like it may be required
to configure (though it shouldn't be to build).

Regards, Dave


Re: Problem configuring pgadmin3

От
"Dave Page"
Дата:

> -----Original Message-----
> From: Pauly [mailto:adsl490440@tiscali.nl]
> Sent: 27 July 2004 09:27
> To: Dave Page
> Cc: pgadmin-support@postgresql.org
> Subject: RE: [pgadmin-support] Problem configuring pgadmin3
>
> Hello Dave,
>
> After that Samba configured and compiled just fine. And guess
> what, after executing this remark the configure script of
> pgadmin3 also runs.
> Thanks!!

Excellent.

Adam; is there any reason why ssl is needed to detect libpq, even if we
are configuring without ssl support?

> Kind regards,
>
> Pauly
>
> (Now it is my job to find out what I messed up on my system
> that I have to add these export statements ;))

OpenSSL is normally in /usr not /usr/local (at least, it is on
Slackware).

Regards, Dave.


Re: Problem configuring pgadmin3

От
Pauly
Дата:
Hello Dave,

Yes, that is a good question, I have installed OpenSSL 0.9.7d on my
system. This software resides in /usr/local/ssl and also has the shared
libraries (in /usr/local/ssl/lib) and the development files
(in/usr/local/ssl/include/openssl).

Now you mention this SSL, I am looking for SSL in my config.log file and
see that it breaks on the SSL. This reminds me of a similar problem I
had with Samba. There it could not find the SSL files while compiling.
In a newsgroup I read to add:

export LDFLAGS="-L/usr/local/ssl/lib"

After that Samba configured and compiled just fine. And guess what,
after executing this remark the configure script of pgadmin3 also runs.
Thanks!!

Kind regards,

Pauly

(Now it is my job to find out what I messed up on my system that I have
to add these export statements ;))

> Hi Pauly,
> 
> The primary automated test build system is Slackware 9.1 so you should
> have no problems. I'm by no means a configure expert, but do you have
> openssl installed on your system? It looks to me like it may be required
> to configure (though it shouldn't be to build).
> 
> Regards, Dave



Re: Problem configuring pgadmin3

От
"Dave Page"
Дата:

> -----Original Message-----
> From: Adam H. Pendleton [mailto:fmonkey@fmonkey.net]
> Sent: 27 July 2004 15:43
> To: Dave Page
> Cc: Pauly; pgadmin-support@postgresql.org
> Subject: Re: [pgadmin-support] Problem configuring pgadmin3
>
>
> >
> > Adam; is there any reason why ssl is needed to detect
> libpq, even if
> > we are configuring without ssl support?
>
> No, no reason, really, except that without the flag the
> configure script failed on some of our developers machines.
> What I would recommend is adding a --with-ssl option to our
> configure script.  How does that sound?

I thought we already had one, but of course, we simply rely on libpq to
have it or not.

Can we keep it automated, but first check for the existance of libpq
regardless of ssl, and then check to see whether it has ssl support or
not and define SSL appropriately?

Regards, Dave.


Re: Problem configuring pgadmin3

От
Adam H.Pendleton
Дата:
On Jul 27, 2004, at 5:03 AM, Dave Page wrote:

>
>
>> -----Original Message-----
>> From: Pauly [mailto:adsl490440@tiscali.nl]
>> Sent: 27 July 2004 09:27
>> To: Dave Page
>> Cc: pgadmin-support@postgresql.org
>> Subject: RE: [pgadmin-support] Problem configuring pgadmin3
>>
>> Hello Dave,
>>
>> After that Samba configured and compiled just fine. And guess
>> what, after executing this remark the configure script of
>> pgadmin3 also runs.
>> Thanks!!
>
> Excellent.
>
> Adam; is there any reason why ssl is needed to detect libpq, even if we
> are configuring without ssl support?

No, no reason, really, except that without the flag the configure 
script failed on some of our developers machines.  What I would 
recommend is adding a --with-ssl option to our configure script.  How 
does that sound?

ahp