杨�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 _______________________________________________ bug-parted mailing list bug-parted@gnu.org http://lists.gnu.org/mailman/listinfo/bug-parted