Re: [newbie] newbie rebuilding src rpm=no fun yet

2002-09-22 Thread Angus Auld




 On Sunday 22 September 2002 08:41 am, Angus Auld wrote:
  Greetings all,
  I thought maybe I could do this, but it looks like I was mistaken.
  I am trying to rebuild a source rpm, and having some problems. I have
  installed the following packages on my 8.2 system so far in my noob
  attempts to rebuild src: rpm-build, spec-helper, libtool, XFree86 devel,
  glibc-devel, kernel-headers, make, gcc, binutils, libbinutils2, automake,
  autoconf, m4-1.4ppre2-2mdk...and still, no fun!
 
  Can anyone help me to do this rebuilding? I will attach the terminal output
  of my 'rpm --rebuild fluxbox-0.1.12-1mdk.src.rpm' attempt. Also an
  error.txt file with some additional info.
 
   Many TIA's for any feedback.
 
 
  --Angus
 
  Let us not look back in anger or forward in fear, but around in
  awareness.--James Thurber
 
  Reg. Linux User #278931
 Have you installed kernel-source ? That one is needed for sure. HTH
 -- 
 Dennis M. linux user #180842
-
Thanks Dennis for the fast reply. 
No, I haven't installed the kernel-source. I didn't get any messages that it was 
needed. I will promptly install it, and try my rebuild again!

Thanks a lot for the help! I will post back with my results.

PS. Are all of the packages that I installed required to rebuild from src? I am a bit 
concerned about wasting space on my hd w/uneeded packages.


--Angus

Let us not look back in anger or forward in fear, but around in awareness.--James 
Thurber

Reg. Linux User #278931
-- 
__
Download the FREE Opera browser at www.opera.com/download/

Free OperaMail at http://www.operamail.com/

Powered by Outblaze



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] newbie rebuilding src rpm=no fun yet

2002-09-22 Thread Dennis Myers

On Sunday 22 September 2002 08:41 am, Angus Auld wrote:
 Greetings all,
 I thought maybe I could do this, but it looks like I was mistaken.
 I am trying to rebuild a source rpm, and having some problems. I have
 installed the following packages on my 8.2 system so far in my noob
 attempts to rebuild src: rpm-build, spec-helper, libtool, XFree86 devel,
 glibc-devel, kernel-headers, make, gcc, binutils, libbinutils2, automake,
 autoconf, m4-1.4ppre2-2mdk...and still, no fun!

 Can anyone help me to do this rebuilding? I will attach the terminal output
 of my 'rpm --rebuild fluxbox-0.1.12-1mdk.src.rpm' attempt. Also an
 error.txt file with some additional info.

  Many TIA's for any feedback.


 --Angus

 Let us not look back in anger or forward in fear, but around in
 awareness.--James Thurber

 Reg. Linux User #278931
Have you installed kernel-source ? That one is needed for sure. HTH
-- 
Dennis M. linux user #180842



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] newbie rebuilding src rpm=no fun yet

2002-09-22 Thread Angus Auld



  Have you installed kernel-source ? That one is needed for sure. HTH
  -- 
  Dennis M. linux user #180842
 -
 Thanks Dennis for the fast reply. 
 No, I haven't installed the kernel-source. I didn't get any messages that it was 
needed. I will promptly install it, and try my rebuild again!
 
 Thanks a lot for the help! I will post back with my results.
 
 PS. Are all of the packages that I installed required to rebuild from src? I am a 
bit concerned about wasting space on my hd w/uneeded packages.


I tried to install kernel-source for my kernel, which is 2.4.18-6mdk, with Software 
Manager. When I clicked on install, Software Manager was going to install 
kernel-source for 2.4.18-8.1mdk from my update site ftp.sunet.se!!! What is with 
that??? I didn't know what to do except XKill SM. 

I tried it again, and SM wanted to do the same thing...install kernel-source 
2.4.18-8.1mdk. I'm stumped with this behaviour from SM.
Any thoughts on this?


--Angus

Let us not look back in anger or forward in fear, but around in awareness.--James 
Thurber

Reg. Linux User #278931
-- 
__
Download the FREE Opera browser at www.opera.com/download/

Free OperaMail at http://www.operamail.com/

Powered by Outblaze



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] newbie rebuilding src rpm=no fun yet

2002-09-22 Thread Dennis Myers

