Missing Includes directive in doing make
I am compiling a bluefish application in a slackware 14.0 (kernel 3.2.29), but I got stuck when I run make and it seemed to have problem when it tried to run gcc in which it complains that some header files are missing. I compare this on another slackware machine (version 13.37) in which the compilation runs OK, that there is some Include directives that are missing in the 14.0 machine. Here are the log when the problem occurred on slackware 14.0 and below it is the log of the exact same point of the compilation process on slackware 13.37 when it went OK.
got problem (slackware 14.0)
You can notice that on the command gcc that is issued, the one that works has lots of include directive to all the dependent package subdirectories under the /usr/include. While on the one that stuck it has no -I directive and it was the reason why it cannot find the gmodule.h
So I think there is something amiss in either when I was doing ./configure or when running the make process itself.
Can someone please help me in pointing out in direction should I looking to find the solution of this problem ? I am really lost when it got to all this C code compilation business..
PS: I ran the slackbuilds as well for this and got stuck at the same point. In fact I ran slackbuild first and got stuck so I tried my luck to compile it by hand.
I am not a slackware user, but know this problem generally occurs when ./configure has some problems with dependecies
look at the ./configure output. you might find that there are missing dependancies.
in your case, glib is missing or not properly configured (gmodule.h is part of glib)
you can check using
make sure you didn't skip some required steps in the installation.
(steps that install gtk2 for example...)
Moved: This thread is more suitable in Slackware forum and has been moved accordingly to help your thread/question get the exposure it deserves.
Thank you for your answer. YES ! it turns out I am missing some dependencies.. Thank you for pointing out that pkg-config command to me. Eventhough the dependencies were not that obvious because I installed the gtk, glib etc. but it turned out that there were other dependencies required by those packages as well and the pkg-config command revealed that. Once those dependencies were installed then the compile went through fine. Thanks once more.
|All times are GMT -5. The time now is 04:12 AM.|