Re: LT WinModem and kernel headers

2001-08-13 Thread Rogério Brito
On Aug 12 2001, Guy Geens wrote:
 [1] /usr/src has even been deprecated AFAIK.

What is the best current practice nowadays?

Since I read a post by Linus on the lkml some time ago, I've
been compiling my kernels under my own user tree, and not even
bothering using /usr/src anyway.


[]s, Roger...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogério Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



Re: [ Re: LT WinModem and kernel headers]

2001-08-13 Thread Nathan E Norman
On Sun, Aug 12, 2001 at 02:04:24PM -0700, Paul Scott wrote:
 [1] /usr/src has even been deprecated AFAIK.
 
 Please post anything you know about this.  The Filesystem Hierarechy 
 Standard doesn't mention this.

He simply means that you aren't [0] supposed to compile kernels
there.

/usr/src is under control of the packaging system, so if it were to
blow away your source tree you shouldn't be surprised.  OTOH dpkg has
never yet messed with a /usr/src/kernel-source-N directory, so I
don't think this is a major issue ...

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Ltd. | than a perfect plan tomorrow.
mailto:[EMAIL PROTECTED]   |   -- Patton

[0] According to the authorities ... I've read it but I'm too lazy to
look it up at the moment.


pgpnqWRgncwxg.pgp
Description: PGP signature


Re: LT WinModem and kernel headers

2001-08-13 Thread Nathan E Norman
On Mon, Aug 13, 2001 at 01:26:05AM -0300, Rog?rio Brito wrote:
 On Aug 12 2001, Guy Geens wrote:
  [1] /usr/src has even been deprecated AFAIK.
 
   What is the best current practice nowadays?
 
   Since I read a post by Linus on the lkml some time ago, I've
   been compiling my kernels under my own user tree, and not even
   bothering using /usr/src anyway.

I use /usr/local/src, but that's mostly because I can, and I'd rather
clutter /usr/local/src than my home dir.

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Ltd. | than a perfect plan tomorrow.
mailto:[EMAIL PROTECTED]   |   -- Patton


pgpkv4t1j6tzr.pgp
Description: PGP signature


Re: LT WinModem and kernel headers

2001-08-13 Thread Petr \[Dingo\] Dvorak
On Mon, 13 Aug 2001, Rogério Brito wrote:

RB On Aug 12 2001, Guy Geens wrote:
RB  [1] /usr/src has even been deprecated AFAIK.
RB 
RB What is the best current practice nowadays?
RB 
RB Since I read a post by Linus on the lkml some time ago, I've
RB been compiling my kernels under my own user tree, and not even
RB bothering using /usr/src anyway.

well i guess i'm old fashion, because i still preffer it over anything else
.. it is just a habit i guess ;)

Dingo.


  ).|.(
'.'___'.'
   ' '(~)' '
   -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-ooO-=(_)=-Ooo-=-=-=-=-=-=-=-=-=-=-=-=-=-
Petr [Dingo] Dvorak [EMAIL PROTECTED]
Coder - Purple Dragon MUD   pdragon.org port 
   -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ 369D93 ]=-=-
 Debian version 2.2.19,  up 29 min, 4 users, load average: 0.00
   -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




Re: [ Re: LT WinModem and kernel headers]

2001-08-13 Thread Paul Scott

Nathan E Norman wrote:


On Sun, Aug 12, 2001 at 02:04:24PM -0700, Paul Scott wrote:


[1] /usr/src has even been deprecated AFAIK.

Please post anything you know about this.  The Filesystem Hierarechy 
Standard doesn't mention this.




He simply means that you aren't [0] supposed to compile kernels
there.



I understand compiling and the files involved but I don't yet know where 
all these files go during a kernel compilation.  Doesn't apt-get 
install put kernel sources in subdirectories of /usr/src ?  I guess 
this is what you mean with your next sentence?




/usr/src is under control of the packaging system, so if it were to
blow away your source tree you shouldn't be surprised. 



If I modify the sources and then reinstall them of course I would be in 
trouble?