On Sunday 22 September 2002 09:35 am, Angus Auld wrote:
  On Sunday 22 September 2002 08:41 am, Angus Auld wrote:
   Greetings all,
   I thought maybe I could do this, but it looks like I was mistaken.
   I am trying to rebuild a source rpm, and having some problems. I have
   installed the following packages on my 8.2 system so far in my noob
   attempts to rebuild src: rpm-build, spec-helper, libtool, XFree86
   devel, glibc-devel, kernel-headers, make, gcc, binutils, libbinutils2,
   automake, autoconf, m4-1.4ppre2-2mdk...and still, no fun!
  
   Can anyone help me to do this rebuilding? I will attach the terminal
   output of my 'rpm --rebuild fluxbox-0.1.12-1mdk.src.rpm' attempt. Also
   an error.txt file with some additional info.
  
Many TIA's for any feedback.
  
  
   --Angus
  
   Let us not look back in anger or forward in fear, but around in
   awareness.--James Thurber
  
   Reg. Linux User #278931
 
  Have you installed kernel-source ? That one is needed for sure. HTH
  --
  Dennis M. linux user #180842

 -
 Thanks Dennis for the fast reply.
 No, I haven't installed the kernel-source. I didn't get any messages that
 it was needed. I will promptly install it, and try my rebuild again!

 Thanks a lot for the help! I will post back with my results.

 PS. Are all of the packages that I installed required to rebuild from src?
 I am a bit concerned about wasting space on my hd w/uneeded packages.


 --Angus

 Let us not look back in anger or forward in fear, but around in
 awareness.--James Thurber

 Reg. Linux User #278931
The only one I don't seem to have installed is make and that is needed for 
tar files, so I should add it, but I just noticed you didn't list 
rpm-rebuilder and that should be added. With the header-source and 
rpm-rebuilder you should be able to install source files. HTH
-- 
Dennis M. linux user #180842



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] newbie rebuilding src rpm=no fun yet

2002-09-22 Thread Dennis Myers

On Sunday 22 September 2002 10:09 am, Angus Auld wrote:
   Have you installed kernel-source ? That one is needed for sure. HTH
   --
   Dennis M. linux user #180842
 
  -
  Thanks Dennis for the fast reply.
  No, I haven't installed the kernel-source. I didn't get any messages
  that it was needed. I will promptly install it, and try my rebuild again!
 
  Thanks a lot for the help! I will post back with my results.
 
  PS. Are all of the packages that I installed required to rebuild from
  src? I am a bit concerned about wasting space on my hd w/uneeded
  packages.

 

 I tried to install kernel-source for my kernel, which is 2.4.18-6mdk,
 with Software Manager. When I clicked on install, Software Manager was
 going to install kernel-source for 2.4.18-8.1mdk from my update site
 ftp.sunet.se!!! What is with that??? I didn't know what to do except XKill
 SM.

 I tried it again, and SM wanted to do the same thing...install
 kernel-source 2.4.18-8.1mdk. I'm stumped with this behaviour from SM. Any
 thoughts on this?


 --Angus

 Let us not look back in anger or forward in fear, but around in
 awareness.--James Thurber

 Reg. Linux User #278931
You have an older rpm on the disk and Software Manager sees this since you 
have the updates or security or bug fix buttons activated. I think you will 
be fine if you just let it go. It may be a more secure rpm or have a bug 
fixed in it.  It should still be ok. HTH
-- 
Dennis M. linux user #180842



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] newbie rebuilding src rpm=no fun yet

2002-09-22 Thread Charlie M.

On Sunday 22 September 2002 9:09 am, Angus Auld wrote:
   Have you installed kernel-source ? That one is needed for sure. HTH
   --
   Dennis M. linux user #180842
 
  -
  Thanks Dennis for the fast reply.
  No, I haven't installed the kernel-source. I didn't get any messages
  that it was needed. I will promptly install it, and try my rebuild again!
 
  Thanks a lot for the help! I will post back with my results.
 
  PS. Are all of the packages that I installed required to rebuild from
  src? I am a bit concerned about wasting space on my hd w/uneeded
  packages.

 

 I tried to install kernel-source for my kernel, which is 2.4.18-6mdk,
 with Software Manager. When I clicked on install, Software Manager was
 going to install kernel-source for 2.4.18-8.1mdk from my update site
 ftp.sunet.se!!! What is with that??? I didn't know what to do except XKill
 SM.

 I tried it again, and SM wanted to do the same thing...install
 kernel-source 2.4.18-8.1mdk. I'm stumped with this behaviour from SM. Any
 thoughts on this?


 --Angus

