X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A1A4332A256 for ; Wed, 6 Oct 2004 08:40:58 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 97845-06 for ; Wed, 6 Oct 2004 07:40:55 +0000 (GMT) Received: from mxout2.iskon.hr (mxout2.iskon.hr [213.191.128.16]) by svr1.postgresql.org (Postfix) with SMTP id B74BF32A254 for ; Wed, 6 Oct 2004 08:40:53 +0100 (BST) Received: (qmail 18645 invoked from network); 6 Oct 2004 09:40:47 +0200 X-Remote-IP: 213.191.142.122 Received: from unknown (HELO mx.iskon.hr) (213.191.142.122) by mxout2.iskon.hr with SMTP; 6 Oct 2004 09:40:47 +0200 Received: (qmail 17213 invoked from network); 6 Oct 2004 09:40:47 +0200 X-Remote-IP: 213.191.137.16 Received: from zg04-015.dialin.iskon.hr (HELO ?192.168.1.1?) (213.191.137.16) by mx.iskon.hr with SMTP; 6 Oct 2004 09:40:46 +0200 Message-ID: <4163A188.2020601@zg.htnet.hr> Date: Wed, 06 Oct 2004 09:40:56 +0200 From: Boris Tomic User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: pgsql-admin@postgresql.org Subject: Re: Building pgadmin3 from source References: <200410052104.51178.bothasp@yebo.co.za> In-Reply-To: <200410052104.51178.bothasp@yebo.co.za> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/100 X-Sequence-Number: 15093 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