Sandeep Thakkar sandeep.thakkar at enterprisedb.com
Fri May 31 02:36:49 PDT 2013
Thanks.

We also need changes in the Makefiles for Unix and Windows. I have
attached the patch that works fine for me on both platforms.

On Tue, May 28, 2013 at 8:28 PM, Steve Singer <ssinger at ca.afilias.info> wrote:
> 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
>>>>
>>>>
>>>>
>>
>



-- 
Sandeep Thakkar
Senior Software Engineer
EnterpriseDB Corporation
The Postgres Database Company
Phone: +91.20.30589505

Website: www.enterprisedb.com
EnterpriseDB Blog: http://blogs.enterprisedb.com/
Follow us on Twitter: http://www.twitter.com/enterprisedb

This e-mail message (and any attachment) is intended for the use of
the individual or entity to whom it is addressed. This message
contains information from EnterpriseDB Corporation that may be
privileged, confidential, or exempt from disclosure under applicable
law. If you are not the intended recipient or authorized to receive
this for the intended recipient, any use, dissemination, distribution,
retention, archiving, or copying of this communication is strictly
prohibited. If you have received this e-mail in error, please notify
the sender immediately by reply e-mail and delete this message.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slony_pgcommon_PG9.3.patch
Type: application/octet-stream
Size: 952 bytes
Desc: not available
Url : http://lists.slony.info/pipermail/slony1-bugs/attachments/20130531/a2d0ac55/attachment.obj 


More information about the Slony1-bugs mailing list