Makepack FAQ

Contents

Problems

Q When trying to install a software I get an error message looking something like: make: *** No rule to make target `/var/tmp/makepack/packages/angrydd-1.0.1-i486-mp.tgz', needed by `/var/log/packages/angrydd-1.0.1-i486-mp'. Stop.
A This is because of a bug in Gnu Make versions older than 3.81. Makepack has a built in workaround target "make all directories". If Gnu make is upgraded to version 3.81 (included in Slackware 11) or "make all directories" is done this error message is avoided.

Q When trying to install a software I get an error message looking something like: rm: cannot remove `/var/tmp/makepack/build/stellarium-0.8.0/doc-pak/COPYING': Permission denied
A You are probably using checkinstall 1.6.0 (included in Slackware 11 /extra). The recomended soultion is to use version 1.5.3 of checkinstall instead. Version 1.5.3 can be built for Slackware 11 using the SlackBuild script for Slackware 10.2. Another workaround for this bug is to run makepack as root. Running makepack as root is not recomended and you might still suffer from other bugs in checkinstall 1.6.0.

Q Makepack fails to install a Perl module.
A You are probably using checkinstall 1.6.0 (included in Slackware 11 /extra). The soultion is to use version 1.5.3 of checkinstall instead. Version 1.5.3 can be built for Slackware 11 using the SlackBuild script for Slackware 10.2.

Created Slackware packages

Q Does makepack optimize the compilation of programs using different flags for different architectures.
A Yes, most rules use different optimization flags depending on how ARCH is set. Arch can be set in Settings.mk or as an environment variable.

Versions

Q Which version of Slackware does makepack work with?
A Makepack is confirmed to work with Slackware version 9.1 and newer. Makepack probably also works with Slackware 9.0 and 8.1 but does not work with Slackware 8.0 as Slackware 8.0 has another format for package names.

That being said, we must still be aware that many software packages has requirements on recent versions of different libraries and tools. If you are running an older version of Slackware you might want to try an older version of makepack where the included rule files point to older versions.

Stable versions of makepack are supposed to match the latest stable version of Slackware at the release date of the makepack version.

Q What about Slamd64?
A Since version 0.2.1 of makepack Slamd64 is officially supported. However, please be aware that makepack requires the old version 1.5.3 of checkinstall. It is possible to use the sources and Slackbuild script from Slackware 10.2 to build checkinstall 1.5.3 on Slamd64.

Most software automagically compiled right out of the box on Slamd64, some, mostly older, software required some extra flags in their makepack rule files. ARCH should be set to x86_64 when compiling for Slamd64.