SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I use rpm2tgz to transform some rpm packages to tgz format, for instance OpenOffice or the Epson Aculaser C1100 driver (well I'd like to for the later).
Unfortunately, I found that rpm is currently broken in -current and -current64, missing a libnss3 lib, which I found nowhere except in firefox and openoffice.
Does anyone know in what package libnss3 should be found?
Obviously, the rpm-4.4.2.3 package from slack-12.2 didn't have such dependency.
Mmm, all right, I do install Firefox (which also has this lib) but indeed I uninstall seamonkey, which I don't use at all, dont understand the point of this stuff anyway.
OK, I'll got ahead and install it. That's really a weird dependency for rpm. I tried to compile the Slackbuild without it but it fails in the configure script and I could not find any flag disabling this requirement.
Thanks for the tip!
Maybe the Slackware team should consider using rpm-5.1.6 as it seems to not have this dependency. Or maybe simply sticking with the older version as used in Slackware-12.2. Since rpm is not critical for Slackware, either solution might offer the desired functionality. rpm-5 has an extra dependency on beecrypt, but including that would certainly make more sense than having an rpm version that depends on having seamonkey installed. Or maybe libnss shoudl be split out into a separate packages as it used to be (IIRC).
Perhaps an easier option is to use the Slackbuild script at slackbuilds.org?
Quote:
That lib is part of seamonkey.
I have noticed for a long time that several things break when Seamonkey is not installed. This is not intuitively obvious to most users. People who use Firefox, Opera, or Konqueror might be inclined to remove or not install that package.
Perhaps the Slackware installation docs, CHANGES_AND_HINTS.TXT, UPGRADE.TXT, whatever, could contain a noticeable CAUTION that removing or not installing that package might break the function of other packages. Perhaps too, list the specific packages that depend upon the Seamonkey package. Just an idea.
Perhaps an easier option is to use the Slackbuild script at slackbuilds.org?
Well, honestly, I use Slackbuilds for compiles that last about 20 minutes, but in that case, I find much easier to convert 20 or so rpm to tgz files, which is scriptable and run fine afterwards, than going through a 2-3 hours compile (never tried but heard that it took about that amount of time on a not too old system). :-)
Maybe the Slackware team should consider using rpm-5.1.6 as it seems to not have this dependency.
rpm5 isn't the official rpm, and the rpm-based "big distributions" don't use it - they use the stuff from rpm.org.
Quote:
Or maybe simply sticking with the older version as used in Slackware-12.2. Since rpm is not critical for Slackware, either solution might offer the desired functionality.
rpm-4.4.whatever won't build with xz support, and while there are patches from Mandriva and a few others, none of them work without extra hackery. Being able to inspect rpm's created on newer OpenSuSE (which uses lzma to compress them) requires xz support in rpm. [1]
Quote:
maybe libnss shoudl be split out into a separate packages as it used to be (IIRC).
mozilla-nss was shipped in 11.0/patches/ for gaim due to some breakage in seamonkey's nss, but otherwise, it's never been part of Slackware. Either way, you had the right idea :-)
[1] Well, it is *possible* to inspect an lzma-compressed rpm on 12.2 (assuming you have either the old lzma-utils or xz installed):
Code:
# Extract the contents of file.rpm to the current directory
rpm2cpio < file.rpm | lzma -dc | cpio -imdv
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.