Skip site navigation (1) Skip section navigation (2)

compile error

From: "Diego A(dot) Gil" <diego(at)adminsa(dot)com>
To: PgAdmin Hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: compile error
Date: 2004-06-15 21:41:06
Message-ID: 1087335656.3536.13.camel@roadwarrior.adminsa.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
Hi,

I am trying to compile pgadmin3 in a Fedora Core 2 box. 

First, I compiled and installed wxWindows snapshot OK.
(wxWindows-pgAdmin3-20031010-9)

Then I configure pgadmin (pgadmin3-src-20040615.tar.gz) and start "make
all". Fails with the following messages:

(a lot of text before ...)
g++ -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g
-I../src/include -I../src/agent/include -Wall -g -O0  -L/usr/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 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
ctlSecurityPanel.o dlgClasses.o frmGrantWizard.o calbox.o timespin.o
ctlListView.o ctlSQLBox.o ctlSQLResult.o frmExport.o dlgAddTableView.o
dlgEditGridOptions.o events.o frmAbout.o frmIndexcheck.o
frmChildTableViewFrame.o frmConnect.o frmMain.o frmOptions.o
frmPassword.o frmQuery.o frmQueryBuilder.o frmHelp.o frmQBJoin.o
frmSplash.o frmMaintenance.o frmEditGrid.o dlgProperty.o dlgUser.o
dlgGroup.o dlgDatabase.o dlgLanguage.o dlgSchema.o dlgDomain.o
dlgTable.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/lib/libpq.a -lcrypt  -lssl -lcrypto
/usr/local/lib/libwx_gtk2ud_stc-2.5.a
/usr/local/lib/libwx_gtk2ud_xrc-2.5.a -L/usr/local/lib -pthread
/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 -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 -lexpat -lz -ldl -lm
/usr/local/lib/libwx_gtk2ud_core-2.5.a(corelib_settings.o)(.text+0xa55):
En la función `wxSystemSettingsNative::GetFont(wxSystemFont)':
src/gtk/settings.cpp:346: undefined reference to
`_gtk_rc_context_get_default_font_name'
/usr/local/lib/libwx_gtk2ud_core-2.5.a(corelib_menu.o)(.text+0xc5c): En
la función `wxMenubarUnsetInvokingWindow':
src/gtk/menu.cpp:275: undefined reference to `_gtk_accel_group_detach'
/usr/local/lib/libwx_gtk2ud_core-2.5.a(corelib_menu.o)(.text+0xd76): En
la función `wxMenubarSetInvokingWindow':
src/gtk/menu.cpp:299: undefined reference to `_gtk_accel_group_attach'
/usr/local/lib/libwx_gtk2ud_core-2.5.a(corelib_menu.o)(.text+0xe91): En
la función
`wxMenuBar::SetInvokingWindow(wxWindow*)':src/gtk/menu.cpp:323:
undefined reference to `_gtk_accel_group_attach'
/usr/local/lib/libwx_gtk2ud_core-2.5.a(corelib_menu.o)(.text+0xf68): En
la función `wxMenuBar::UnsetInvokingWindow(wxWindow*)':
src/gtk/menu.cpp:344: undefined reference to `_gtk_accel_group_detach'
collect2: ld devolvió el estado de salida 1
make[2]: *** [pgadmin3] Error 1
make[2]: Leaving directory `/home/dags/sandbox/pgadmin3-1.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dags/sandbox/pgadmin3-1.1.0'
make: *** [all] Error 2
[dags(at)roadwarrior pgadmin3-1.1.0]$

What I am doing wrong ?. I really need to have pgadmin3 working !!. Any
idea ?.

I guess this
http://www.redhat.com/archives/fedora-test-list/2004-March/msg01723.html
could be related, but I don't know how to solve it.

Thanks a lot. 
Diego.



Responses

pgadmin-hackers by date

Next:From: Diego A. GilDate: 2004-06-16 03:12:00
Subject: Re: compile error
Previous:From: Vitaly BelmanDate: 2004-06-14 10:41:27
Subject: Compiling under windows (basic)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group