Skip site navigation (1) Skip section navigation (2)

Re: Building pgagent on Linux

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Building pgagent on Linux
Date: 2011-12-06 12:01:08
Message-ID: CA+OCxow5fjtHcfUgZUATAfJKraj3EhVyid5zx6MtrBbbrtXX6Q@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
2011/12/6 Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>:
> On Tue, 2011-12-06 at 17:13 +0530, Dave Page wrote:
>> > It did not work, either. Any other comments?
>> >
>> > The 3.0.0-Linux prebuilt binary is linked to libssl.so.0, which is
>> not
>> > available on my distros, so I cannot use it -- and building from
>> source
>> > is a better way for RPMs.
>>
>> What was the output this time?
>
> Phew, I thought it threw out the same error, probably checked wrong
> lines. New message is:
>
>  No PostgreSQL installation could be found.
>
> This is not surprising, since pg_config is not under $PATH
>
> How can I export PostgreSQL_CONFIG_EXECUTABLE? I read README, but it
> talks about pressing c somewhere, which should not be possible while
> building RPMs :P

:-)

cmake -D PG_CONFIG_PATH:FILEPATH=/usr/bin/pg_config -D STATIC_BUILD:BOOL=OFF .

If you configure interactively using ccmake, you can check the values
that were chosen in the CMakeCache.txt file when you've finished.

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

pgadmin-hackers by date

Next:From: Devrim GÜNDÜZDate: 2011-12-06 14:44:26
Subject: Re: Building pgagent on Linux
Previous:From: Devrim GÜNDÜZDate: 2011-12-06 11:49:21
Subject: Re: Building pgagent on Linux

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group