Thanks,

Paul






Re: [ Re: LT WinModem and kernel headers]

2001-08-13 Thread Nathan E Norman
On Mon, Aug 13, 2001 at 03:11:43AM -0700, Paul Scott wrote:
 Nathan E Norman wrote:
 
 On Sun, Aug 12, 2001 at 02:04:24PM -0700, Paul Scott wrote:
 
 [1] /usr/src has even been deprecated AFAIK.
 
 Please post anything you know about this.  The Filesystem Hierarechy 
 Standard doesn't mention this.
 
 
 He simply means that you aren't [0] supposed to compile kernels
 there.
 
 
 I understand compiling and the files involved but I don't yet know where 
 all these files go during a kernel compilation.  Doesn't apt-get 
 install put kernel sources in subdirectories of /usr/src ?  I guess 
 this is what you mean with your next sentence?

Not really.  What happens when you install the debian
kernel-source-blabla package is a bzipped tarball appears in /usr/src.
Most people then unpack said tarball in /usr/src (creating a directory
/usr/src/kernel-source-blabla), but there's no requirement that you
unpack in /usr/src.
 
In fact, there's no requirement that you use the debian packaged
kernel source ... tarballs from kernel.org are just as valid.  Again,
where you unpack and build them is your choice.

 /usr/src is under control of the packaging system, so if it were to
 blow away your source tree you shouldn't be surprised. 
 
 If I modify the sources and then reinstall them of course I would be in 
 trouble?

No ... think of it this way:

/usr/local/src or /home will never be altered by dpkg.  Anything you
put there will remain there barring disaster or user error.

OTOH, /usr/src _is_ a candidate for alteration by dpkg.  Someone could
devise a diabolical package which finds all the
/usr/src/kernel-source-blabla directories and removes them.  This has
never happened, and I don't see any reason why it should, but why
tempt fate?  Don't put things in directories controlled by dpkg :)

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Ltd. | than a perfect plan tomorrow.
mailto:[EMAIL PROTECTED]   |   -- Patton


pgpyTur6x2AZW.pgp
Description: PGP signature


Re: LT WinModem and kernel headers

2001-08-12 Thread Guy Geens
 Paul == Paul Scott [EMAIL PROTECTED] writes:

Paul I'm still reading every fine manual I can but can you tell me
Paul how I identify the kernel? Are you talking about executable or
Paul source? I actually D/L'd the entired source last night but I'm
Paul not sure if I installed it correctly. apt-get install left me
Paul with a tar.bz2 and I 'm not sure I unpacked in the right folder.

Normally, you should end up with a directory
/usr/src/kernel-source-version. Debian doesn't really force you to
use this directory[1], you can use the location you like. To build the
ltmodem package, just specify --with-kernel-dir=place where you
extracted the tarball

Paul I was trying not to do that but I couldn't find header files
Paul which seemed to be the exact same version as the kernel that I
Paul had installed. I did my install from official CD's but I don't
Paul remember every step. There are supposed to be fout flavors of
Paul 2.2.19pre17: vanilla, compact, idepci and udma66. I only found
Paul headers for compact and idepci.

I'm not sure what the differences are between the header packages. Try
using the vanilla one.

[1] /usr/src has even been deprecated AFAIK.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: [EMAIL PROTECTED] - Work: [EMAIL PROTECTED]
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



[ Re: LT WinModem and kernel headers]

2001-08-12 Thread Paul Scott

Guy Geens wrote:


Paul == Paul Scott  writes:



Paul I was trying not to do that but I couldn't find header files
Paul which seemed to be the exact same version as the kernel that I
Paul had installed. I did my install from official CD's but I don't
Paul remember every step. There are supposed to be fout flavors of
Paul 2.2.19pre17: vanilla, compact, idepci and udma66. I only found
Paul headers for compact and idepci.

I'm not sure what the differences are between the header packages. Try
using the vanilla one.



Thanks for answering.  My point is that I can only find the compact and 
idepci flavors and not the vanilla flavor which matches my kernel 
version even at ftp.debian.org.


