Re: Building pgadmin3 from source

From: Boris Tomic <boris(dot)tomic(at)zg(dot)htnet(dot)hr>
To:
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Building pgadmin3 from source
Date: 2004-10-06 07:40:56
Message-ID: 4163A188.2020601@zg.htnet.hr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Steubesand Thomas 2004-10-06 09:30:03 Re: Building pgadmin3 from source
Previous Message Robert Creager 2004-10-06 04:05:54 Re: Duplicating a large database.