Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-08-2004, 03:43 PM   #1
LQ Newbie
Registered: Feb 2004
Distribution: RH 7.3, Mandrake 9.2
Posts: 7

Rep: Reputation: 0
configure can't find a file

I am looking for some help on compiling some drivers. Actually this happens alot.

Currently I am compiling libnjb to work with my Creative Jukebox. Configure errors out stating:

checking for usb.h... no
configure: error: I can't find the libusb header file on your system. You may
need to set the CPPFLAGS environment variable to include the
search path where you have libusb installed before running
configure (e.g. setenv CPPFLAGS=-I/usr/local/include)

I looked for the usb.h file and found it under /usr/include/linux so I am assuming that the configure script is lookin in the wrong place?

The gnomad2 also couldn't find gtk 2.0 even though I am running the gnome desktop.

I am using Mandrake 9.2. This seems to be a reoccuring problem with any distribution. Shouldn't these things be in standard locations? I was compiling something for Fedora and it figured it couldn't find X11 even thought I was in it!!

Is there some kind of parameter I should specify? I am also doing this as root so it shouldn't be permissions.
Old 02-08-2004, 06:49 PM   #2
LQ Addict
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
so if you do as is suggested, setenv CPPFLAGS=-l/usr/include/linux
it should work.
Different distros sometimes place necessary libraries and other environment files in different locations. If you've found that you have the necessary files installed, then adding the path to these files to your environment should fix the problem.
Old 02-08-2004, 08:10 PM   #3
LQ Newbie
Registered: Feb 2004
Distribution: RH 7.3, Mandrake 9.2
Posts: 7

Original Poster
Rep: Reputation: 0
Sorry I should have mentioned that I tried that but it tells me bash: setenv: command not found.

I have GCC 3.3.1

Any Idea?
Old 02-08-2004, 08:40 PM   #4
LQ Newbie
Registered: Feb 2004
Distribution: RH 7.3, Mandrake 9.2
Posts: 7

Original Poster
Rep: Reputation: 0
Nevermind. Figured it out. It is part of the ./configure scripts. I just added it on the end and it worked. Except there are more parameters that need to be fixed.

Does anybody know if there is a more "standard" distro?
Old 03-07-2004, 08:31 PM   #5
Registered: Oct 2003
Distribution: Fedora Core 1 with KDE 3.2
Posts: 257

Rep: Reputation: 30
See if you can find a rpm for mandrake. There are ones for fedora and redhat already.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
./configure can never find x ??? Stevetgn Linux - Software 4 04-28-2009 10:11 PM
./configure can't find Qt death_au Linux - Software 5 03-03-2007 09:43 AM
./configure cant find libXext addison014 Linux - Newbie 4 03-15-2005 03:10 PM
Where can i find the serial configure file? alice95089 Linux - Software 2 12-22-2004 08:55 PM
can't find it and configure it... NonSumPisces Linux - Software 1 05-26-2004 06:29 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration