Re: compiling problem - Mailing list pgadmin-support

From Raphaël Enrici
Subject Re: compiling problem
Date
Msg-id 4038907C.6080804@club-internet.fr
Whole thread Raw
In response to Re: compiling problem  (Raphaël Enrici <blacknoz@club-internet.fr>)
List pgadmin-support
ooops,
I forgot to ask for the full build log of pgAdmin3.

Regards,
Raphaël
Raphaël Enrici wrote:

> Hi Dirk,
>
> can you also precise the distribution you are building on ?
> If rpm or deb based isn't it possible for you to use binary packages 
> or rebuild from source packages with some hack to suite your needs ?
>
> Regards,
> Raphaël
>
> Dirk Dil wrote:
>
>> during make for pgadmin3-1.0.2:
>> xrcDialogs.o: In function
>> `wxMemoryFSHandler::wxMemoryFSHandler[in-charge]()':
>> /home/setup/dirk/pgadmin3-1.0.2/src/ui/common/xrcDialogs.cpp:6058:
>> undefined reference to
>> `wxMemoryFSHandlerBase::wxMemoryFSHandlerBase[not-in-charge]()'
>> xrcDialogs.o: In function
>> `wxMemoryFSHandler::wxMemoryFSHandler[in-charge]()':
>> /opt/wxwindows/include/wx/string.h:702: undefined reference to `vtable
>> for wxMemoryFSHandler'
>> collect2: ld returned 1 exit status
>> make[2]: *** [pgadmin3] Error 1
>> make[2]: Leaving directory `/home/setup/dirk/pgadmin3-1.0.2/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/setup/dirk/pgadmin3-1.0.2'
>> make: *** [all] Error 2
>>
>> I installed PostgreSQL with ../configure --prefix=/opt/postgresql-7.4.1
>> wxWindows-pgAdmin3-20031010-7
>> /configure --prefix=/opt/wxwindows --with-gtk --enable-gtk2 \
>> --enable-unicode --disable-shared --enable-debug
>> and pgadmin3-1.0.2 with
>> ../configure --prefix=/opt/postgresql-7.4.1/ --enable-static
>> --enable-debug --with-pgsql=/opt/postgresql-7.4.1/
>> --with-wx=/opt/wxwindows
>>
>> I seem to get lots of the following messages during the make stage:
>> home/setup/dirk/pgadmin3-1.0.2/src/ui/common/xrcDialogs.cpp:6128:
>> undefined reference to `wxString::wxString[in-charge](wchar_t const*)'
>> /home/setup/dirk/pgadmin3-1.0.2/src/ui/common/xrcDialogs.cpp:6128:
>> undefined reference to `wxXmlResource::Get()'
>>
>> They all make reference to wxString and wxXmlResource.  So I suppose
>> something went wrong in the second and third compilations of wxwindows.
>> I have checked the makefile's in contrib/src/stc and xrc and they prefix
>> /opt/wxindows and I used the commands as prescibed.  I can't figure 
>> out what went wrong then.....
>> my system uses:
>> gcc 3.2.1
>> glibc 2.3.1
>> linux 2.4.20
>



pgadmin-support by date:

Previous
From: Raphaël Enrici
Date:
Subject: Re: compiling problem
Next
From: Raphaël Enrici
Date:
Subject: Re: compiling problem