LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-08-2004, 04:43 PM   #1
gkemper
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, 07:49 PM   #2
mikshaw
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, 09:10 PM   #3
gkemper
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, 09:40 PM   #4
gkemper
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, 09:31 PM   #5
bolinux
Member
 
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.
 
  


Reply


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 11:11 PM
./configure can't find Qt death_au Linux - Software 5 03-03-2007 10:43 AM
./configure cant find libXext addison014 Linux - Newbie 4 03-15-2005 04:10 PM
Where can i find the serial configure file? alice95089 Linux - Software 2 12-22-2004 09:55 PM
can't find it and configure it... NonSumPisces Linux - Software 1 05-26-2004 07:29 PM


All times are GMT -5. The time now is 03:59 PM.

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