Packages of different distributions

 
Thread Tools Search this Thread
Operating Systems Linux Slackware Packages of different distributions
# 1  
Old 11-21-2004
Packages of different distributions

hi,
as you know nearly every distribution has its own package-management and it needs special packages to install different software.
For slackware it's *.tgz, for debian *.deb, for many rpm's *.rpm and so on, but I wonder how a package can be built to be compatibel with every maschine.

An example:
I have downloaded the package for sodipodi from linuxpackages.net and I use slackware 10. The package was also built for slackware 10, but after the quick installation I found out that I was not able to execute the binary "sodipodi", because a library is missing. After that I downloaded the source of sodipodi and compiled it myself. ./configure didn't complain about missing libs, so I "make"d sodipodi and it worked. I am now able to use sodipodi.
My explanation is that the package creator has built sodipodi against another version of a lib, which is already installed on my system.

So, my question is, how to build a package, which runs for example on all slackware 10 installations? I think this is quite impossible, because I am not able to know if the user has updated some libs or if I have a newer lib than the user.

It would be nice if you would comment on my question, because I don't understand the topic with different library-versions. It just confuses me :/...

avaurus.-
# 2  
Old 11-21-2004
Some people who build packages, may be using Slackware-current, or they have updated certain libraries, then they build their packages. So that when someone else uses these packages on their system, such as a stock Slackware-10, they are missing these libraries.

It is possible that the packager used an updated library, which you were missing. But you did have an earlier verison of the library, this is why compile && make did not complain.

Building your own Slackware packages is very simple, and is a good way to install packages, since you now have the ability to remove these titles with pkgtool.

To build a packages that works on ALL Slackware-10 boxes, you have to have a Slackware-10 install with absolutely no updates. Then your packages will work on all other Slackware-10 installs. This is how the majority of Slackware packages are built, and preferred at http://linuxpackages.net

As for a packages that is compatible for every distro, that is not going to happen. Building from sources would be that 'universal' system. It is possible to install different packages onto Slackware, such as using a rpm or .deb on slackware, but it requires a conversion process.

Last edited by locustfurnace; 11-21-2004 at 12:36 PM..
# 3  
Old 11-21-2004
Quote:
To build a packages that works on ALL Slackware-10 boxes, you have to have a Slackware-10 install with absolutely no updates.
ok, thank you.

Quote:
As for a packages that is compatible for every distro, that is not going to happen.
of course not Smilie...

ok, all I wanted to know is answered, thank you.
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

unix distributions?

I'm new in the UNIX world. I'm just wondering what are the different examples of unix distributions? (2 Replies)
Discussion started by: j3ff_skull
2 Replies

2. Slackware

Find Slackware Packages - packages.acl.org.ua

Hi! Let me introduce a project for find and download Slackware packages and browse Slackware repositories. The site provides following features: * Large, daily updated database with RPM, DEB, TGZ, TXZ packages for well-known repositories of the Slackware, Fedora, CentOS, RHEL, Debian,... (2 Replies)
Discussion started by: lystor
2 Replies

3. UNIX for Dummies Questions & Answers

How to calculate frequency distributions?

Hello, I'm trying to get lists of the frequency distributions for each of two variables (vars C and N in the examples). I'd like the distribution for each variable to range from the min of the two variables to the max of the two variables. I can work out the max value beforehand by ordering the... (2 Replies)
Discussion started by: auburn
2 Replies

4. Shell Programming and Scripting

/etc/init.d available in all Linux distributions?

Hi All, I would just like to know if the /etc/init.d directory which is used to hold the start up scripts is available in all linux distributions? Are there any exceptions One more question Is the command chkconfig available in all Linux distributions and used in a similar fashions... (2 Replies)
Discussion started by: gurubarancse
2 Replies

5. UNIX for Dummies Questions & Answers

Unix or Linux distributions for a PC

Hi all, I'd like to install either Unix or Linux on my PC and I don't know which way to go- I've tried with HP-UX 11.11 and it failed but I've heard that LInux is the fastest growing operating system in the world.I am asking you thus what sort of Linux distribution would be the best choice for a... (8 Replies)
Discussion started by: adrian262
8 Replies
Login or Register to Ask a Question