You're getting close Angus but the kernel you're running is apparently the 
original 8.2 install kernel and there was an update. The 2.4.18-8.1mdk is the 
security updated model. The was a notification about this a few months back. 
This link:

http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-041.php?dis=8.2

will show the necessary updates and the version numbers to update to. 8.2 is 
roughly two thirds of the way down the page.

The src package the software manager is trying to install is the one in the 
advisory. Have you been keeping up to date on bugfixes and security fixes? 
Are you actually still running the older kernel or has it been updated? Try 
in a terminal typing: uname -r 
and the version of your running kernel should display. You really don't want 
to run any mismatches (voice of past experience here :-) when it's easy to 
get everything current and matched. But you should be running the version 
that matches the software manager selection in my opinion.

-- 
Charlie
Edmonton,AB,Canada
Registered user 244963 at http://counter.li.org
A computer without COBOL and Fortran is like a piece of chocolate cake
without ketchup and mustard.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] newbie rebuilding src rpm=no fun yet

2002-09-22 Thread Angus Auld


---
  I tried to install kernel-source for my kernel, which is 2.4.18-6mdk,
  with Software Manager. When I clicked on install, Software Manager was
  going to install kernel-source for 2.4.18-8.1mdk from my update site
  ftp.sunet.se!!! What is with that??? I didn't know what to do except XKill
  SM.
 
  I tried it again, and SM wanted to do the same thing...install
  kernel-source 2.4.18-8.1mdk. I'm stumped with this behaviour from SM. Any
  thoughts on this?
 
 
  --Angus
 
 You're getting close Angus but the kernel you're running is apparently the 
 original 8.2 install kernel and there was an update. The 2.4.18-8.1mdk is the 
 security updated model. The was a notification about this a few months back. 
 This link:
 
 http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-041.php?dis=8.2
 
 will show the necessary updates and the version numbers to update to. 8.2 is 
 roughly two thirds of the way down the page.
 
 The src package the software manager is trying to install is the one in the 
 advisory. Have you been keeping up to date on bugfixes and security fixes? 
 Are you actually still running the older kernel or has it been updated? Try 
 in a terminal typing: uname -r 
 and the version of your running kernel should display. You really don't want 
 to run any mismatches (voice of past experience here :-) when it's easy to 
 get everything current and matched. But you should be running the version 
 that matches the software manager selection in my opinion.
 
 -- 
 Charlie
 Edmonton,AB,Canada
 Registered user 244963 at http://counter.li.org
 A computer without COBOL and Fortran is like a piece of chocolate cake
 without ketchup and mustard.

-
Thanks for the valuable info Charlie,

I am indeed still running the original 2.4.18-6 kernel.
I've only been running Mdk, and Linux in fact, for a few short months now. I guess I 
missed the update notice from Mdk.

That looks like it's going to be a formidable task to update all those packages on a 
dialup. I have been keeping my system updated w/security and bugfixes that I thought 
were applicable to me. Do I have to install each of the listed packages manually, or 
will rpm install them if I update the kernel?? I'm really nervous to mess with the 
kernel, after reading warnings of danger if you don't know what you're doing (and, I 
don't know a lot about what I'm doing).

Please, if you don't mind, advise. Thanks much.  



--Angus

Let us not look back in anger or forward in fear, but around in awareness.--James 
Thurber

Reg. Linux User #278931
-- 
__
Download the FREE Opera browser at www.opera.com/download/

Free OperaMail at http://www.operamail.com/

Powered by Outblaze



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] newbie rebuilding src rpm=no fun yet

2002-09-22 Thread Charlie M.

On Sunday 22 September 2002 10:39 am, Angus Auld wrote:
snip
 Thanks for the valuable info Charlie,

 I am indeed still running the original 2.4.18-6 kernel.
 I've only been running Mdk, and Linux in fact, for a few short months now.
 I guess I missed the update notice from Mdk.

 That looks like it's going to be a formidable task to update all those
 packages on a dialup. I have been keeping my system updated w/security and
 bugfixes that I thought were applicable to me. Do I have to install each of
 the listed packages manually, or will rpm install them if I update the
 kernel?? I'm really nervous to mess with the kernel, after reading warnings
 of danger if you don't know what you're doing (and, I don't know a lot
 about what I'm doing).

 Please, if you don't mind, advise. Thanks much.



 --Angus

You're askin' _me_ for advice? ;-) 

