LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem compiling parted (https://www.linuxquestions.org/questions/linux-software-2/problem-compiling-parted-729116/)

prushik 05-28-2009 11:29 AM

Problem compiling parted
 
I am trying to compile parted for my embedded armeb system. I tried to configure it like so: ./configure --host=armeb-linux --prefix=/home/armsys/usr/
but i recieve the error:
Code:

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).

So I downloaded the e2fsprogs tarball, compiled it and installed it like this:
Code:

./configure --host=armeb-linux --prefix=/home/armsys/usr/
make all libs
make install install-libs

It was all successful. Then I went back to parted and tried configure again, and I received the exact same error. What am I doing wrong? I checked /home/armsys/usr/lib/ and the library (libuuid.a) is present. What should I do next?

jdkaye 05-28-2009 12:22 PM

Have you tried installing the uuid-dev package?
cheers,
jdk

prushik 05-28-2009 01:27 PM

I can't. Unless you have a uuid-dev package compiled for an armeb-linux system.

knudfl 05-28-2009 01:57 PM

The package 'libuuid1' for 'arm'
http://packages.debian.org/lenny/libuuid1

The ' -dev ' package 'uuid-dev' :
http://packages.debian.org/lenny/uuid-dev
Mainly a link + some headers.
If you can't use the packages, the source is included,
same site.

Parted, all architectures
http://packages.debian.org/lenny/libparted1.8-i18n

And probably another 10,000 packages for arm.
.....

prushik 05-29-2009 01:42 AM

No luck. I didn't find any sources. The packages only contain pre-compiled binary files and headers, and none for the right arch. I can't use binaries compiled for arm, because "arm" assumes a little endian system, and mine is a big endian system, so I need to compile everything myself. The libparted package only contains locales and docs as far as I can tell (very misleading name).
I am pretty convinced that I have the right libraries, compiled for my correct system, but for some reason or another, the configure script and/or my compiler can't see them. Could there be any reason for this?

knudfl 05-29-2009 07:50 AM

http://packages.debian.org/lenny/libuuid1
or
http://packages.debian.org/lenny/uuid-dev
> > The right column > "Links for uuid-dev"
[e2fsprogs_1.41.3.orig.tar.gz]
[e2fsprogs_1.41.3-1.diff.gz]

.....
Sorry for the libparted link, try this
http://packages.debian.org/etch/libparted1.7-1
But then again ... all packages, parted, are listed
> > The right column > "Similar packages:"
.....

prushik 05-29-2009 08:40 AM

Arm big endian packages are not available and the source tarballs on those pages are identical to the ones I already have.


All times are GMT -5. The time now is 05:48 PM.