'make config' issues.

1997-12-06 Thread Christopher R. Barry
I apologise for this newbie question but what do I do to get 'make
config' to exist? I installed Debian several days ago and just learned
today that the reason why my mouse doesn't work is because I need to
compile support into the kernel. When I go to /usr/src/linux and type
'make config' I just get a bash error message saying that the make
command was not found. Arggg The HOWTOs and FAQs do mention how
to configure and compile the source, but they say nothing about
obtaining 'make config' which is essential to the process. I tried
installing all the packages I thought were relevent, such as gcc, but
nothing works

Thank you,

Christopher Barry


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: 'make config' issues.

1997-12-06 Thread Oliver Elphick
Christopher R. Barry wrote:
  I apologise for this newbie question but what do I do to get 'make
  config' to exist? I installed Debian several days ago and just learned
  today that the reason why my mouse doesn't work is because I need to
  compile support into the kernel. When I go to /usr/src/linux and type
  'make config' I just get a bash error message saying that the make
  command was not found. Arggg The HOWTOs and FAQs do mention how
  to configure and compile the source, but they say nothing about
  obtaining 'make config' which is essential to the process. I tried
  installing all the packages I thought were relevent, such as gcc, but
  nothing works

It sounds as if you need to install the make package.

If you haven't installed that, have you installed the C compiler, gcc?  You
will also need that and several other things to compile the kernel.  These 
are in the Standard devel section in dselect.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: 'make config' issues.

1997-12-06 Thread Carey Evans
Christopher R. Barry [EMAIL PROTECTED] writes:

 I installed Debian several days ago and just learned
 today that the reason why my mouse doesn't work is because I need to
 compile support into the kernel. When I go to /usr/src/linux and type
 'make config' I just get a bash error message saying that the make
 command was not found.

(That's bash: make: command not found, right?)

The `make' command is (surprise!) in the make package, so make sure
that's installed.  (dpkg -l make)  I recommend `make menuconfig' over
plain make config, too.

While you're at it, install kernel-package and read its README, which
explains how to build a Debian package with your new kernel, which is
very useful.

-- 
Carey Evans  *  http://home.clear.net.nz/pages/c.evans/  gc

 Trust Ivanova.  Trust yourself.  Anybody else - shoot 'em.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: 'make config' issues.

1997-12-06 Thread Daniel Martin
On Fri, 5 Dec 1997, Christopher R. Barry wrote:

   I installed Debian several days ago and just learned
 today that the reason why my mouse doesn't work is because I need to
 compile support into the kernel.

Well, below I give you what I think is a full set of packages needed to
compile a kernel, but why are you doing this?  I don't believe you when
you say that you need to recompile a kernel to get mouse support -
debian's default 1.3.1 kernel has support for Ps2 mice and bus mice
compiled as modules for the kernel.  When you went through the setup
process, do you remember a screen that asked you to load various device
driver modules (scsi, network cards, etc.)?  My guess is that you didn't
select the appropriate device driver module for your particular mouse.
Install the modconf package and (as root) run modconf.  See if you can't
find your modules under the section misc.  That's much less painful than
recompiling a kernel can be.

  When I go to /usr/src/linux and type
 'make config' I just get a bash error message saying that the make
 command was not found. Arggg The HOWTOs and FAQs do mention how
 to configure and compile the source, but they say nothing about
 obtaining 'make config' which is essential to the process. I tried
 installing all the packages I thought were relevent, such as gcc, but
 nothing works
 
To compile a kernel, you need at least:
the 'make' package
the 'gcc' package
the 'libc5-dev' package (well, maybe you can get away without this one,
 now that I think about it)
the 'binutils' package
the 'bin86' package
kernel source (either from one of the kernel-source packages or from a
   .tar.gz file downloaded from ftp.kernel.org)

The 'kernel-package' package, while highly recommended, is not technically
necessary.  However, it makes the whole process of compiling and
installing a new kernel much less painful.

If you want to do the menu-based configuration ('make menuconfig' instead
of 'make config'), you'll need the ncurses3.0-dev package.

The X-windows based configuration requires some TK-dev package and I think
some tcl-dev package as well.  (And, of course, a working X windows)

But again, I don't believe that you need to do this.  Try modconf first.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: 'make config' issues.

1997-12-06 Thread Qiang Rao
Excerpts from debian: 6-Dec-97 Re: 'make config' issues.  by Oliver
Elphick@lfix.co 
   I apologise for this newbie question but what do I do to get 'make
   config' to exist? I installed Debian several days ago and just learned=
  
   today that the reason why my mouse doesn't work is because I need to
   compile support into the kernel. When I go to /usr/src/linux and type
   'make config' I just get a bash error message saying that the make
   command was not found. Arggg The HOWTOs and FAQs do mention ho=
 w
   to configure and compile the source, but they say nothing about
   obtaining 'make config' which is essential to the process. I tried
   installing all the packages I thought were relevent, such as gcc, but
   nothing works
  
 It sounds as if you need to install the make package.

I am assuming that you have read all the other advises from this dlist.
But before you try any of them, I would make sure that the make
command is in your path. To test this, you type which make on the
console. This will tell you if you have make command or not. If nothing
shows up after you typed the command, type
cd /
find . -name 'make'
this will search your harddrive for make commands, If it finds the
command, you don't need to install the make packages, just add the
directory leading to the make command to your path. The way to do that
depends on the shell you are using. I am using tcsh, so I would type
setenv PATH ${path}:The directory to add
This will enable you to use the make command. If the search for make did
not turn up anything, you have to install the make packages, but I don't
think this is the case because you said you installed all the packages.

And also one more thing, you said you can get the mouse to work, there
might be a very simple solution to this. On some linux distributions,
the mouse link is not setup correctly. To check this:
cd /dev
ls -l mouse
this will tell you if you have the mouse linked to the right device. If
you have a serial mouse on COM1 in dos, you want this file to link to
/dev/cua0. I don't really know about which devices are busmouses and
other types of mouses, but I believe you can get this info on
www.linux.org. If the mouse is not linked to the device, the simplest
solution is just link it yourself. For a serial mouse on COM1, you type
ln -s -f /dev/cua0 mouse
This might solve your problem of not finding the mouse device. The
reason why I believe this is the case is that most of the distributions
should have common serial, bus, etc. mouse support build in since X
windows needs mouse to work, and X windows although very slow, is an
essential part of linux distribution. :)

I hope this can get you started in the right direction.

Qiang 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: 'make config' issues.

1997-12-06 Thread Carey Evans
Qiang Rao [EMAIL PROTECTED] writes:

 And also one more thing, you said you can get the mouse to work, there
 might be a very simple solution to this. On some linux distributions,
 the mouse link is not setup correctly. To check this:
 cd /dev
 ls -l mouse
 this will tell you if you have the mouse linked to the right device. If
 you have a serial mouse on COM1 in dos, you want this file to link to
 /dev/cua0.

Actually you want /dev/ttyS0.  The /dev/cua0 devices are obsolete and
might go away sometime.  I prefer to set the mouse directly to the
port it's on, so when I run gpmconfig I say /dev/psaux (a PS/2 bus
mouse) for Where is your mouse?, then ps2 for What type is your
mouse?.  (If I start using a different mouse port, it will probably
have a different protocol anyway.)

I've put auto in /etc/modules, and the psaux driver module gets
loaded automatically.

-- 
Carey Evans  *  http://home.clear.net.nz/pages/c.evans/  gc

 Trust Ivanova.  Trust yourself.  Anybody else - shoot 'em.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .