Thread: pgadmin3-1.2.0rc2 / SUSE 9.1 / undefined reference to wxXmlResource
Hi I'm trying to build pgadmin3-1.2.0rc2 from source on SUSE 9.1 following the instructions in the file unix_compilation.html (including downloading and building wxWidgets-pgAdmin3-20040907-2 ). The build process for pgadmin fails with a whole series of errors related to wxXmlResource beginning with: pgAdmin3.o(.text+0x1168): In function `pgAdmin3::OnInit()': /usr/local/src/pgadmin3-1.2.0rc2/src/pgAdmin3.cpp:350: undefined reference to `wxXmlResource::Get()' The same happens when building from CVS. Any idea where I should start looking for the cause? 'pkg-config gtk+-2.0 --modversion' says 2.2.4. The output immediately preceding the errors is below, can supply more but don't want to spam the list with superfluous output. Thanks Ian Barwick make[2]: Entering directory `/usr/local/src/pgadmin3-1.2.0rc2/src' g++ -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g -I../src/include -I../src/agent/include -Wall -g -O0 -L/usr/local/pgsql/lib -L/usr/local/lib -o pgadmin3 pgAdmin3.o pgConn.o pgSet.o keywords.o pgAggregate.o pgCast.o pgCheck.o pgCollection.o pgColumn.o pgConstraints.o pgConversion.o pgDatabase.o pgDomain.o pgForeignKey.o pgFunction.o pgGroup.o pgIndex.o pgIndexConstraint.o pgLanguage.o pgObject.o pgOperator.o pgOperatorClass.o pgRule.o pgSchema.o pgSequence.o pgServer.o pgTable.o pgTablespace.o pgTrigger.o pgType.o pgUser.o pgView.o pgDatatype.o pgaAgent.o pgaJob.o pgaStep.o pgaSchedule.o dlgJob.o dlgSchedule.o dlgStep.o xh_sqlbox.o xh_calb.o xh_timespin.o xh_ctlcombo.o ctlSecurityPanel.o dlgClasses.o ctlComboBox.o calbox.o timespin.o ctlListView.o ctlSQLBox.o ctlSQLResult.o frmExport.o dlgEditGridOptions.o events.o frmAbout.o frmIndexcheck.o dlgConnect.o frmMain.o frmOptions.o frmPassword.o frmQuery.o frmHelp.o frmSplash.o frmMaintenance.o frmBackup.o frmRestore.o frmGrantWizard.o frmEditGrid.o dlgProperty.o dlgUser.o dlgServer.o dlgGroup.o dlgDatabase.o dlgLanguage.o dlgSchema.o dlgDomain.o dlgTable.o dlgTablespace.o dlgColumn.o dlgIndex.o dlgFunction.o dlgView.o dlgRule.o dlgOperator.o dlgAggregate.o dlgCast.o dlgConversion.o dlgIndexConstraint.o dlgForeignKey.o dlgSequence.o dlgTrigger.o dlgType.o dlgCheck.o frmStatus.o misc.o sysLogger.o sysSettings.o utffile.o xrcDialogs.o /usr/local/pgsql/lib/libpq.a -lcrypt -lssl -lcrypto /usr/local/lib/libwx_gtk2ud_stc-2.5.a -L/usr/local/lib -pthread -L/usr/X11R6/lib /usr/local/lib/libwx_gtk2ud_html-2.5.a /usr/local/lib/libwx_gtk2ud_adv-2.5.a /usr/local/lib/libwx_gtk2ud_core-2.5.a /usr/local/lib/libwx_baseud_xml-2.5.a /usr/local/lib/libwx_baseud_net-2.5.a /usr/local/lib/libwx_baseud-2.5.a -Wl,--export-dynamic -pthread -L/opt/gnome/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -Wl,--export-dynamic -L/opt/gnome/lib -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lXinerama -lXxf86vm -lpng -lz -ljpeg -ltiff -lexpat -lz -ldl -lm -lwxregexud
> -----Original Message----- > From: pgadmin-support-owner@postgresql.org > [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of Ian Barwick > Sent: 23 November 2004 22:28 > To: pgadmin-support@postgresql.org > Subject: [pgadmin-support] pgadmin3-1.2.0rc2 / SUSE 9.1 / > undefined reference to wxXmlResource > > Hi > > I'm trying to build pgadmin3-1.2.0rc2 from source on SUSE 9.1 > following the instructions in the file unix_compilation.html > (including downloading and building > wxWidgets-pgAdmin3-20040907-2 ). The build process for > pgadmin fails with a whole series of errors related to > wxXmlResource beginning with: Hi Ian, You should be using the standard distribution of wxWidgets-2.5.3 from www.wxwidgets.org for current CVS versions of pgAdmin. I have updated the unix_compilation page (sorry, minor oversight). Regards, Dave.
On Tue, 23 Nov 2004 22:55:53 -0000, Dave Page <dpage@vale-housing.co.uk> wrote: > > Hi > > > > I'm trying to build pgadmin3-1.2.0rc2 from source on SUSE 9.1 > > following the instructions in the file unix_compilation.html > > (including downloading and building > > wxWidgets-pgAdmin3-20040907-2 ). The build process for > > pgadmin fails with a whole series of errors related to > > wxXmlResource beginning with: > > Hi Ian, > > You should be using the standard distribution of wxWidgets-2.5.3 from > www.wxwidgets.org for current CVS versions of pgAdmin. I have updated > the unix_compilation page (sorry, minor oversight). Hi Dave, yup, after sending the mail I found this thread: http://www.mail-archive.com/pgadmin-hackers@postgresql.org/msg04692.html but thanks anyway :-). BTW in "unix_compilation.html" shouldn't the CVSROOT be CVSROOT=:pserver:anonymous@cvs.pgadmin.org:/projects ? Regards Ian Barwick
On Wed, 24 Nov 2004 00:20:37 +0100, Ian Barwick <barwick@gmail.com> wrote: > On Tue, 23 Nov 2004 22:55:53 -0000, Dave Page <dpage@vale-housing.co.uk> wrote: > > > > Hi > > > > > > I'm trying to build pgadmin3-1.2.0rc2 from source on SUSE 9.1 > > > following the instructions in the file unix_compilation.html > > > (including downloading and building > > > wxWidgets-pgAdmin3-20040907-2 ). The build process for > > > pgadmin fails with a whole series of errors related to > > > wxXmlResource beginning with: > > > > Hi Ian, > > > > You should be using the standard distribution of wxWidgets-2.5.3 from > > www.wxwidgets.org for current CVS versions of pgAdmin. I have updated > > the unix_compilation page (sorry, minor oversight). > > Hi Dave, > > yup, after sending the mail I found this thread: > http://www.mail-archive.com/pgadmin-hackers@postgresql.org/msg04692.html > > but thanks anyway :-). (some time later) compile successful. Thanks! Ian Barwick
> -----Original Message----- > From: Ian Barwick [mailto:barwick@gmail.com] > Sent: 23 November 2004 23:21 > To: Dave Page > Cc: pgadmin-support@postgresql.org > Subject: Re: [pgadmin-support] pgadmin3-1.2.0rc2 / SUSE 9.1 / > undefined reference to wxXmlResource > > Hi Dave, > > yup, after sending the mail I found this thread: > http://www.mail-archive.com/pgadmin-hackers@postgresql.org/msg > 04692.html > > but thanks anyway :-). BTW in "unix_compilation.html" > shouldn't the CVSROOT be > CVSROOT=:pserver:anonymous@cvs.pgadmin.org:/projects ? Quite right - thanks. Fix committed. Regards, Dave