From: Ethan M. <merritt@u.washington.edu> - 2006-06-27 18:30:56
|
On Tuesday 27 June 2006 12:59 pm, you wrote: > > Are you sure you had the *-devel rpm installed when you first tried ? It's not done by the *-devel rpms. The pkgconfig hooks are in the library rpms themselves (I just checked). > > But what about if you're not using pkg-config? It seems really > > odd to me to require a particular package manager. If you've got > > the libraries themselves, that should be sufficient. > > It seems to me that it helps a lot when compiler flags are concerned. > For example , 'pkg-config pango --cflags' gives : > > -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include > > Or 'pkg-config pango --libs' : > > -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 But that information is not required by ./configure, so what's the point? You don't need all those extra -lXXX flags; they will be pulled in by the main shared library anyhow. [2] ldd /usr/lib/libpango-1.0.so linux-gate.so.1 => (0xffffe000) libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7f3b000) libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7f38000) libdl.so.2 => /lib/libdl.so.2 (0xb7f34000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7eae000) libm.so.6 => /lib/tls/libm.so.6 (0xb7e89000) libc.so.6 => /lib/tls/libc.so.6 (0xb7d5b000) /lib/ld-linux.so.2 (0x80000000) As I already said, the configure process works fine without this. -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle WA |