My next step is to figure where to put the --with-force=yes parameter.



[1] /usr/src has even been deprecated AFAIK.


Please post anything you know about this.  The Filesystem Hierarechy 
Standard doesn't mention this.


Thanks,

Paul





Re: LT WinModem and kernel headers

2001-08-07 Thread Guy Geens
 Paul == Paul Scott [EMAIL PROTECTED] writes:

Paul I am trying to get my LT WinModem running under potato
Paul 2.2.19pre17 #1 I have downloaded what seem to be the files I
Paul need. Running the install script appropriate for Debian I get
Paul this which I believe is the relevant part of the script output:

Best way to make the package, is to use the --with-kernel-dir= option
to tell it where the kernel is. (I usually compile my own kernels, so
I had the full source tree installed. Never tried it with only the
headers.)

The latest version seems to have problems when you try to compile
against a different kernel version than the one you're running. I had
to reboot with the new kernel before the build succeeded.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: [EMAIL PROTECTED] - Work: [EMAIL PROTECTED]
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: LT WinModem and kernel headers

2001-08-07 Thread Paul Scott

Guy Geens wrote:


Paul == Paul Scott [EMAIL PROTECTED] writes:



Paul I am trying to get my LT WinModem running under potato
Paul 2.2.19pre17 #1 I have downloaded what seem to be the files I
Paul need. Running the install script appropriate for Debian I get
Paul this which I believe is the relevant part of the script output:

Best way to make the package, is to use the --with-kernel-dir= option
to tell it where the kernel is. (I usually compile my own kernels, so
I had the full source tree installed. Never tried it with only the
headers.)



I'm still reading every fine manual I can but can you tell me how I 
identify the kernel?  Are you talking about executable or source?  I 
actually D/L'd the entired source last night but I'm not sure if I 
installed it correctly.  apt-get install left me with a tar.bz2 and I 'm 
not sure I unpacked in the right folder.




The latest version seems to have problems when you try to compile
against a different kernel version than the one you're running. 



I was trying not to do that but I couldn't find header files which 
seemed to be the exact same version as the kernel that I had installed. 
 I did my install from official CD's but I don't remember every step. 
There are supposed to be fout flavors of 2.2.19pre17: vanilla, compact, 
idepci and udma66.  I only found headers for compact and idepci.


I had

to reboot with the new kernel before the build succeeded.




Thanks,

Paul






Re: LT WinModem and kernel headers

2001-08-06 Thread Paul Scott

Paul Scott wrote:


Paul Scott wrote:


[EMAIL PROTECTED] wrote:

I'm not going to tell you to RTFM because I hate when people say 
that. :) 



dpkg -l kernel-headers-2.2.19pre17
  turned up nothing

apt-get install kernel-headers-2.2.19pre17
  seemed to work and left me with:

kernel-headers-2.2.19pre17-compact
kernel-headers-2.2.19pre17-idepci
  but not
kernel-headers-2.2.19pre17

as determined by ls /usr/src

build_deb from ltmodem-5.99b still couldn't find kernel headers



Making directory /usr/src/kernel-headers-2.2.19pre17/include and linking 
it to kernel-headers-2.2.19pre17-idepci/include got me one step further.


checking for make... yes
checking for ld... yes
Checking for kernel headers
  ... in /usr/src/linux: nope
  ... in /usr/src/kernel-headers-2.2.19pre17: Kernel headers found in 
/usr/src/kernel-headers-2.2.19pre17

  ... in /usr/src/linux-2.2.19pre17: nope
  using /usr/src/kernel-headers-2.2.19pre17
Checking kernel header version
  kernel headers are version 2.2.19pre17-idepci
Version of kernel sources (2.2.19pre17-idepci) does not match the version
of the running kernel (2.2.19pre17)
ERROR: Version mismatch

Can anyone tell me why I have kernel-headers-2.2.19pre17-idepci and 
kernel-headers-2.2.19pre17-compact but not one without the suffixes on 
the official CD?  I guess the suffixes are semi-obvious in meaning.  I 
also haven't figured out yet how to really tell what is on the CD's 
directly.  I will check out the ftp sites to see if what I want is there.


