Re: slackware64 util-ng build error

Jari Ruusu <[email protected]> Sat, 05 Sep 2009 19:28:01 +0300
Newsgroups gmane.linux.cryptography
Message-ID <[email protected]>
"[email protected]" wrote:
> Now I'm using Mark patched util-linux and seems to be working fine, but
> first I tryed to reconfigure util renaming temporary libblkid >
> libblkid_no and then got util successfully compiled. I installed all
> packages of slackware64, I looked for libuuid in the packages list of
> slak64-13 and didn't find it.

I have seen at least one setup where blkid library auto-detection didn't
work correctly. Dunno if this affects slackware.

My workaround was to manually override ./configure auto-detection by running
the script like this:

CFLAGS="-O2 -Wall" BLKID_LIBS='-lblkid -luuid' BLKID_CFLAGS='-I/usr/include/blkid' ./configure

The problem was buggy/incorrect data in blkid library configuration file
that usually is in /usr/lib/pkgconfig/blkid.pc

Type "man pkg-config" for more info about *.pc files.

-- 
Jari Ruusu  1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9  DB 1D EB E3 24 0E A9 DD

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/