LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-13-2002, 09:32 AM   #1
niton
Member
 
Registered: Jul 2002
Location: CH
Distribution: Mandrake 9.1
Posts: 41

Rep: Reputation: 15
Issue with ./configure


Hi everyone,

I have Redhat 7.3 on my Dell Latitude c840.

I am trying to install the driver Pctel-0.9.6 for my internal modem but I'm having trouble when I want to "./configure".

What is the command line when the path to my include is not the one by default??? I have tried this :

./configure --with-kernel-includes=/usr/src/linux-2.4.18-3/include

But then i am asked to type : ./configure --with-hal=list

...and to select one of : pct789, cm8738, i8xx, sis, via686a

What is the right command line to say that I want to select pct789 and point to the rignt path (/usr/src/linux-2.4.18-3/include)??? I have tried this :

./configure --with-hal=pct789 --with-kernel-includes=/usr/src/linux-2.4.18-3/include (in one line)

For me at this point it seems to work but I have no idea if my command line is possible.

I went on and typed "make". It went ok.
But when I typed "make install" I got this error :

/bin/sh: depmod : command not found

So could anyone tell me what have I done wrong ?

Thanks a lot


__________________
Niton

 
Old 11-13-2002, 09:56 AM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Are you make install'ing as root?
anyway this how you supposed to do. My main concern is that a developer just slapped in depmod -yadayada into Makefile without determinig the full path to it. A nd see first if you have it, I doubt it you don't because it is an essential utility for linux to be able to run
/sbin/depmod is the usual place.
So if depmod is on your system, then there are two ways to do it, first is no brainer - just su to root with
/bin/su -
it will load the environment for root instead of keeping the environment for a current user; then navigate to the directory where the drivers are and do
make install
another possibility just edit Makefile in the current directory to read /sbin/depmod instead of depmod and do make install
as root, but you can become root without loading env for root with
/bin/su
no dash here at the end.
I suggest the first method - no-brainer.
 
Old 11-13-2002, 10:18 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if that's the only place where the kernel includes are located, you should really create a symlink to /usr/include to make it more rigid.

ln -s /usr/src/linux-2.4.18-3/include/linux /usr/include/

theny ou shouldn't need the prefix anyway
 
Old 11-13-2002, 10:49 AM   #4
niton
Member
 
Registered: Jul 2002
Location: CH
Distribution: Mandrake 9.1
Posts: 41

Original Poster
Rep: Reputation: 15
Neo77777, "/bin/su -" seems to work, TX. Could you tell me more about this command line ? I was su when I was make install'ing. Why do I need this ?

Now I'm having another problem with these command lines

insmod pctel went fine

but

insmod ptserial gave me this error :

using /lib/modules/2.4.18-3/misc/ptserial.o will taint the kernel:non-GPL License - GPL linked with proprietary librairies /lib/modules/2.4.28-3/misc/ptserial.o:init_module: Input/output error
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configure php5 and mysql issue jiawj Programming 1 08-17-2005 03:34 PM
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 03:52 PM
configure qt thread issue (just compiled qt w/ -thread option) cleff Linux - Software 8 05-07-2004 11:11 PM
Having Issue w/ Truetype fonts - Mozilla Issue clove Linux - Software 4 02-18-2004 08:26 AM
DB2 8.1 on Redhat 7.2 - PHP Configure issue jkpalmer52 Linux - Newbie 0 11-04-2003 11:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:11 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
Open Source Consulting | Domain Registration