Building pgadmin3 from source

Поиск
Список
Период
Сортировка
Искать

Building pgadmin3 from source

От:
"Dirk J. Botha" <bothasp@yebo.co.za>
Дата:
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

Re: Building pgadmin3 from source

От:
Boris Tomic <boris.tomic@zg.htnet.hr>
Дата:
Dirk J. Botha wrote:
> 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.
> 
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

Re: Building pgadmin3 from source

От:
"Steubesand Thomas" <T.Steubesand@rz.fh-trier.de>
Дата:
Hi Dirk,

perhaps this may help:
I had many difficulties building it on suse 9.0 too. After searching the web I found this article:
http://archives.postgresql.org/pgadmin-hackers/2004-02/msg00106.php
Try to build the mandrake package!

Thomas

> -----Original Message-----
> From: Dirk J. Botha [mailto:bothasp@yebo.co.za]
> Sent: Wednesday, October 06, 2004 6:05 AM
> To: pgsql-admin@postgresql.org
> Subject: [ADMIN] Building pgadmin3 from source
> 
> 
> 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
> 
FAQ