[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: installing parted 2.1 and 2.2 on RHEL5.3 failed
From: |
Curtis Gedak |
Subject: |
Re: installing parted 2.1 and 2.2 on RHEL5.3 failed |
Date: |
Thu, 04 Mar 2010 09:21:23 -0700 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090817) |
杨�D wrote:
>
> Hi,
>
> I tried to install parted 2.1 and 2.2 on RHEL5.3, but I get some
> errors and faild.
>
> ./configure
>
> checking for library containing tgetent... -ltermcap
>
> checking for readline in -lreadline... no
>
> configure: error: GNU Readline could not be found which is required
> for the
>
> --with-readline (which is enabled by default). Either disable readline
> support with
>
> --without-readline or downloaded and install it from:
>
> ftp.gnu.org/gnu/readline
>
> Note: if you are using precompiled packages you will also need the
> development
>
> package as well (which may be called readline-devel or something similar).
>
> Where should I find the readline software? I have installed the
> readline version that RHEL5.3 inclues, but still got the err. So I
> execute “*./configure --without-readline*”**
>
> * *
>
> *./configure --without-readline*
>
> * *
>
> *When I execute ‘make’, I got these:*
>
> *cc1: warnings being treated as errors*
>
> *arch/linux.c: In function '_dm_maptype':*
>
> *arch/linux.c:440: warning: implicit declaration of function
> 'dm_task_set_major_minor'*
>
> *make[3]: *** [linux.lo] Error 1*
>
> *make[3]: Leaving directory `/root/parted-2.1/libparted'*
>
> *make[2]: *** [all-recursive] Error 1*
>
> *make[2]: Leaving directory `/root/parted-2.1/libparted'*
>
> *make[1]: *** [all-recursive] Error 1*
>
> *make[1]: Leaving directory `/root/parted-2.1'*
>
> *make: *** [all] Error 2*
>
> But I can install parted 1.90 or lower version on RHEL5.3
> successfully, what is the difference ?
>
>
>From your message it appears that the device mapper library is not
present on your computer system.
You could try adding the "--disable-device-mapper" configure option so
that device mapper is not used.
E.g.,
./configure --without-readline --disable-device-mapper
Regards,
Curtis Gedak