pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Boris Tomic <boris.tomic@zg.htnet.hr>
Cc: pgsql-admin@postgresql.org
Subject: Re: Building pgadmin3 from source
Date: Wed, 06 Oct 2004 09:40:56 +0200
Message-ID: <4163A188.2020601@zg.htnet.hr> (raw)
In-Reply-To: <200410052104.51178.bothasp@yebo.co.za>
References: <200410052104.51178.bothasp@yebo.co.za>

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




view thread (3+ messages)  latest in thread

Message-ID: <4163A188.2020601@zg.htnet.hr>
Permalink:  ../4163A188.2020601@zg.htnet.hr/
Also on:    postgresql.org/message-id/4163A188.2020601@zg.htnet.hr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: boris.tomic@zg.htnet.hr
  Subject: Re: Building pgadmin3 from source
  In-Reply-To: <4163A188.2020601@zg.htnet.hr>
  References: <200410052104.51178.bothasp@yebo.co.za> <4163A188.2020601@zg.htnet.hr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox