[ Next-in-Thread ]  [ Next Message ] 

RPM's versus SRPM's 

Forum: PCMCIA Installation and Configuration Issues
Re: Question: Kernel source tree from RPMs (Peter Townsend)
Date: 1999, Nov 29
From: David Hinds <dhinds@pcmcia.sourceforge.org>

You want to install the kernel-source RPM, not Red Hat's SRPM for the
kernel.  That's somewhat nonintuitive... the kernel-source RPM puts
the plain kernel source tree in /usr/src/linux, but an SRPM is a
special thing just for creating RPM's, and it puts the kernel source
tree (plus various other things) in unusual places.

-- Dave

[ Next-in-Thread ]  [ Next Message ] 

Messages Inline: [ 0 ]  [ 1 ] 

Question: additional info

Re: RPM's versus SRPM's (David Hinds)
Date: 1999, Nov 29
From: Peter Townsend Pete

Thanks, I figured that one out last night. I installed the kernel-source....rpm file and did a 'make dep'. I walked out and noticed a few errors (don't have them now). Despite the errors, I tried to build the rangeland drivers for a wireless symphony card (PCMCIA).

This driver needs the PCMCIA header files. I believe the make dep produced most but the 'config.h' is still elusive. I see a config.h link to '../pcmcia' in the '/usr/src/linux/pcmcia-cs-3.0.14/include/linux' directory. Howeverthere isn't a config.h file in ''/usr/src/linux/pcmcia-cs-3.0.14/include/pcmcia' directory. I'm lost! Any suggestions how to proceed would be appreciated!

Question: success but PCMCIA hangs

Re: Question: additional info (Peter Townsend)
Date: 1999, Nov 29
From: Peter Townsend Pete

I had some success. Following the README in /usr/src/linux , I did

make mrproper make config (defaulted thru most questions) make dep

this created the config.h that I was lookign for. However, I had to add a #endif in config.h to get the Symphony driver to compile:

#ifndef _PCMCIA_CONFIG.H
#define _PCMCIA_CONFIG_H
#endif
#define AUTOCONF_INCLUDED
#define LINUX "/usr/src/linux/kernel"

This compiled with no errors. I edited etc/sysconfig/pcmcia PCMCIA=yes PCIC=i82365 PCIC_OPTS=poll_interval=100 CORE_OPTS=

When I reboot the startup of PCMCIA services hangs! ANy suggestions?

That's strange...

Re: Question: success but PCMCIA hangs (Peter Townsend)
Date: 1999, Nov 29
From: David Hinds <dhinds@pcmcia.sourceforge.org>

> #ifndef _PCMCIA_CONFIG.H
> #define _PCMCIA_CONFIG_H
> #endif
> #define AUTOCONF_INCLUDED
> #define LINUX "/usr/src/linux/kernel"

I don't know where you got this or exactly what it's supposed to do,
but it looks completely bogus to me.

-- Dave

make config

Re: Question: additional info (Peter Townsend)
Date: 1999, Nov 29
From: David Hinds <dhinds@pcmcia.sourceforge.org>

In the PCMCIA source directory, do "make config", as discussed in the
PCMCIA-HOWTO.  The resulting config file is NOT supposed to be the
same as the kernel config.h file.

-- Dave
RPM's versus SRPM's


[ Add Message ]  to: "RPM's versus SRPM's"

[ Members ]  [ Subscribe ]  [ Admin Mode ] 
[ Show Frames ]  [ Help for HyperNews at pcmcia-cs.sourceforge.net 1.10 ]