On Thu, 25 Jan 2001, Oded Arbel wrote:
> I do have both kde1-compat RPMs installed, but they way I see it is this :
> with the --prefix=/usr (as it should be for this system - nothing goes into
> /opt here), ./configure (dumbly) prefer to use the headers from /usr/include
> and the libraries from /usr/lib (where KDE2 and QT2 headers and libraries
> sit) rather then the ones from the /usr/lib/kde1-compat and /usr/lib/qt
> directories - even if I explicitly specify to use the headers and libraries
> fromthe correct dirs (using --with-qt and --with-kde . note on that in a
> sec)!
one should note that the compiler automatically adds /usr/include into the
include path, even if you do't specify -I/usr/include on the command line.
something similar is doen for /usr/lib, regarding libraries.
there is a way around this. it should work but hard to implement.
add the '-nostdinc' flag to the compiler's flags, and '-nostdlib' to
the linker's flags. then add flags to make sure all relevant libraries
and include files are found (i.e. standard C include files from
/usr/include, standard C++ library (kde is written in C++, after all),
standard C library, etc. make sure the flags to include those
directories come AFTER the flags to include kde's and qt's compat
libraries, on the compile line and on the link line.
how to do this - _hope_ that a standard 'configure' script places
compiler and linker flags you specify BEFORE the ones it adds
automatically.
hope this helps a little.
--
guy
"For world domination - press 1,
or dial 0, and please hold, for the creator." -- nob o. dy
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]