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

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

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<pgadmin-support(at)postgresql(dot)org>
> )
> To make changes to your subscription:
> http://www.postgresql.org/**mailpref/pgadmin-support<http://www.postgresql.org/mailpref/pgadmin-support>
>

--
Regards,
Sachin Srivastava
EnterpriseDB, India

Attachment Content-Type Size
removed_extra_operator.patch application/octet-stream 600 bytes

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2012-09-06 08:56:27 pgAdmin III commit: Unset env vars instead of setting them to empty.
Previous Message Colin Beckingham 2012-09-06 08:06:17 Error during make from git on Opensuse 12.2

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2012-09-06 09:03:17 Re: [pgadmin-support] Error during make from git on Opensuse 12.2
Previous Message Colin Beckingham 2012-09-06 08:06:17 Error during make from git on Opensuse 12.2