Re: Building pgadmin3 from source

Поиск
Список
Период
Сортировка
От Boris Tomic
Тема Re: Building pgadmin3 from source
Дата
Msg-id 4163A188.2020601@zg.htnet.hr
обсуждение исходный текст
Ответ на Building pgadmin3 from source  ("Dirk J. Botha" <bothasp@yebo.co.za>)
Список 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


В списке pgsql-admin по дате отправления:

Предыдущее
От: Robert Creager
Дата:
Сообщение: Re: Duplicating a large database.
Следующее
От: Reiner Dassing
Дата:
Сообщение: pgaccess on windows