Re: building pgadmin3 on rh7.3 - Mailing list pgadmin-hackers

From Dave Page
Subject Re: building pgadmin3 on rh7.3
Date
Msg-id 03AF4E498C591348A42FC93DEA9661B84C5D2D@mail.vale-housing.co.uk
Whole thread Raw
Responses Re: building pgadmin3 on rh7.3  (Jean-Michel POURE <jm@poure.com>)
List pgadmin-hackers

> -----Original Message-----
> From: Andrew Dunstan [mailto:andrew@dunslane.net]
> Sent: 05 November 2003 20:08
> To: Dave Page
> Subject: building pgadmin3 on rh7.3
>
>
> This has not been a happy experience.

Oh dear :-(

> I installed the wx* rpms from snake.
>
> Then while building I got link errors until I did these things:
>
> [root@face lib]# ln -s libgtk-x11-2.0.so.0.0.2 libgtk-x11-2.0.so
> [root@face lib]# ln -s libgdk-x11-2.0.so.0.0.2 libgdk-x11-2.0.so
> [root@face lib]# ln -s libatk-1.0.so.0.0.1 libatk-1.0.so
> [root@face lib]# ln -s libgdk_pixbuf-2.0.so.0.0.2
> libgdk_pixbuf-2.0.so
> [root@face lib]# ln -s libpangoxft-1.0.so.0.0.1 libpangoxft-1.0.so
> [root@face lib]# ln -s libpangox-1.0.so.0.0.1 libpangox-1.0.so
> [root@face lib]# ln -s libpango-1.0.so.0.0.1 libpango-1.0.so
> [root@face lib]# ln -s libpangoft2-1.0.so.0.0.1 libpangoft2-1.0.so

Hmm, the wx RPMs are built to the wxWindows spec files as far as I am
aware. I've CC's this to the hackers list as I don't use any RPM based
systems myself so am not really the best person to help.

> After that I got a bunch of errors that look like this:
>
> pgAdmin3.o: In function `wxDelegateRendererNative type_info function':
> /usr/include/wx/renderer.h(.text+0x14): undefined reference to
> `wxAppConsole::Ch
> eckBuildOptions(char const *, char const *)'
> pgAdmin3.o: In function `main':
> /home/adunstan/rpm/BUILD/pgadmin3-1.1.0/src/pgAdmin3.cpp:78:
> undefined
> reference
>  to `wxEntry(int &, char **)'
> pgAdmin3.o: In function `pgAdmin3::OnInit(void)':
> /home/adunstan/rpm/BUILD/pgadmin3-1.1.0/src/pgAdmin3.cpp:102:
> undefined
> referenc
> e to `wxString::wxString(wchar_t const *)'
>
>
> Any ideas?

Normally we see that with a messed up wx installation.

> (I'll try on RH8 tonight at home and see how things go)

OK, thanks :-)

Regards Dave.

pgadmin-hackers by date:

Previous
From: Raphaël Enrici
Date:
Subject: [Fwd: Re: [pgadmin-support] Mac OS X]
Next
From: Jean-Michel POURE
Date:
Subject: Re: building pgadmin3 on rh7.3