if the .h file is in a non-standard dir, the easiest way to make the build
process find it is probably like this:
CPPFLAGS='-I/usr/lib/qt-3.0.5/include' ./configure

(with whatever dir is appropriate, of course, that's where qthread.h is
for me on rh8.0)
then continue the make normally from there.

you can see what your normal include paths are with:
cpp -v

i don't believe there's any sort of config file to modify that list --
it's set at gcc's/cpp's compile-time.  there are environment variables
that can modify that list, see cpp's man page for details, but most all
"configure" scripts understand CPPFLAGS anyway, so i'd recommend doing
that.

compile-time locations of headers aren't controlled by a mechanism like
ldconfig -- ldconfig is for shared libraries, and is more of a run-time
mechanism rather than compile-time one anyway.

good luck.

-tcl.



On Mon, 24 Feb 2003, Kjell Holen wrote:

> I have upgraded to RH  7.3  and is trying to compile a prog (./configure,
> make) and get an error that it can not find "qthread.h" file  The file is
> there. I have found it. Assume some "db info" is broker. Is there a command
> the can "refresh" where all h file is? How do the comp. look for h files? I
> tried ldconfig, but that did not help. Where should I search for this type
> of info? (have done a few search in groups, but did not find any usefull)
> rgds  Kjell
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to