Re: [expert] RPM - Rebuild question.
Alfredo C.Lopez wrote: Hi! El Mar 11 Jun 2002 22:26, escribiste: All, Now that I have a boxen that is kde3 only (as apposed to kde2) I've been trying to re-build some apps that are kde3 compatible but not yet built into rpms. My Q is How do you pass a prefix using rpm --rebuild? You must remember that --rebuild work only with src.rpms . rpm --rebuild loquesea-0.1.src.rpm But may be you better install the src.rpm: rpm -ihv loquesea-.src.rpm And then go to the /usr/src/RPM/SPEC directory and edit with vi the loquesea.spec to see if you need to configure for example the location of the qt libraries (/usr/lib/qt3) and the kde installation directory (/opt/kde3) in the configure stage of the building ( and may be in the packaging stage... I think that is the name. ) I hope it helps Right now I'm messing around with this trying compile kde3 for mdk 7.2. So... I was editing specs.. :) Alfredo, Are you going to be able to do that? I thought kde3 required a later version of glibc then what 7.2 has installed. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] RPM - Rebuild question.
Hi! El Jue 13 Jun 2002 07:01, escribiste: Right now I'm messing around with this trying compile kde3 for mdk 7.2. So... I was editing specs.. :) Alfredo, Are you going to be able to do that? I thought kde3 required a later version of glibc then what 7.2 has installed. Nop. I'm working on that. I have it working right now..(or something like that... ) with glibc 2.1 Shouldn't be any problem, if the c++ compiler works fine... it could compile kde 3.0.1. Let me tell you the story I was looking for packages of kde3 that work with glibc 2.1 but the only thing I found was some updates packages from Suse (for suse version 7.0 that use glibc 2.1) that I install by hand in our cluster. At this point I must say that it surprise me. Suse have kde v3.0.1 packages for all the previous versions... that was very interesting. I mean... you could be at the edge even if you have an old system. I take this packages and open them with rpm2cpio and then use cpio to extract the files so I don't mess the rpm database. and configure the rest by hand. A this point the cluster is a mess... some stuff build by hand, other installed with rpm. But right now I compile kdelibs and kdebase from the mdk packages. twiking the specs and modifiying and deleting some buildrequires. It's not very clean but here in Argentina lo atamos con alambre . ALF Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] RPM - Rebuild question.
Hi! El Mar 11 Jun 2002 22:26, escribiste: All, Now that I have a boxen that is kde3 only (as apposed to kde2) I've been trying to re-build some apps that are kde3 compatible but not yet built into rpms. My Q is How do you pass a prefix using rpm --rebuild? You must remember that --rebuild work only with src.rpms . rpm --rebuild loquesea-0.1.src.rpm But may be you better install the src.rpm: rpm -ihv loquesea-.src.rpm And then go to the /usr/src/RPM/SPEC directory and edit with vi the loquesea.spec to see if you need to configure for example the location of the qt libraries (/usr/lib/qt3) and the kde installation directory (/opt/kde3) in the configure stage of the building ( and may be in the packaging stage... I think that is the name. ) I hope it helps Right now I'm messing around with this trying compile kde3 for mdk 7.2. So... I was editing specs.. :) Check of the man pages etc. Make it seem that this can be passed only for a relocatable rpm. Really just want to check and see if I'm off base or not. James Content-Type: text/plain; charset=us-ascii; name=message.footer Content-Transfer-Encoding: 8bit Content-Description: Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] RPM - Rebuild question.
Just as a side note, apparently rpmbuild --rebuild *.src.rpm is the preferred way of rebuilding now... That's what the RH guys tell me... Don't know what the difference is between rpm and rpmbuild... On Wednesday 12 June 2002 03:02 pm, Alfredo C.Lopez wrote: Hi! El Mar 11 Jun 2002 22:26, escribiste: All, Now that I have a boxen that is kde3 only (as apposed to kde2) I've been trying to re-build some apps that are kde3 compatible but not yet built into rpms. My Q is How do you pass a prefix using rpm --rebuild? You must remember that --rebuild work only with src.rpms . rpm --rebuild loquesea-0.1.src.rpm But may be you better install the src.rpm: rpm -ihv loquesea-.src.rpm And then go to the /usr/src/RPM/SPEC directory and edit with vi the loquesea.spec to see if you need to configure for example the location of the qt libraries (/usr/lib/qt3) and the kde installation directory (/opt/kde3) in the configure stage of the building ( and may be in the packaging stage... I think that is the name. ) I hope it helps Right now I'm messing around with this trying compile kde3 for mdk 7.2. So... I was editing specs.. :) Check of the man pages etc. Make it seem that this can be passed only for a relocatable rpm. Really just want to check and see if I'm off base or not. James Content-Type: text/plain; charset=us-ascii; name=message.footer Content-Transfer-Encoding: 8bit Content-Description: Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] RPM - Rebuild question.
I never use rpmrebuild may be I could try it... I don't see the difference really I check the man page http://linuxcommand.org/man_pages/rpmbuild8.html and the build options are the same as rpm... (??) And some howtos I check don't point out the difference. So... I don't know... El Mié 12 Jun 2002 15:08, escribiste: Just as a side note, apparently rpmbuild --rebuild *.src.rpm is the preferred way of rebuilding now... That's what the RH guys tell me... Don't know what the difference is between rpm and rpmbuild... Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] RPM - Rebuild question.
(With tongue firmly planted in cheek) Are the guys who tell you this the same ones who let RH7.0 out into the wild (the one that was so complete it even contains the Ramen Worm!)? Seriously though. Yeah, I can and do go the route of installing the src rpms but I was just wondering if anyone knew of a way to pass that one switch. I've got to prepare a class so to speak on basic RPM building/compiling and was curious if this could be added. As for rpmrebuild. Even Maximum rpm doesn't have anything on that ( my copy is about 6 months or so old though) Interesting, that they would bother with the name switch when all it accomplishes is confusing the heck out of the users. Must have been a Marketing decision *grin*. James On Wed, 12 Jun 2002 16:41:06 -0400 Alfredo C.Lopez [EMAIL PROTECTED] said with temporary authority I never use rpmrebuild may be I could try it... I don't see the difference really I check the man page http://linuxcommand.org/man_pages/rpmbuild8.html and the build options are the same as rpm... (??) And some howtos I check don't point out the difference. So... I don't know... El Mié 12 Jun 2002 15:08, escribiste: Just as a side note, apparently rpmbuild --rebuild *.src.rpm is the preferred way of rebuilding now... That's what the RH guys tell me... Don't know what the difference is between rpm and rpmbuild... Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] RPM - Rebuild question.
All, Now that I have a boxen that is kde3 only (as apposed to kde2) I've been trying to re-build some apps that are kde3 compatible but not yet built into rpms. My Q is How do you pass a prefix using rpm --rebuild? Check of the man pages etc. Make it seem that this can be passed only for a relocatable rpm. Really just want to check and see if I'm off base or not. James Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] RPM rebuild question
Hi, I'm trying to rebuild some source RPMs for my athlon box but I have some problems with option --target=. I've also found that when I type: rpm -rebuild --target=i686 filename.rpm the result is: --target=i686: unknown option Can someone help? Thanks in advance. Fedneg Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] RPM rebuild question
If you are rebuilding on the athlon box, then you don't need to use --target= as it will automatically determine that. --- Fedneg [EMAIL PROTECTED] wrote: Hi, I'm trying to rebuild some source RPMs for my athlon box but I have some problems with option --target=. I've also found that when I type: rpm -rebuild --target=i686 filename.rpm the result is: --target=i686: unknown option Can someone help? Thanks in advance. Fedneg Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com = SI Reasoning [EMAIL PROTECTED] They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. Benjamin Franklin __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] RPM rebuild question
On Sun, 25 Nov 2001 10:08:05 -0800 (PST) SI Reasoning [EMAIL PROTECTED] wrote: If you are rebuilding on the athlon box, then you don't need to use --target= as it will automatically determine that. First, thanks for your answer. A new question comes to me: what happens if you want to rebuild for i386? Is it possible in Mandrake 8.1. Fedneg Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] RPM rebuild question
There was a change on the newer versions of RPM. The target flag is now: -target i386 (they dropped the =. man rpm bears this out: --target PLATFORM When building the package, interpret PLATFORM as arch-vendor-os and set the macros %_target, %_target_arch, and %_target_os accord ingly. There is no = between --target, and the platform designation. Ric Fedneg wrote: On Sun, 25 Nov 2001 10:08:05 -0800 (PST) SI Reasoning [EMAIL PROTECTED] wrote: If you are rebuilding on the athlon box, then you don't need to use --target= as it will automatically determine that. First, thanks for your answer. A new question comes to me: what happens if you want to rebuild for i386? Is it possible in Mandrake 8.1. Fedneg Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] RPM rebuild question
The full command then would be 'rpm --rebuild --target i386 filename.rpm' to rebuild an rpm for i386. (note the two - in front of 'rebuild') Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 06:49 PM 11/25/2001 +0100, you wrote: Hi, I'm trying to rebuild some source RPMs for my athlon box but I have some problems with option --target=. I've also found that when I type: rpm -rebuild --target=i686 filename.rpm the result is: --target=i686: unknown option Can someone help? Thanks in advance. Fedneg Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com