OK.

You don't need anything to do with the 2.2.xx kernels since you aren't running 
that version and have probably never even tried to boot the old kernel 
anyway. It's still around as a legacy thing as far as I know. Almost all 
modern hardware is supported in the 2.4 series and that wasn't true of 2.2. 
So from the list you need only the 2.4.18 rpms. The devfsd also has to be 
upgraded manually and you have to disable the running version to do it. The 
easiest way to do the upgrades is to first open the file manager as super 
user, save a copy of etc/lilo/conf (just in case) and then edit lilo.conf 
with your favourite editor (kwrite, kate, emacs, vi, whatever you feel comfy 
with). Change the line that says append=devfs=mount to 
append=devfs=nomount.  Done here for now. Close it all up back to userland.
Download:
a784430846ca56b52151b64f74744528  8.2/RPMS/devfsd-1.3.25-1.1mdk.i586.rpm
32969698f7badf0c3bc7fa3e4f278977 8.2/RPMS/kernel-2.4.18.8.1mdk-1-3mdk.i586.rpm
b40235a56e88bef36e827fd3baec374c 8.2/RPMS/kernel-source-2.4.18-8.1mdk.i586.rpm
from your update source server.

That's still a sizeable download but manageable I suspect. It's trimmed so 
much 'cause you don't need enterprise, security, smp kernels or the 2.2 
series. Be certain you know what directory you've saved them to! I have one I 
called downloads that is empty unless I'm working with something. Reboot your 
machine to be sure devfsd isn't running. (the =nomount, remember?) If you 
log into X automatically you'll want to kill X after you log in. 
altctrlbackspace should get you there. From the command prompt type su 
enter then type the root password enter then cd [the directory you saved 
the new kernel etc in] enter. 
From that command prompt type the following:
rpm -ivh kernel-2.4.18.8.1mdk-1-3mdk.i586.rpm
without quotes then hit enter.
When that's done type again without quotes:
rpm -Fvh devfsd-1.3.25-1.1mdk.i586.rpm enter
and:
rpm -Fvh kernel-source-2.4.18-8.1mdk.i586.rpm enter
Then type: 
/sbin/lilo -v
When these steps are done type exit and you should be back at the user command 
prompt. Type: 
startx enter 
and you'll be back in GUI space. Reverse the Lilo changes. Change the 
append=devfs=nomount back to append=devfs=mount in other words. Reboot 
and you should have the option to pick the original kernel or the new one, 
and you've already installed the kernel source package you wanted a few steps 
back. The software manager will upgrade the kernel documentation and other 
frivolous :-) items without problems when you run it in the usual manner.

I know this is _way_ oversimplified and I hope nobody finds it offensive that 
this is so. Also; if I've left anything out, or made mistakes please correct 
and give me hell. I can do this stuff; it's the explanations I have trouble 
with. grin Good luck Angus.

Later;
-- 
Charlie
Edmonton,AB,Canada
Registered user 244963 at http://counter.li.org
There is nothing which cannot be answered by means of my doctrine, said
a monk, coming into a teahouse where Nasrudin sat.
And yet just a short time ago, I was challenged by a scholar with
an unanswerable question, said Nasrudin.
I could have answered it if I had been there.
Very well.  He asked, 'Why are you breaking into my house in
the middle of the night?'




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] newbie rebuilding src rpm=no fun yet

2002-09-22 Thread Charlie M.

On Sunday 22 September 2002 12:12 pm, Charlie M. (the halfwit!) wrote:

 and you'll be back in GUI space. Reverse the Lilo changes. Change the
 append=devfs=nomount back to append=devfs=mount in other words. Reboot
 and you should have the option to pick the original kernel or the new one,
 and you've already installed the kernel source package you wanted a few
 steps back. The software manager will upgrade the kernel documentation and
 other frivolous :-) items without problems when you run it in the usual
 manner.

BEFORE YOU REBOOT!
in a terminal as super user type /sbin/lilo -v once more to reset the append 
line to what you just changed. Sorry about that! :-(

-- 
Charlie
Edmonton,AB,Canada
Registered user 244963 at http://counter.li.org
Do not count your chickens before they are hatched.
-- Aesop




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] newbie rebuilding src rpm=no fun yet

