From: | "Adam H(dot) Pendleton" <fmonkey(at)fmonkey(dot)net> |
---|---|
To: | Raphaël Enrici <blacknoz(at)club-internet(dot)fr> |
Cc: | PgAdmin Hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: acinclude.m4 and wx detection question |
Date: | 2005-05-05 21:41:38 |
Message-ID: | E1C70EBC-D214-4135-B9C8-05C27D09A38A@fmonkey.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
On May 5, 2005, at 5:23 PM, Raphaël Enrici wrote:
>>
>>
>> Yes, but how would we go about finding the wx-config file in the
>> first place?
>>
>
> Aren't the --with-wx* flags you gave to us useable for this ?
> I personnaly use them each time I build pga3 like this:
> --with-wx=/usr --with-wx-config=wx-config
Absolutely, but the configure script must be able to deal with
situations in which the user does not pass that flag. In theory, a
user should be able to do the following to build pgAdmin3:
./configure
make
make install
>> Again, you have to find wx-config. The other problem is that wx
>> programs will fail if you don't link against the wx libraries. Since
>> the wx library names are not reported by wx-config, we have to try
>> all the possible wx lib names (because they've changed to many
>> times).
>>
>
> mmmh, I missed that part of the process, but:
>
> wx-config --libs gives some informations. In my case :
> -pthread -L/usr/X11R6/lib /usr/lib/libwx_gtk2ud_pga3_xrc-2.6.a
> /usr/lib/libwx_gtk2ud_pga3_html-2.6.a
> /usr/lib/libwx_gtk2ud_pga3_adv-2.6.a
> /usr/lib/libwx_gtk2ud_pga3_core-2.6.a
> /usr/lib/libwx_baseud_pga3_xml-2.6.a
> /usr/lib/libwx_baseud_pga3_net-2.6.a /usr/lib/libwx_baseud_pga3-2.6.a
> -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
> -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0
> -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lXinerama -lXxf86vm -lpng -
> ljpeg
> -ltiff -lexpat -lwxregexud_pga3-2.6 -lz -ldl -lm
See this is new. wx-config didn't use to return this. With this
information I can make the autoconf script much cleaner!
ahp
From | Date | Subject | |
---|---|---|---|
Next Message | OpenMacNews | 2005-05-06 04:03:43 | Re: svn access?"Can't connect to host |
Previous Message | Raphaël Enrici | 2005-05-05 21:23:58 | Re: acinclude.m4 and wx detection question |