TIA,

Paul Scott






Re: LT WinModem and kernel headers

2001-08-06 Thread D. Hoyem
Paul,
  I realize that I'm getting in late on this thread,
but if you go to this web page you should be able to
find the LTModem driver in the .deb version that you
want
http://www.physcip.uni-stuttgart.de/heby/computer/ltmodem/
Don
--- Paul Scott [EMAIL PROTECTED] wrote:
 Hi,
 
 I am an experienced programmer who still has a lot
 to learn/remember 
 about *nix.
 
 I am trying to get my LT WinModem running under
 potato 2.2.19pre17 #1  I 
 have downloaded what seem to be the files I need. 
 Running the install 
 script appropriate for Debian I get this which I
 believe is the relevant 
 part of the script output:
 
 checking for make... yes
 checking for ld... yes
 Checking for kernel headers
... in /usr/src/linux: nope
... in /usr/src/kernel-headers-2.2.19pre17: nope
... in /usr/src/linux-2.2.19pre17: nope
 ERROR: No kernel headers found.
If you have kernel headers installed but
 configure did not
find them, please try --with-kernel=dir,
 otherwise please
install the kernel headers from your
 distribution.
 make: Nothing to be done for `debian'.
 The configuration utility is absent!
 
 
 How can I tell what headers are missing?  Duh! 
 Should I go read the 
 install script?
 
 How do I install them?
 
 I have been reading anything I can to get a basic
 understanding here. 
 Any suggestions of what to read or what to do would
 be very welcome.
 
 TIA,
 
 Paul Scott
 
 
 -- 
 To UNSUBSCRIBE, email to
 [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



Re: LT WinModem and kernel headers

2001-08-06 Thread Dimitri Maziuk
Find out what kernel version you're running (man uname) and
install kernel-source package for that vesrion. Symlink 
/usr/src/linux to wherever kernel source is installed.
Disclaimer: I haven't used debian kernel packages since I don't 
remember when.

I heartily recommend installing kernel-package and rolling your own 
kernels (d/load plain kernel sources, untar into /usr/src/linux,type 
'cd /usr/src/linux  make config  make-kpkg kernel_image').

Dima
-- 
E-mail dmaziuk at bmrb dot wisc dot edu (@work) or at crosswinds dot net (@home)
http://www.bmrb.wisc.edu/descript/gpgkey.dmaziuk.ascii -- GnuPG 1.0.4 public key
One distinguishing characteristic of BOFHen is attention deficit disorder.  
Put me in front of something boring and I can find a near-infinite number 
of really creative ways to bugger off.  -- Antony De Boer in asr



Re: LT WinModem and kernel headers

2001-08-06 Thread JakeCatfox
It appears to me that when you are trying to make this driver, what it's 
complaining about is either that your kernel is not the same version as your 
kernel sources in usr/src, or that this source can't work with the version of 
either you have. Make sure you have the SAME version kernel as your kernel 
headers and try it again.

-- Deven




In a message dated 8/6/01 5:31:27 AM Eastern Standard Time, 
[EMAIL PROTECTED] writes:

 Can anyone tell me why I have kernel-headers-2.2.19pre17-idepci and 
 kernel-headers-2.2.19pre17-compact but not one without the suffixes on 
 the official CD?  I guess the suffixes are semi-obvious in meaning.  I 
 also haven't figured out yet how to really tell what is on the CD's 
 directly.  I will check out the ftp sites to see if what I want is there.
 
 TIA,
 
 Paul Scott 



Re: LT WinModem and kernel headers

2001-08-06 Thread D. Hoyem
Deven,
  You hit the nail on the head there... If Paul would
go to linmodems.org and look around there he would
probably find a .deb for his version of kernel and
then he wouldn't need the headers.
Don 
--- [EMAIL PROTECTED] wrote:
 It appears to me that when you are trying to make
 this driver, what it's 
 complaining about is either that your kernel is not
 the same version as your 
 kernel sources in usr/src, or that this source can't
 work with the version of 
 either you have. Make sure you have the SAME version
 kernel as your kernel 
 headers and try it again.
 
 -- Deven
 
 
 
 
 In a message dated 8/6/01 5:31:27 AM Eastern
 Standard Time, 
 [EMAIL PROTECTED] writes:
 
  Can anyone tell me why I have
 kernel-headers-2.2.19pre17-idepci and 
  kernel-headers-2.2.19pre17-compact but not one
 without the suffixes on 
  the official CD?  I guess the suffixes are
 semi-obvious in meaning.  I 
  also haven't figured out yet how to really tell
 what is on the CD's 
  directly.  I will check out the ftp sites to see if
 what I want is there.
  
  TIA,
  
  Paul Scott 
 
 
 -- 
 To UNSUBSCRIBE, email to
 [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



Re: LT WinModem and kernel headers

2001-08-06 Thread Paul Scott

D. Hoyem wrote:


Paul,
  I realize that I'm getting in late on this thread,
but if you go to this web page you should be able to
find the LTModem driver in the .deb version that you
want
http://www.physcip.uni-stuttgart.de/heby/computer/ltmodem/



Thanks.  That's where I got ltmodem-5.99b.  I believe the problem is my 
lack of certain knowledge of my system.


First I had no kernel headers installed.  Now I was able to install the 
only two packages I have found so far which were close to the needed 
kernel-headers-2.2.9pre17  I tried a link to one of those but there was 
a version conflict.  I need to rescan my install CD's or find out the 
meaning of the two kernel header packages that I found.


My post at 3:39 MST - 10:39 UT is the latest development in this.

Thanks again,

Paul



Re: LT WinModem and kernel headers

2001-08-06 Thread Paul Scott

D. Hoyem wrote:


Deven,
  You hit the nail on the head there... If Paul would
go to linmodems.org and look around there he would
probably find a .deb for his version of kernel and
then he wouldn't need the headers.
Don 
--- [EMAIL PROTECTED] wrote:



It appears to me that when you are trying to make
this driver, what it's 
complaining about is either that your kernel is not
the same version as your 
kernel sources in usr/src, or that this source can't
work with the version of 
either you have. Make sure you have the SAME version
kernel as your kernel 
headers and try it again.


-- Deven


I think we are all very close.  I have done my best at all places that 
linmodems.org leads to which is the path that lead me to ltmodem-5.99b.


As much as I have decoded from the included scripts leads me to believe 
that the install will work if I can get the kernel headers installed on 
my machine that match my kernel.


My kernel seems to be 2.2.19pre17 as reported by uname.

The only files I have found so far - I used dpkg on my system and just 
went to ftp.debian.org are:


kernel-headers-2.2.19pre17-compact and kernel-headers-2.2.19pre17-idepci.

The install script thinks that it wants:

kernel-headers-2.2.19pre17

This is determined by a very long configure script called from the 
install script.  I have found the place in that configure script where 
the mismatch is declared but have not yet figured how that script 
determines that.


I am offered an option to override the kernel header name but that 
parameter seems to need to be edited into the install script.


It's either that or understanding what the kernel header names above mean.

I have just D/L'd the documentation for my kernel from ftp.debian.org 
and will read that.  I believe that documentation is already on my 
system but I am still learning where to find some things.


Thanks,

Paul



LT WinModem and kernel headers

2001-08-05 Thread Paul Scott

Hi,

I am an experienced programmer who still has a lot to learn/remember 
about *nix.


I am trying to get my LT WinModem running under potato 2.2.19pre17 #1  I 
have downloaded what seem to be the files I need.  Running the install 
script appropriate for Debian I get this which I believe is the relevant 
part of the script output:


checking for make... yes
checking for ld... yes
Checking for kernel headers
  ... in /usr/src/linux: nope
  ... in /usr/src/kernel-headers-2.2.19pre17: nope
  ... in /usr/src/linux-2.2.19pre17: nope
ERROR: No kernel headers found.
  If you have kernel headers installed but configure did not
  find them, please try --with-kernel=dir, otherwise please
  install the kernel headers from your distribution.
make: Nothing to be done for `debian'.
The configuration utility is absent!


