Sponsored Content
Operating Systems Linux Slackware Packages of different distributions Post 58414 by avaurus on Sunday 21st of November 2004 08:37:04 AM
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.-
 

5 More Discussions You Might Find Interesting

1. 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

2. 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

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. 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

5. 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
CheckInstall(8) 					      System Manager's Manual						   CheckInstall(8)

NAME
checkinstall -- Track installation of local software, and produce a binary manageable with your package management software. SYNOPSIS
checkinstall [options] [install command] DESCRIPTION
checkinstall is a program that monitors an installation procedure (such as make install, install.sh ), and creates a standard package for your distribution (currently deb, rpm and tgz packages are supported) that you can install through your distribution's package management system (dpkg, rpm or installpkg). Note that for most useful actions, checkinstall must be run as root. OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes ('-'). A summary of options is included below. All the options that toggle a switch default to activate the option. To force activation or deactivation, call them with '=yes' or '=no'. As an example, to disable stripping use --strip=no. -h --help Show summary of options. --version Show version information. --copyright Show Copyright information --type Choose packaging system. Can be one of 'slackware', 'debian' or 'rpm'. -D Create a Debian package. -R Create a RPM package. -S Create a Slackware Package. --install Toggle installation of the created package. --fstrans Enable/disable filesystem translation. Filesystem translation enabled causes the install to proceed in a temporary directory, thus not actually touching your system. -y --default Accept default answers to all questions. --pkgname Set the package name. --pkgversion Set package version. -A --arch --pkgarch Set package architecture. --pkgrelease Set the package release. --pkglicense Set package license. --pkggroup Set the package group. --pkgsource Set source location --pkgaltsource Set alternate source location --pakdir Where to save the new package. --maintainer Set the package maintainer. Be careful to correctly quote/escape the name, to prevent shell expansion --provides Features provided by this package (currently only on RPM and Deb). --requires Dependencies required by this package. --rpmflags Pass this flags to the rpm installer. --rpmi Use the -i flag when installing a rpm. --rpmu Use the -U flag when installing a rpm. --dpkgflags Pass this flags to the dpkg installer --spec Where the .spec file is located --nodoc Do not include documentation files. -d Set debug level. Must be one of 0, 1 and 2. -si Run an interactive install command --showinstall Toggle interactive install command. -ss Run an interactive Slackware installation script. --showslack Toggle interactive Slackware installation script. --autodoinst Toggle creation of a doinst.sh script. --strip Toggle stripping any ELF binaries found inside the package. --stripso Toggle stripping any ELF libraries (.so) found inside the package. --addso Search for any shared libs and add them to /etc/ld.so.conf --reset-uids Reset perms for all files/dirs to 755 and the owner/group for all dirs to root.root --gzman Compress any man pages found inside the package. --docdir Where to put documentation files. --umask Set the umask value. --exclude Exclude these files/directories from the package. --include Force the inclusion in the package of the files/dirs listed in the argument (a file). --inspect Inspect the package's file list --review-spec Review the spec file before creating a .rpm. --review-control Review the control file before creating a .deb. --newslack Use the new (8.1+) Slackware description format ("--newslack" implies "-S") --with-tar Manually set the path to the tar binary. --deldoc Toggle deletion of doc-pak upon termination. --deldesc Toggle deletion of description-pak upon termination. --delspec Toggle deletion of spec file upon termination. --bk Backup any overwritten files --backup Toggle backup FILES
This program reads its configuration from /etc/checkinstallrc, which can be used to override defaults. Command line arguments override settings in the configuration file. AUTHOR
This manual page was written by Felipe Sateler <fsateler@gmail.com> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. CheckInstall(8)
All times are GMT -4. The time now is 08:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy