Archive

Posts Tagged ‘libxfs’

Slackware 13.1 & libxfs.h

July 12th, 2010 No comments

I was trying to build partclone to read an image created with clonezilla, and discovered it won’t build with XFS support on Slackware because Slackware lacks libxfs.h. I think this is somewhat intentional in that the XFS Makefile only installs the header if you explicitly target “install-qa”. It seems libxfs.h is only supposed to be used by XFS devs and 3rd party software should not require it, and I’m happy with that.

Just in case there is a reason you should need libxfs.h on Slackware:

cp -a /mirror/slackware/slackware-13.1/source/a/xfsprogs ~/.
cd ~/xfsprogs
sed -i -e '93i\make install-qa DIST_ROOT=\$PKG' -e 's/\(BUILD:-1\)/\1qa/' xfsprogs.SlackBuild
./xfsprogs.SlackBuild
upgradepkg /tmp/xfsprogs*1qa.t?z

You now have libxfs.h installed at /usr/include/xfs/libxfs.h

Categories: Slackware Tags: ,