How can I tell what headers are missing?  Duh!  Should I go read the 
install script?


How do I install them?

I have been reading anything I can to get a basic understanding here. 
Any suggestions of what to read or what to do would be very welcome.


TIA,

Paul Scott



Re: LT WinModem and kernel headers

2001-08-05 Thread JakeCatfox
I'm not going to tell you to RTFM because I hate when people say that. :) I'd 
say, first off, install the linux kernel sources into /usr/src (it should 
make a /linux dir and dump all the stuff in there when you un-tar/gz it.) 
Then try running it. Note  that if the driver won't work, try an older 
version-- that's what I did, and it started working only then.



In a message dated 8/5/01 6:26:34 PM Eastern Daylight Time, 
[EMAIL PROTECTED] writes:

 How can I tell what headers are missing?  Duh!  Should I go read the 
 install script?
 
 How do I install them?
 
 I have been reading anything I can to get a basic understanding here. 
 Any suggestions of what to read or what to do would be very welcome.
 
 TIA,
 
 Paul Scott 



Re: LT WinModem and kernel headers

2001-08-05 Thread Aaron Maxwell
On Sunday 05 August 2001 17:00, Paul Scott wrote:
 Brett Parker wrote:
  On Sun, Aug 05, 2001 at 03:34:44PM -0700, Paul Scott wrote:
  have you got the kernel-headers-2.2.19pre17 package installed? if
  not, that's what you are missing.
 How do I determine whether that package is installed?  With dpkg or
 apt-get?  Where should the headers be?