2002-09-22 Thread Angus Auld


-
 On Sunday 22 September 2002 12:12 pm, Charlie M. (the halfwit!) wrote:
 
  and you'll be back in GUI space. Reverse the Lilo changes. Change the
  append=devfs=nomount back to append=devfs=mount in other words. Reboot
  and you should have the option to pick the original kernel or the new one,
  and you've already installed the kernel source package you wanted a few
  steps back. The software manager will upgrade the kernel documentation and
  other frivolous :-) items without problems when you run it in the usual
  manner.
 
 BEFORE YOU REBOOT!
 in a terminal as super user type /sbin/lilo -v once more to reset the append 
 line to what you just changed. Sorry about that! :-(
 
 -- 
 Charlie
 Edmonton,AB,Canada
 Registered user 244963 at http://counter.li.org
 Do not count your chickens before they are hatched.
   -- Aesop
 
-
Charlie, thanks so much for the explanation of the whole procedure! I think I can do 
it now even!
It's a bit intimidating, to be sure. I am pretty much committed to Linux at this 
point, and Mdk is where its at I believe. 
I am already running with devfsd-1,3.25-1.1mdk, which I upgraded a while back, will 
that simplify things some?

I am dual booting w/Windows still (just makes me feel safer), but I hope to outgrow 
that soon! When I make the move to Mdk9, I may just go all Mdk. I really have been 
reverting back to MS very little the past while, and I feel quite good about that too. 
;-)

Does my dual-boot present any special concerns for the kernel upgrade?

I have created a /tmp/kernel folder where I will download the necessary packages. I am 
thankful that I don't have to download all of the ones that were listed! I will start 
the process tonight.
 No doubt I will be looking for your learned advice again.
All the best, and thank you again.


--Angus

Let us not look back in anger or forward in fear, but around in awareness.--James 
Thurber

Reg. Linux User #278931
-- 
__
Download the FREE Opera browser at www.opera.com/download/

Free OperaMail at http://www.operamail.com/

Powered by Outblaze



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] newbie rebuilding src rpm=no fun yet

2002-09-22 Thread Charlie M.

On Sunday 22 September 2002 6:21 pm, Angus Auld wrote:
snip

 Charlie, thanks so much for the explanation of the whole procedure! I think
 I can do it now even! It's a bit intimidating, to be sure. I am pretty much
 committed to Linux at this point, and Mdk is where its at I believe. I am
 already running with devfsd-1,3.25-1.1mdk, which I upgraded a while back,
 will that simplify things some?

I agree with that analysis. Mandrake seems to try harder than the other 
distributions I've tried. Having done that update will make it easier. :-) 
You can skip the two edits of lilo.conf since you don't have to upgrade 
devfs. Just follow the rest of the steps.

 I am dual booting w/Windows still (just makes me feel safer), but I hope
 to outgrow that soon! When I make the move to Mdk9, I may just go all Mdk.
 I really have been reverting back to MS very little the past while, and I
 feel quite good about that too. ;-)

You're gonna like Mandrake 9. IT'S SWEET!!! :-)

 Does my dual-boot present any special concerns for the kernel upgrade?
Makes 'no never minds no how' Angus. I know what you're saying with the lack 
of boots into Windows. I reclaimed my disk space when I realized I hadn't 
booted Windows for almost three months.

 I have created a /tmp/kernel folder where I will download the necessary
 packages. I am thankful that I don't have to download all of the ones that
 were listed! I will start the process tonight. No doubt I will be looking
 for your learned advice again.
 All the best, and thank you again.

If you start talking to me that way I'll run and hide Angus. I'm still a 
gnubie myself; I just suffer from insatiable curiosity, and I learn fairly 
quickly. You can do this, I have no doubt.


 --Angus

 Let us not look back in anger or forward in fear, but around in
 awareness.--James Thurber

 Reg. Linux User #278931
You're very welcome, I hope it was useful information. Let the list know how 
it works out for you?

Regards;
-- 
Charlie
Edmonton,AB,Canada
Registered user 244963 at http://counter.li.org
We're here to give you a computer, not a religion.
- attributed to Bob Pariseau, at the introduction of the Amiga




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com