Thread: Re: [pgadmin-support] Error during make from git on Opensuse 12.2
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@start.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@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support
Regards,
Sachin Srivastava
EnterpriseDB, India
Attachment
Thanks, patch applied. On Thu, Sep 6, 2012 at 9:47 AM, Sachin Srivastava <sachin.srivastava@enterprisedb.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@start.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@postgresql.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@postgresql.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