Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Install the Linux rename utility' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Install the Linux rename utility
Authored by: tallest on May 23, '08 12:19:47PM

I had some trouble getting configure to run. It would fail with the following error:

checking for blkid_known_fstype in -lblkid... no
configure: error: blkid or volume_id is needed to build util-linux-ng.

Rather than trying to get the configure script working, I built rename manually. First, I had to add the line

#define PACKAGE_STRING "util-linux-ng"

to the beginning of the file 'misc-utils/rename.c'. Then I was able to compile it (from the misc-utils directory) with the following command:

gcc -I../include/ rename.c -o rename

This creates an executable that seems to work just fine.

[ Reply to This | # ]