Discussion:
Building pgadmin3 from source
(too old to reply)
Dirk J. Botha
2004-10-06 04:04:50 UTC
Permalink
Hi everyone,

Have any of you successfully compiled pgadmin3 on SuSE 9.1.

I've tried googleing for answers but I've yet to find someone that can tell my
why my build keeps falling over at the final link stage.

Right now it seems that the wx libraries are not found for some reason, as I
keep getting things like:

pgForeignKey.o(.text+0x2785):schema/pgForeignKey.cpp:127: undefined reference
to `wxString::operator+=(wxString const&)'

I'm quite sure that I installed the wx libraries correctly. They are in
my /usr/local/lib directory and ./configure does pick this up.

Any assistance would be greatly appretiated.
--
Regards,
Dirk J. Botha

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend
Boris Tomic
2004-10-06 07:40:56 UTC
Permalink
Post by Dirk J. Botha
Hi everyone,
Have any of you successfully compiled pgadmin3 on SuSE 9.1.
I've tried googleing for answers but I've yet to find someone that can tell my
why my build keeps falling over at the final link stage.
Right now it seems that the wx libraries are not found for some reason, as I
pgForeignKey.o(.text+0x2785):schema/pgForeignKey.cpp:127: undefined reference
to `wxString::operator+=(wxString const&)'
I'm quite sure that I installed the wx libraries correctly. They are in
my /usr/local/lib directory and ./configure does pick this up.
Any assistance would be greatly appretiated.
Hi

I also tried to build it today. I had many troubles and spent hole day
for it but I succeed (I hope so - must test it).

I have change Makefile and src/Makefile under LIBS like this (wx-config
--libs):
LIBS = /usr/local/pgsql/lib/libpq.a
/usr/local/wxWindowsPG/lib/libwx_gtk2ud_stc-2.5.a
/usr/local/wxWindowsPG/lib/libwx_gtk2ud_xrc-2.5.a
/usr/local/wxWindowsPG/lib/libwx_gtk2ud_html-2.5.a
/usr/local/wxWindowsPG/lib/libwx_gtk2ud_adv-2.5.a
/usr/local/wxWindowsPG/lib/libwx_gtk2ud_core-2.5.a
/usr/local/wxWindowsPG/lib/libwx_baseud_xml-2.5.a
/usr/local/wxWindowsPG/lib/libwx_baseud_net-2.5.a
/usr/local/wxWindowsPG/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 -lcrypt -lssl -lcrypto

You can modify your make files similarly but your wxWindows dir will be
different.
Also I used wxWindows downloaded from pgadmin3 mirror:
wxWindows-pgAdmin3-20031010-7.tar.bz. I had problems with other versions
in that directory.
I used postgres 7.4.5 libs.

If you have i386 platform I can send (or put on net for download) you
builded program (I hope it will work).

Also I did not have time to test this build so ...

Boris


---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Loading...