Use 'dpkg -l package_name'.  If you have the package installed, it will 
print out version info like this (my system, shiznit, has a 2.2.18 
kernel):

shiznit[3]% dpkg -l kernel-headers-2.2.18pre21
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)
||/ Name   VersionDescription
+++-==-==-==
ii  kernel-headers 2.2.18pre21-1  Header files related to Linux kernel

The last line shows that I have the 2.2.18pre21 package installed.  If 
you query a package that is not installed it will say it's not found:

shiznit[4]% dpkg -l kernel-headers-2.2.19pre17
No packages found matching kernel-headers-2.2.19pre17.

(That means No INSTALLED packages found matching 
kernel-headers-2.2.19pre17.)

afaik there's no /usr/bin/is_this_pkg_installed command - the above 
is closest.  Clear?

Aaron



Re: LT WinModem and kernel headers

2001-08-05 Thread Brett Parker
On Sun, Aug 05, 2001 at 03:34:44PM -0700, Paul Scott wrote:
 Hi,
 
 I am an experienced programmer who still has a lot to learn/remember 
 about *nix.
 
 I am trying to get my LT WinModem running under potato 2.2.19pre17 #1  I 
 have downloaded what seem to be the files I need.  Running the install 
 script appropriate for Debian I get this which I believe is the relevant 
 part of the script output:
 
 checking for make... yes
 checking for ld... yes
 Checking for kernel headers
... in /usr/src/linux: nope
... in /usr/src/kernel-headers-2.2.19pre17: nope
... in /usr/src/linux-2.2.19pre17: nope
 ERROR: No kernel headers found.
