LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   KDE 3.5.1 Konstruct has problems finding necessary header files (https://www.linuxquestions.org/questions/linux-newbie-8/kde-3-5-1-konstruct-has-problems-finding-necessary-header-files-412062/)

JcN 02-05-2006 09:52 PM

KDE 3.5.1 Konstruct has problems finding necessary header files
 
I'm trying to install the latest version of KDE (v3.5.1) with Konstruct. However, when Konstruct gets around to building the Qt 3.3.5 components, g++ returns many, many errors associated with various Qt source files. Reading the list of errors, I found that the reason for this is that none of the common header files (i.e. zlib.h, png.h, all the X-Windows headers, like xlib.h, xconf.h, etc. etc.) cannot be found. I tried searching for these files and just copying them over to the directories g++ expects them to be in, and managed to get some parts of Qt to compile, but isn't there an easier way? Is there some script I can modify that changes the target for included files? I don't want to have to copy hundreds of files into Konstruct's directory if I can avoid it!

Tinkster 02-06-2006 03:35 PM

I'd personally add a
Code:

-I
statement with the paths to the actual
directories.


Cheers,
Tink

Mara 02-06-2006 03:57 PM

Look for gar.conf.mk (that was the configuration file in one of the previous versions). It's a configuration file, with meny interesting options. Should be a place to add new directories $INCLUDES (or something similar used for the same purpose).


All times are GMT -5. The time now is 04:28 AM.