[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compiling parted
From: |
Dan Knapp |
Subject: |
Compiling parted |
Date: |
Wed, 20 Dec 2000 14:51:45 -0500 (EST) |
So, I had tried the precompiled versions of parted, but was unable to
use them due to the cylinder-not-aligned problem (which Partition Magic
happily created for me, with a minimum of warning, and which no tool I'm
aware of for any OS can do anything about). So when I read the announcement
for 1.2.14-pre3, I thought I'd just build it and see whether it could print
a partition table. (I have rather a large amount of data on the drive in
question, which I can't at present back up, so I wouldn't have actually
changed anything with a -pre version... but it would have been some nice
feedback to give to the list...) Unfortunately, I discovered that I can't
compile parted, apparantly due to libuuid not being usable. I suppose this
is off-topic, but can anybody help me get parted to build?
tatara-ba% ./configure
[...]
checking for uuid_generate in -luuid... no
configure: error: GNU Parted requires libuuid - a part of the e2fsprogs
package.
This can probably be found on your distribution's CD or FTP site or at:
http://web.mit.edu/tytso/www/linux/e2fsprogs.html
Note: if you are using precompiled packages you will also need the
development
package as well (which may be called e2fsprogs-devel or something
similar).
tatara-ba% ls -l /lib
[...]
-rw-r--r-- 1 root root 7664 Dec 3 22:21 libutil-2.2.so
lrwxrwxrwx 1 root root 14 Dec 11 11:20 libutil.so.1 ->
libutil-2.2.so
lrwxrwxrwx 1 root root 14 Dec 15 14:55 libuuid.so.1 ->
libuuid.so.1.2
-rw-r--r-- 1 root root 9064 Dec 4 16:38 libuuid.so.1.2
lrwxrwxrwx 1 root root 16 Dec 15 14:49 libwrap.so.0 ->
libwrap.so.0.7.6
-rw-r--r-- 1 root root 23052 Aug 8 01:56 libwrap.so.0.7.6
drwxr-xr-x 4 root root 4096 Nov 23 20:44 modules
drwxr-xr-x 2 root root 4096 Dec 15 16:42 security
tatara-ba% cat > foo.c
int main(void) { return 0; }
tatara-ba% gcc -lutil foo.c
tatara-ba% gcc -luuid foo.c
/usr/bin/ld: cannot find -luuid
collect2: ld returned 1 exit status
tatara-ba%
... and I can compile a trivial program with -lutil, so gcc must be scanning
that directory.
This is Linux - Debian, to be exact. The e2fsprogs package is installed.
| Dan Knapp, Knight of the Random Seed
| http://brain.mics.net/~dankna/
| ONES WHO DOES NOT HAVE TRIFORCE CAN'T GO IN.
- Compiling parted,
Dan Knapp <=