If you have kernel headers installed but configure did not
find them, please try --with-kernel=dir, otherwise please
install the kernel headers from your distribution.
 make: Nothing to be done for `debian'.
 The configuration utility is absent!
 
 
 How can I tell what headers are missing?  Duh!  Should I go read the 
 install script?
 
 How do I install them?
 
 I have been reading anything I can to get a basic understanding here. 
 Any suggestions of what to read or what to do would be very welcome.
 
 TIA,
 
 Paul Scott

have you got the kernel-headers-2.2.19pre17 package installed? if not,
that's what you are missing.

Thanks,

Brett


pgpex1o9ieAyG.pgp
Description: PGP signature


Re: LT WinModem and kernel headers

2001-08-05 Thread Paul Scott

Brett Parker wrote:


On Sun, Aug 05, 2001 at 03:34:44PM -0700, Paul Scott wrote:


Hi,

I am an experienced programmer who still has a lot to learn/remember 
about *nix.


I am trying to get my LT WinModem running under potato 2.2.19pre17 #1  I 
have downloaded what seem to be the files I need.  Running the install 
script appropriate for Debian I get this which I believe is the relevant 
part of the script output:


checking for make... yes
checking for ld... yes
Checking for kernel headers
  ... in /usr/src/linux: nope
  ... in /usr/src/kernel-headers-2.2.19pre17: nope
  ... in /usr/src/linux-2.2.19pre17: nope
ERROR: No kernel headers found.
  If you have kernel headers installed but configure did not
  find them, please try --with-kernel=dir, otherwise please
  install the kernel headers from your distribution.
make: Nothing to be done for `debian'.
The configuration utility is absent!


How can I tell what headers are missing?  Duh!  Should I go read the 
install script?


How do I install them?

I have been reading anything I can to get a basic understanding here. 
Any suggestions of what to read or what to do would be very welcome.


TIA,

Paul Scott



have you got the kernel-headers-2.2.19pre17 package installed? if not,
that's what you are missing.



From reading the build_deb script that I was using I see that I need to 
read the Makefile to understand the next level but in case that doesn't 
answer my question:


How do I determine whether that package is installed?  With dpkg or 
apt-get?  Where should the headers be?


Thanks,

Paul





Re: LT WinModem and kernel headers

2001-08-05 Thread Paul Scott

[EMAIL PROTECTED] wrote:

I'm not going to tell you to RTFM because I hate when people say that. :) 



I have been reading everything I can find most of which is at LDP or 
places linked to there.  I've found many answers but not some of the 
structural answers I need.  I'll admit being somewhat anxious to get 
connected through my Debian system so I don't have to keep switching 
OS's to get to information.


I'd 
say, first off, install the linux kernel sources into /usr/src (it should 
make a /linux dir and dump all the stuff in there when you un-tar/gz it.)



I did a basic install from Debian CD's and thought all those packages 
would have been installed.  I now see that none of the sources seem to 
be there.  I'll check all that out again now that I know more what I'm 
looking for.


The closest I've to finding anything that describes the structure of 
Linux is Linux From Scratch which is pretty good.  Is there an O'Reilly 
book or some part of the LDP that you would recommend?



Then try running it. Note  that if the driver won't work, try an older 
version-- that's what I did, and it started working only then.


Thanks,

Paul



Re: LT WinModem and kernel headers

2001-08-05 Thread Paul Scott

Paul Scott wrote:


[EMAIL PROTECTED] wrote:

I'm not going to tell you to RTFM because I hate when people say that. :) 


I have been reading everything I can find most of which is at LDP or 
places linked to there.  I've found many answers but not some of the 
structural answers I need.  I'll admit being somewhat anxious to get 
connected through my Debian system so I don't have to keep switching 
OS's to get to information.


I'd say, first off, install the linux kernel sources into /usr/src (it 
should make a /linux dir and dump all the stuff in there when you 
un-tar/gz it.)


I did a basic install from Debian CD's and thought all those packages 
would have been installed.  I now see that none of the sources seem to 
be there.  I'll check all that out again now that I know more what I'm 
looking for.


The closest I've to finding anything that describes the structure of 
Linux is Linux From Scratch which is pretty good.  Is there an O'Reilly 
book or some part of the LDP that you would recommend?



dpkg -l kernel-headers-2.2.19pre17
  turned up nothing

apt-get install kernel-headers-2.2.19pre17
  seemed to work and left me with:

kernel-headers-2.2.19pre17-compact
kernel-headers-2.2.19pre17-idepci
  but not
kernel-headers-2.2.19pre17

as determined by ls /usr/src

build_deb from ltmodem-5.99b still couldn't find kernel headers

TIA for either what to do or what to read.


Thanks,

Paul