Linmodems Mailing list Archives

Google
 
Web archives.linmodems.org

Return-Path: <mborgnia@nih.gov>
Mailing-List: contact discuss-help@linmodems.org; run by ezmlm
Delivered-To: mailing list discuss@linmodems.org
Received: (qmail 2333 invoked from network); 6 Jun 2002 17:16:58 -0000
Received: from kafka.net.nih.gov (165.112.130.10)
  by www.linmodems.org with SMTP; 6 Jun 2002 17:16:58 -0000
Received: from parachute1-156-40-64-86.net.nih.gov (parachute1-156-40-64-86.net.nih.gov [156.40.64.86])
	by kafka.net.nih.gov (/8.10.1) with ESMTP id g56HGrQ19749;
	Thu, 6 Jun 2002 13:16:53 -0400 (EDT)
Subject: Re: Problems in compiling pctel-0.9.2
From: "Mario J. Borgnia" <mborgnia@nih.gov>
To: Matthew Saltzman <mjs@ces.clemson.edu>
Cc: "discuss@linmodems.org" <discuss@linmodems.org>
In-Reply-To: 
	<Pine.GSO.4.33.0206061117090.1589-100000@orchard-hays.ces.clemson.edu>
References: 
	<Pine.GSO.4.33.0206061117090.1589-100000@orchard-hays.ces.clemson.edu>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.3 (1.0.3-6) 
Date: 06 Jun 2002 13:14:19 -0400
Message-Id: <1023383672.2811.44.camel@diogenes.nci.nih.gov>
Mime-Version: 1.0

I had suspected that the problem had something to do with KERNEL_VERSION
and tried to hack it a little bit. Thanks to Matthew Saltzman for his
succinct message, it pushed me over the top of the Activation Energy
peak. So I set up to figure out what was wrong.
 
I had set up KERNEL_VERSION explicitly by editing it 

KERNEL_VERSION=2.4.18-3

And made a copy 'cp configure configure-good'

Then I issued "./configure" command. Up to here the procedure was
successful. I compared configure and configure-good, the file was not
changed.

After that, I ran "make", which failed as follows:

>>configure: error: You should have linux kernel >= 2.4.0 installed

I compared the two configure files again and they were quite different
this time. Among numerous other changes the KERNEL_VERSION line was
reverted to the original. I tried both changing it back or reverting to
the originally modified configure and running "make". BOTH APPROACHES
WORKED and I got the compiled modules.

Issuing su in RedHat 7.3 does not include the appropriate path, thus,
the make install script fails at depmod. The solution is to shift to a
console (e.g Alt F2), log as root and make install.

I hope this helps the next in line.
Thank you guys for developing the modules.

Mario


In Thu, 2002-06-06 at 11:18, Matthew Saltzman wrote:
> On 5 Jun 2002, Mario J. Borgnia wrote:
> 
> > Hi,
> >
> > I've been trying to compile the module for my Eigerlabs modem. The error
> > log follows
> 
> > checking for Linux kernel version >= 2.4.0... ./configure: test: too
> > many arguments
> > no
> > configure: error: You should have linux kernel >= 2.4.0 installed
> > make: *** [config.status] Error 1
> 
> Edit the configure script and set KERNEL_VERSION explicitly.
> 
> -- 
> 		Matthew Saltzman
> 
> Clemson University Math Sciences
> mjs@clemson.edu
> http://www.math.clemson.edu/~mjs
-- 
+---------------------------------+
| Mario J. Borgnia, Ph. D.        |
|                                 |
| Lab of Cell Biology             |
| NIH NCI/CCR                     |
| 50 South Drive Rm 4306 MSC 8008 |
| Bethesda MD 20892-8008          |
|                                 |
| Tel: (301) 594 0563             |
| mborgnia@nih.gov                |
+---------------------------------+
"Those who would sacrifice 
 essential freedoms for temporary 
 safety deserve neither."
               -- Benjamin Franklin


Webmaster: Russell Nelson
Last modified: Wed Jul 30 11:02:43 EDT 2003