Re: [pgadmin-support] Error during make from git on Opensuse 12.2

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Sachin Srivastava <sachin(dot)srivastava(at)enterprisedb(dot)com>
Cc: Colin Beckingham <colbec(at)start(dot)ca>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>, pgadmin-support(at)postgresql(dot)org
Subject: Re: [pgadmin-support] Error during make from git on Opensuse 12.2
Date: 2012-09-06 09:03:17
Message-ID: CA+OCxoyUv24E+T1HitqKvsDzUuhDae0TNTbecNfxtrj7oa=KWA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgadmin-support

Thanks, patch applied.

On Thu, Sep 6, 2012 at 9:47 AM, Sachin Srivastava
<sachin(dot)srivastava(at)enterprisedb(dot)com> wrote:
>
> Thanks a lot for the report. The error comes with wxWidgets 2.9 and due to
> an extra '+' operator which got added in a recent commit.
>
> Here is the attached patch which corrects the issue.
>
>
> On Thu, Sep 6, 2012 at 1:36 PM, Colin Beckingham <colbec(at)start(dot)ca> wrote:
>>
>> Yesterday I upgraded from Opensuse 12.1 to 12.2 (new release).
>> Two days ago I compiled pgadmin from git no problem.
>> This morning I have a problem with make:
>>
>> ...
>> mv -f $depbase.Tpo $depbase.Po
>> schema/edbPackage.cpp: In member function ‘virtual pgObject*
>> edbPackageFactory::CreateObjects(pgCollection*, ctlTree*, const wxString&)’:
>> schema/edbPackage.cpp:248:11: error: ambiguous overload for ‘operator+’ in
>> ‘+restriction’
>> schema/edbPackage.cpp:248:11: note: candidates are:
>> schema/edbPackage.cpp:248:11: note: operator+(const char*) <built-in>
>> schema/edbPackage.cpp:248:11: note: operator+(const wchar_t*) <built-in>
>> schema/edbPackage.cpp:248:11: note: operator+(const void*) <built-in>
>> make[3]: *** [schema/edbPackage.o] Error 1
>> make[3]: Leaving directory `/home/colin/pgadmin3/pgadmin'
>> make[2]: *** [all] Error 2
>> make[2]: Leaving directory `/home/colin/pgadmin3/pgadmin'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/colin/pgadmin3'
>> make: *** [all] Error 2
>>
>> Configure is :
>> $ ./configure --with-wx-version=2.9 --enable-databasedesigner
>>
>> Output from configure ends with:
>> PostgreSQL directory: /usr
>> PostgreSQL pg_config binary: /usr/bin/pg_config
>> PostgreSQL version: PostgreSQL 9.1.1
>>
>> PostgreSQL PQconninfoParse support: Present
>> PostgreSQL SSL support: Present
>>
>> wxWidgets directory: /usr/local
>> wxWidgets wx-config binary: /usr/local/bin/wx-config
>> wxWidgets version: wxWidgets 2.9.4
>>
>> libxml2 directory: /usr
>> libxml2 xml2-config binary: /usr/bin/xml2-config
>> libxml2 version: libxml2 2.7.8
>>
>> libxslt directory: /usr
>> libxslt xslt-config binary: /usr/bin/xslt-config
>> libxslt version: libxslt 1.1.26
>>
>> Building Database Designer: Yes
>>
>> Building a debug version of pgAdmin: No
>> Statically linking pgAdmin: No
>> Building a Mac OS X appbundle: No
>>
>> sphinx-build executable: <not found>
>>
>> I tried a ./bootstrap but this did not change things. I can do a make
>> clean but that leads me to a long, long, make, to be avoided if possible.
>> --
>> ---
>> Colin Beckingham
>> 613-454-5369
>> http://www.it4gh.com
>>
>>
>> --
>> Sent via pgadmin-support mailing list (pgadmin-support(at)postgresql(dot)org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgadmin-support
>
>
>
>
> --
> Regards,
> Sachin Srivastava
> EnterpriseDB, India
>
>
> --
> Sent via pgadmin-support mailing list (pgadmin-support(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-support
>

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

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

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2012-09-06 11:02:50 pgAdmin III commit: Detect serial/bigserial columns from pg_depend, rat
Previous Message Dave Page 2012-09-06 09:02:34 pgAdmin III commit: Remove extra operator that causes a compiler error

Browse pgadmin-support by date

  From Date Subject
Next Message Colin Beckingham 2012-09-06 09:19:58 Re: Error during make from git on Opensuse 12.2
Previous Message Sachin Srivastava 2012-09-06 08:47:34 Re: [pgadmin-support] Error during make from git on Opensuse 12.2