Skip to contentSkip to conversation

Tried to run 2.6.0-test1

DISCUSSION Norman Diamond 3 participants 5 messages Jul 21, 2003

lore
Share & tools
lore
#0 lore raw

Again I cannot keep up with the mailing list. If anyone wishes to advise or has questions, please kindly contact me directly.

Quoted 1 line · I wrote:

I've downloaded modutils-2.4.21-18.src.rpm from Rusty Russell's directory

[...]

Quoted 3 lines

Odds are I can probably gunzip and tar and compile the new modutils, but will the resulting executables get installed into the right places without using the rpm command and its spec file, I'm not sure I want to chance it.

I read the two README files and started to try building the first one
starting with "./configure --prefix=/" as directed. It said:
/home/ndiamond/modutils-2.4.21-18/SOURCES/module-init-tools-0.9.11a/missing: Unknown --run' option Try /home/ndiamond/modutils-2.4.21-18/SOURCES/module-init-tools-0.9.11a/missing --help' for more information

I tried that command for help. Indeed it says there's no such thing as a "--run" option. Looks like I lied. I don't know how to compile the new module utilities.

One thing is interesting though. This configure script figured out that my cpu is an i586.

By the way, the last line in that README file says that if this is all too complicated then install the source RPM. Gee thanks. I already tried "rpm --rebuild" but it assumes an i686.

#1 lore raw
Quoted 8 lines · Norman Diamond

Again I cannot keep up with the mailing list. If anyone wishes to advise or
has questions, please kindly contact me directly.

By the way, the last line in that README file says that if this is all too complicated then install the source RPM. Gee thanks. I already tried "rpm --rebuild" but it assumes an i686.

you want rpmbuild

[brett@synapse brett]$ rpmbuild --help
Usage: rpmbuild [OPTION...]
<snip>
--target=CPU-VENDOR-OS override target platform

rpmbuild --target=i586 --rebuild modutils-*.src.rpm

thanks,

/ Brett

#2 lore raw

"Brett" <[email protected]> replied to one of my desperate messages today. I'm sending this personally and to the list. Again I can't keep up with the list, so if Brett or anyone else has further advice or questions, please contact me directly.

Quoted 5 lines
Quoted 3 lines

By the way, the last line in that README file says that if this is all too complicated then install the source RPM. Gee thanks. I already
tried "rpm --rebuild" but it assumes an i686.

you want rpmbuild

SuSE 8.1 doesn't seem to have it.

Quoted 4 lines

[brett@synapse brett]$ rpmbuild --help
Usage: rpmbuild [OPTION...]
<snip>
--target=CPU-VENDOR-OS override target platform

Yeah, that's better than ARCH-VENDOR-OS. The rpm --rebuild command's assumed arch of i486 was fine with me, the problem is the assumed cpu of i686.

Any chance that the rpm --rebuild command's arch-vendor-os might really mean cpu-vendor-os? Nah, I guess you would have said so if it were.

Quoted 1 line

rpmbuild --target=i586 --rebuild modutils-*.src.rpm

Oh, it doesn't need --target=i586-intel-linux :-? (By the way, the reason I come up with snarky questions like this one is that I RTFM. Sigh.)

#3 lore raw
Quoted 7 lines · Norman Diamond

"Brett" <[email protected]> replied to one of my desperate messages today.
I'm sending this personally and to the list. Again I can't keep up with the
list, so if Brett or anyone else has further advice or questions, please contact me directly.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

By the way, the last line in that README file says that if this is all too complicated then install the source RPM. Gee thanks. I already
tried "rpm --rebuild" but it assumes an i686.

you want rpmbuild

SuSE 8.1 doesn't seem to have it.

ahh, jumped in halfway thru thread and didn't know you were on suse

Quoted 6 lines
Quoted 1 line

rpmbuild --target=i586 --rebuild modutils-*.src.rpm

Oh, it doesn't need --target=i586-intel-linux :-? (By the way, the reason
I come up with snarky questions like this one is that I RTFM. Sigh.)

[root@synapse router_firmware]# rpmbuild --target=i586 --rebuild /tbla/modutils-2.4.21-18.src.rpm

<snip>

Wrote: /usr/src/redhat/RPMS/i586/modutils-2.4.21-18.i586.rpm

works for me on rh9 ... sorry i can't give suse specific help

good luck,

/ Brett

#4 lore raw
In reply to Norman Diamond
Quoted 3 lines · Norman Diamond

By the way, the last line in that README file says that if this is all too complicated then install the source RPM. Gee thanks. I already tried "rpm --rebuild" but it assumes an i686.

Is that not in the .spec file, and therefore editable?

Signature · 7 lines
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.26% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.