Thread: Problem building pgadmin3 on FC2

Problem building pgadmin3 on FC2

From
Devrim GUNDUZ
Date:
Hi,

I'm using FC2 to build pgadmin3 packages. Rebuilt wxGTK2 from SRPMS and
installed them:

[devrim@localhost devrim]$ rpm -qa|grep -i wxgtk
wxGTK2ud-xrc-2.5-20031010.9
wxGTK-2.4.2-1
wxGTK2ud-devel-2.5-20031010.9
wxGTK2ud-2.5-2003101

Downloaded the latest snapshot (pgadmin3-1.1.0-cvs20040114.src.rpm). I'm
getting the following errors:

=======================================================================
g++ -DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall -g -I../src/include
-I../src/agent /include -Wall -g -O0  -L/usr/lib -L/usr/lib -o pgadmin3
pgAdmin3.o pgConn.o pg Set.o keywords.o pgAggregate.o pgCast.o pgCheck.o
pgCollection.o pgColumn.o pgCo nstraints.o pgConversion.o pgDatabase.o
pgDomain.o pgForeignKey.o pgFunction.o p gGroup.o pgIndex.o
pgIndexConstraint.o pgLanguage.o pgObject.o pgOperator.o pgOp
eratorClass.o pgRule.o pgSchema.o pgSequence.o pgServer.o pgTable.o
pgTrigger.o pgType.o pgUser.o pgView.o pgDatatype.o pgaAgent.o pgaJob.o
pgaStep.o pgaSchedul e.o dlgJob.o dlgSchedule.o dlgStep.o xh_sqlbox.o
xh_calb.o xh_timespin.o calbox. o timespin.o ctlListView.o ctlSQLBox.o
ctlSQLResult.o frmExport.o dlgAddTableVie w.o dlgEditGridOptions.o
events.o frmAbout.o frmIndexcheck.o frmChildTableViewFr ame.o frmConnect.o
frmMain.o frmOptions.o frmPassword.o frmQuery.o frmQueryBuild er.o
frmHelp.o frmQBJoin.o frmSplash.o frmMaintenance.o frmEditGrid.o
dlgPropert y.o dlgUser.o dlgGroup.o dlgDatabase.o dlgLanguage.o
dlgSchema.o dlgDomain.o dlg Table.o dlgColumn.o dlgIndex.o dlgFunction.o
dlgView.o dlgRule.o dlgOperator.o d lgAggregate.o dlgCast.o
dlgConversion.o dlgIndexConstraint.o dlgForeignKey.o dlg Sequence.o
dlgTrigger.o dlgType.o dlgCheck.o frmStatus.o misc.o sysLogger.o sysS
ettings.o utffile.o xrcDialogs.o  /usr/lib/libpq.a -lcrypt  -lssl -lcrypto
/usr/ lib/libwx_gtk2ud_stc-2.5.a /usr/lib/libwx_gtk2ud_xrc-2.5.a  -pthread
/usr/l ib/libwx_gtk2ud-2.5.a -Wl,--export-dynamic -pthread -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 -lpangoft2 -1.0 -lpango-1.0 -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0 -lpng -ljpeg -ltiff  -lz -ldl -lm
/usr/lib/libwx_gtk2ud-2.5.a(monolib_settings.o)(.text+0x940): In function
`wxSys temSettingsNative::GetFont(wxSystemFont)':
: undefined reference to `_gtk_rc_context_get_default_font_name'
/usr/lib/libwx_gtk2ud-2.5.a(monolib_menu.o)(.text+0xbdd): In function
`wxMenubar UnsetInvokingWindow(wxMenu*, wxWindow*)':
: undefined reference to `_gtk_accel_group_detach'
/usr/lib/libwx_gtk2ud-2.5.a(monolib_menu.o)(.text+0xcd9): In function
`wxMenubar SetInvokingWindow(wxMenu*, wxWindow*)':
: undefined reference to `_gtk_accel_group_attach'
/usr/lib/libwx_gtk2ud-2.5.a(monolib_menu.o)(.text+0xd8e): In function
`wxMenuBar ::SetInvokingWindow(wxWindow*)':
: undefined reference to `_gtk_accel_group_attach'
/usr/lib/libwx_gtk2ud-2.5.a(monolib_menu.o)(.text+0xe00): In function
`wxMenuBar ::UnsetInvokingWindow(wxWindow*)':
: undefined reference to `_gtk_accel_group_detach'
collect2: ld returned 1 exit status
make[2]: *** [pgadmin3] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/pgadmin3-1.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/pgadmin3-1.1.0'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.86170 (%build)
=======================================================================

Any comments?

Regards,

--
Devrim GUNDUZ
devrim~gunduz.org                devrim.gunduz~linux.org.tr
            http://www.TDMSoft.com
            http://www.gunduz.org