Hi, where I could find info on how to make rpm for suse? Or maybe there is another solution for my problem. I have one old SuSE Linux Standard Server 8.0. In another town there is another such server. I have to configure support for APC Smart UPS 1500. I will use "apcupsd" package. I cannot find "apcupsd" rpm package for SLSS8 on the net. I get sources and compiled it on my server. How can I transfer it to another server? Any suggestions? Audrius
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2005-09-13 at 15:07 +0300, Audrius wrote:
where I could find info on how to make rpm for suse?
http://www.suse.de/~mmj/Package-Conventions/SuSE-Package-Conventions.html http://www.rpm.org/RPM-HOWTO/build.html#SPEC-FILE http://www.gurulabs.com/goodies/guru+guides.php use build.rpm
Or maybe there is another solution for my problem.
The quick method is to use "checkinstall" instead of "make install". - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFDJt2wtTMYHG2NR9URAh13AJwLmAiiYSny/Pa+9RYYwhDn+vJQ/QCginGv yb1w4vqqYf2rSwtCyMhevWU= =Ku8X -----END PGP SIGNATURE-----
Audrius wrote:
Hi,
where I could find info on how to make rpm for suse? Or maybe there is another solution for my problem. I have one old SuSE Linux Standard Server 8.0. In another town there is another such server. I have to configure support for APC Smart UPS 1500. I will use "apcupsd" package. I cannot find "apcupsd" rpm package for SLSS8 on the net. I get sources and compiled it on my server. How can I transfer it to another server? Any suggestions?
Try checkinstall, for making an RPM from source. You'll have to install it with Yast. Also, you may have to install the C compiler etc.
On Tue, 13 Sep 2005, James Knott <james.knott@rogers.com> wrote:-
Audrius wrote:
Hi,
where I could find info on how to make rpm for suse? Or maybe there is another solution for my problem. I have one old SuSE Linux Standard Server 8.0. In another town there is another such server. I have to configure support for APC Smart UPS 1500. I will use "apcupsd" package. I cannot find "apcupsd" rpm package for SLSS8 on the net. I get sources and compiled it on my server. How can I transfer it to another server? Any suggestions?
Try checkinstall, for making an RPM from source. You'll have to install it with Yast. Also, you may have to install the C compiler etc.
If there's a spec file included in the source archive, using: rpmbuild -ta <name.of.archive> also works. Also, if you can find the source rpm, you can use: rpm --rebuild <name.of.source.rpm> My preference when building an RPM is to first look for the source rpm and build from that. If the source is only available as a .tar.gz or a .tar.bz2, try using the -ta option. If neither of those work, and for someone not familiar with writing your own spec files, checkinstall is a good third way of building the binary rpm package. Personally, I don't use checkinstall, preferring to write my own spec file. This means that once I've written it, I can tweak the values for updated versions, merge it with the new source and rebuild. Regards, David Bolt -- Member of Team Acorn checking nodes at 63 Mnodes/s: http://www.distributed.net/ AMD 1800 1Gb WinXP/SuSE 9.3 | AMD 2400 160Mb SuSE 8.1 | AMD 2400 256Mb SuSE 9.0 AMD 1300 512Mb SuSE 9.0 | Falcon 14Mb TOS 4.02 | STE 4Mb TOS 1.62 RPC600 129Mb RISCOS 3.6 | A3010 4Mb RISCOS 3.11 | A4000 4Mb RISCOS 3.11
On Tuesday 13 September 2005 08:07 am, Audrius wrote:
Hi,
where I could find info on how to make rpm for suse? Or maybe there is another solution for my problem. I have one old SuSE Linux Standard Server 8.0. In another town there is another such server. I have to configure support for APC Smart UPS 1500. I will use "apcupsd" package. I cannot find "apcupsd" rpm package for SLSS8 on the net. I get sources and compiled it on my server. How can I transfer it to another server? Any suggestions?
Audrius =========
Try KRPMbuilder, it's been one of the easiest I've found lately. I've had problems of late using "checkinstall", as the others suggest, especially if the coding is not exactly right. Many of the source archives don't call or direct things to the right directory when doing checkinstall, so the rpm fails to build. KRPMbuilder will help eliminate those problems as well as helping you understand the proper building of a rpm. end of line Lee
participants (5)
-
Audrius
-
BandiPat
-
Carlos E. R.
-
David Bolt
-
James Knott