From kde-devel Tue Oct 30 19:05:11 2001 From: David Faure Date: Tue, 30 Oct 2001 19:05:11 +0000 To: kde-devel Subject: Re: solution to dlopen() problems X-MARC-Message: https://marc.info/?l=kde-devel&m=100447015700874 On Mardi 30 Octobre 2001 19:49, Kai Heitkamp wrote: > On Dienstag, 30. Oktober 2001 18:22, Kai Heitkamp wrote: > > I don't have the dlfcn.h on my system, where can I get the package > > Sorry, I have the dlfcn.h in /usr/include, but configure don't find them ! > ( Checking for dlfcn.h... no ) Well you're a KDE developer (says your address), so you should be able to debug it ;) (I'm joking - autoconf/m4 is quite difficult! :) Look at config.log, you should see what happens when it's looking for dlfcn.h (including the error message). If that doesn't give enough info, add debug output in the configure script (yay ;). Configure tries to pre-process (not compile, not link nor run), a program that only contains #include "confdefs.h" (that's internal to configure, in a way) #include Try compiling that (2nd line only) with cpp to see what it says.... Hmmmmmmmmm it seems to me that the configure script checks for the value of CPP _after_ doing the above check !? Maybe the fix is something like AC_REQUIRE([AC_PROG_CPP])dnl added before AC_REQUIRE([AC_PROG_CC])dnl in libltdl/ltdl.m4 ? Just a wild guess, needs testing (in particular, check where CPP is assigned and used in the resulting configure script. Looks it's used before being assigned, here). -- David FAURE, david@mandrakesoft.com, faure@kde.org http://perso.mandrakesoft.com/~david/ , http://www.konqueror.org/ KDE 3.0: Konquering the Desktops >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<