2011/12/6 Devrim GÜNDÜZ <devrim@gunduz.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