LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   include and lib paths (https://www.linuxquestions.org/questions/slackware-14/include-and-lib-paths-20254/)

Mux 05-05-2002 07:08 PM

include and lib paths
 
Hi there, i'm new to the forum and need some help :)

My problem is that trying to compile a gtk program, the configure script failed to find the gtk.h file at first. Therefore I looked for it and found it in /opt/gnome/include/gtk-1.2/gtk/

It came to my mind that maybe this dir should be in some other place as /usr/include or something elselike, but i paid no attention to it.

I created a symlink to that dir in the src dir of the prog i was compiling. This worked, but the included file gtk.h was now asking for all the other gtk includes...

My question is where can i make the /opt/.../gtk/ dir a common
dir to be looked at by any conf script? or maybe this is done by default and this specific conf has something wrong??

By the way i'm runnig slack 8, my first shot at it, though i've already tried debian 2.1 and redhats 5.2, 6.1 and 7.0

I love the hand tweaking and i was not used to it in red hat, and
now i bump against stupid problems like these :mad: :mad:

Thanks
Mux

Aussie 05-05-2002 09:06 PM

You can pass options to configure when you run it, do "./configure --help" in the source directory for a list of the options for the package your trying to install.


All times are GMT -5. The time now is 05:01 PM.