Compiling latest pgAdmin 3 fails on Red Hat 8
От | Francis Labrie |
---|---|
Тема | Compiling latest pgAdmin 3 fails on Red Hat 8 |
Дата | |
Msg-id | fad5ec86834dbd33dda19b5cddf5c9dd@smoguli.com обсуждение исходный текст |
Список | pgadmin-support |
Hi, I'm trying to compile HEAD pgAdmin 3 extracted from the CVS repository (on 2005-04-26) with wxWidgets / GTK 1.6.0 on Red Hat Linux 8, but it fails with this message: <fontfamily><param>Courier</param><smaller>g++ -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g -I../src/include -I../src/agent/include -I../src/slony/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 pgTablespace.o pgTrigger.o pgType.o pgUser.o pgView.o pgDatatype.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 dlgHbaConfig.o dlgMainConfig.o frmUpdate.o frmConfig.o frmHbaConfig.o frmMainConfig.o frmHint.o sysLogger.o sysSettings.o sysProcess.o utffile.o pgconfig.o update.o slObject.o slCluster.o slNode.o slPath.o slListen.o slSet.o slSequence.o slTable.o slSubscription.o dlgRepCluster.o dlgRepNode.o dlgRepListen.o dlgRepPath.o dlgRepSet.o dlgRepSequence.o dlgRepTable.o dlgRepSubscription.o slFunctions.o explainCanvas.o explainShape.o xrcDialogs.o /usr/lib/libpq.a -lcrypt -lssl -lcrypto /usr/local/lib/libwx_gtk2ud_stc-2.6.a /usr/local/lib/libwx_gtk2ud_ogl-2.6.a -L/usr/local/lib -pthread -L/usr/X11R6/lib /usr/local/lib/libwx_gtk2ud_xrc-2.6.a /usr/local/lib/libwx_gtk2ud_qa-2.6.a /usr/local/lib/libwx_gtk2ud_html-2.6.a /usr/local/lib/libwx_gtk2ud_adv-2.6.a /usr/local/lib/libwx_gtk2ud_core-2.6.a /usr/local/lib/libwx_baseud_xml-2.6.a /usr/local/lib/libwx_baseud_net-2.6.a /usr/local/lib/libwx_baseud-2.6.a -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lpthread -lglib-2.0 -lXinerama -lXxf86vm -lexpat -lwxregexud-2.6 -lwxtiffd-2.6 -lwxjpegd-2.6 -lwxpngd-2.6 -lz -ldl -lm /usr/lib/libpq.a(fe-auth.o): In function `pg_krb5_init': fe-auth.o(.text+0x7c): undefined reference to `krb5_init_context' fe-auth.o(.text+0x8c): undefined reference to `error_message' fe-auth.o(.text+0xc2): undefined reference to `krb5_cc_default' fe-auth.o(.text+0xd2): undefined reference to `error_message' fe-auth.o(.text+0x13e): undefined reference to `error_message' fe-auth.o(.text+0x1a9): undefined reference to `krb5_unparse_name' fe-auth.o(.text+0x1b9): undefined reference to `error_message' fe-auth.o(.text+0x1e4): undefined reference to `krb5_free_principal' fe-auth.o(.text+0x211): undefined reference to `krb5_free_context' /usr/lib/libpq.a(fe-auth.o): In function `pg_krb5_sendauth': fe-auth.o(.text+0x2f2): undefined reference to `krb5_sname_to_principal' fe-auth.o(.text+0x302): undefined reference to `error_message' fe-auth.o(.text+0x3b8): undefined reference to `krb5_free_principal' fe-auth.o(.text+0x40c): undefined reference to `krb5_sendauth' fe-auth.o(.text+0x465): undefined reference to `error_message' fe-auth.o(.text+0x49b): undefined reference to `krb5_free_error' fe-auth.o(.text+0x4b9): undefined reference to `krb5_free_principal' collect2: ld returned 1 exit status make[2]: *** [pgadmin3] Error 1 </smaller></fontfamily> Has the previous pgAdmin 1.2.1 with wxWidget 1.5.5 combo, a « <fontfamily><param>Courier</param>-L/usr/kerberos/lib -lkrb5</fontfamily> » seems missing. With 1.2.1, I was able to add this reference directly in the "LIBS" definitin in the Makefile, but now it seems impossible: I can't find no more "LIBS" variable in the Makefile. So how can I add the Kerberos reference into the link process? And would it be possible to make this setting anaged by the configuration process to ease compilation on SuSE Linux and Red Hat Linus 8 ? Thank you very much! -- <bold><x-tad-bigger>Francis Labrie</x-tad-bigger></bold> Saint-Bruno-de-Montarville, Québec, Canada
В списке pgadmin-support по дате отправления: