Steve Singer ssinger at ca.afilias.info
Tue May 28 07:58:56 PDT 2013
On 05/28/2013 10:44 AM, Steve Singer wrote:
> On 05/28/2013 02:10 AM, Sandeep Thakkar wrote:
>> Yes, we do use that switch and it works all fine with PG9.2. But, not
>> with PG9.3.
>>
>> ./configure --with-pgconfigdir=$PG_PGHOME/bin --with-pgport=yes
>>
>> I also confirmed that $PG_PGHOME contains the installation.
>
> I can reproduce this when I build with --with-pgport=yes
>
> The error in config.log is
>
> configure:5709: gcc -o conftest -g -O2 -I/usr/local/pgsql93git/include/
> -I/usr/local/pgsql93git/include/server/ -L/usr/local/pgsql93git/lib/
> conftest.c -lpgport >&5
> /usr/local/pgsql93git/lib//libpgport.a(wait_error.o): In function
> `wait_result_to_str':
> wait_error.c:(.text+0xa1): undefined reference to `pstrdup'
>
> 9.3 introduces a new library libpgcommon if we link in with both pgport
> and libpgcommon this error seems to go away.

The attached patch will link in libpgcommon , when using pgport if 
pgcommon exists.



>
>
>
>>
>> On Mon, May 27, 2013 at 8:15 PM, Steve Singer<ssinger at ca.afilias.info>
>> wrote:
>>> On 05/27/2013 02:02 AM, Sandeep Thakkar wrote:
>>>>
>>>> Hi,
>>>>
>>>> I see the following error when configuring the Slony 2.1.3 against
>>>> PG9.3:
>>>>
>>>> ....
>>>> checking for pgport... configure: error: "pgport was not found. build
>>>> without --with-pgport=yes to disable"
>>>> ....
>>>>
>>>> I have not gone in detail to see what is the issue and how to fix it
>>>> yet.
>>>>
>>>
>>> How are you running configure?
>>>
>>> ./configure --with-pgconfigdir=/usr/local/my_pg_install_bin_dir
>>>
>>> or some other way?
>>>
>>> where is pg_config on your system
>>>
>>>
>>>
>>>
>>>> --
>>>> Sandeep
>>>> _______________________________________________
>>>> Slony1-bugs mailing list
>>>> Slony1-bugs at lists.slony.info
>>>> http://lists.slony.info/mailman/listinfo/slony1-bugs
>>>
>>>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-link-with-pgcommon-in-addition-to-pgport-on-PG-9.3.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://lists.slony.info/pipermail/slony1-bugs/attachments/20130528/ae9b9e5d/attachment.bin 


More information about the Slony1-bugs mailing list