Re: d-i: depmod fails on Alpha

2003-03-16 Thread Falk Hueffner
Herbert Xu <[EMAIL PROTECTED]> writes:

> Falk Hueffner <[EMAIL PROTECTED]> wrote:
> > 
> > I'm trying to build d-i on Alpha. I get this error:
> > 
> > # Set up modules.dep, ensure there is at least one standard dir (kernel
> > # in this case), so depmod will use its prune list for archs with no
> > # modules.
> > mkdir -p ./tmp/net/tree/lib/modules/2.4.20-generic/kernel
> > depmod -q -a -b ./tmp/net/tree/ 2.4.20-generic
> > depmod: QM_MODULES: Function not implemented
> > 
> > make: *** [net-tree-stamp] Error 1
> > 
> > I'm running kernel 2.5.59. Is that a problem? Or any other ideas?
> 
> It's running the depmod from module-init-tools.  You need to check
> the existence of module-init-tools and always run the depmod from
> modutils for a 2.4 kernel.

Actually, I don't have module-init-tools installed, since my kernel
doesn't have modules support... and I guess that's the problem.

You're right that this should be checked, though.

-- 
Falk


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: d-i: depmod fails on Alpha

2003-03-15 Thread Herbert Xu
Falk Hueffner <[EMAIL PROTECTED]> wrote:
> 
> I'm trying to build d-i on Alpha. I get this error:
> 
> # Set up modules.dep, ensure there is at least one standard dir (kernel
> # in this case), so depmod will use its prune list for archs with no
> # modules.
> mkdir -p ./tmp/net/tree/lib/modules/2.4.20-generic/kernel
> depmod -q -a -b ./tmp/net/tree/ 2.4.20-generic
> depmod: QM_MODULES: Function not implemented
> 
> make: *** [net-tree-stamp] Error 1
> 
> I'm running kernel 2.5.59. Is that a problem? Or any other ideas?

It's running the depmod from module-init-tools.  You need to check the
existence of module-init-tools and always run the depmod from modutils
for a 2.4 kernel.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: d-i: depmod fails on Alpha

2003-03-15 Thread Tollef Fog Heen
* Falk Hueffner 

| I'm running kernel 2.5.59. Is that a problem? Or any other ideas?

That's most likely the problem, yes.  depmod uses the running kernel
for some stuff, it seems. :/

-- 
Tollef Fog Heen,''`.
UNIX is user friendly, it's just picky about who its friends are  : :' :
  `. `' 
`-  


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]