mutt installation on rhel 5
Hi guys I´m trying to install mutt on redhat 5 but I keep getting this:
[root@localhost mutt-1.4.2.3]# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for prefix... /usr/local checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for library containing strerror... none required checking for function prototypes... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for string.h... (cached) yes checking how to run the C preprocessor... gcc -E checking whether make sets $(MAKE)... (cached) yes checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for ar... ar checking for inline... inline checking for an ANSI C-conforming const... yes checking for dbx... no checking for gdb... /usr/bin/gdb checking for sdb... no checking for sendmail... /usr/sbin/sendmail checking for ispell... /usr/bin/ispell checking for initscr... no checking for waddnwstr in -lncurses... no checking for waddnwstr in -lncursesw... no checking for initscr in -lncurses... no checking for initscr... (cached) no checking for tgoto... no checking for tgoto in -ltermcap... no checking for tgoto in -ltermlib... no checking for tgoto in -lunknown... no checking for initscr in -lcursesX... no checking for initscr in -lcurses... no checking for initscr in -lncurses... (cached) no checking for initscr in -lxcurses... no checking for initscr in -ljcurses... no checking for initscr in -lunknown... no configure: error: no curses library found I´ve downloaded the ncurses from ftp://prep.ai.mit.edu/pub/gnu/ but I don´t know how to link this w/ mutt Appreciate your help in advance |
juanppf,
If you are using RedHat, and you have paid for the support, I would recommend using YUM to install ncurses and probably ncurses-devel, just to be safe. Yum will install them and link them accordingly. HTH |
Thank you netnix99 for your reply but I've tried the yum but didn't work!
[root@localhost mutt-1.4.2.3]# yum install ncurses Loaded plugins: product-id, security, subscription-manager Updating Red Hat repositories. ftp://ftp.redhat.com/pub/redhat/linu...ta/repomd.xml: [Errno 4] IOError: [Errno ftp error] 550 Failed to change directory. Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-debuginfo-beta. Please verify its path and try again Nevertheless I extracted the files form the tarball, and read the README, however I couldn't find the installation file [root@localhost mutt-1.4.2.3]# ls ABOUT-NLS depcomp mailbox.h mx.c regex.c acconfig.h doc main.c mx.h _regex.h account.c dotlock.c makedoc.c NEWS reldate.h account.h dotlock.h Makefile.am OPS remailer.c aclocal.m4 edit.c Makefile.in OPS.MIX remailer.h addrbook.c editmsg.c mapping.h OPS.PGP resize.c alias.c enter.c mbox.c pager.c rfc1524.c ascii.c extlib.c mbyte.c pager.h rfc1524.h ascii.h filter.c mbyte.h parse.c rfc2047.c attach.c flags.c md5c.c PATCHES rfc2047.h attach.h from.c md5.h patchlist.sh rfc2231.c base64.c functions.h menu.c pattern.c rfc2231.h BEWARE gen_defs mh.c pgp.c rfc822.c browser.c getdomain.c mime.h pgpewrap.c rfc822.h browser.h globals.h mime.types pgp.h score.c buffy.c gnupgparse.c missing pgpinvoke.c send.c buffy.h GPL mkinstalldirs pgpkey.c sendlib.c ChangeLog handler.c muttbug pgplib.c sha1.c charset.c hash.c muttbug.sh.in pgplib.h sha1.h charset.h hash.h mutt_curses.h pgpmicalg.c signal.c color.c hdrline.c mutt_dotlock.c pgppacket.c snprintf.c commands.c headers.c mutt.h pgppacket.h sort.c complete.c help.c muttlib.c pgppubring.c sort.h compose.c history.c mutt_menu.h po stamp-doc-rc config.guess history.h Muttrc pop_auth.c status.c config.h.in hook.c Muttrc.head pop.c strcasecmp.c config.log imap Muttrc.head.in pop.h strdup.c config.sub init.c mutt_regex.h pop_lib.c system.c configure init.h mutt_sasl.c postpone.c thread.c configure.in INSTALL mutt_sasl.h prepare TODO contrib install-sh mutt_socket.c protos.h url.c copy.c intl mutt_socket.h query.c url.h copy.h keymap.c mutt_ssl.c README utf8.c COPYRIGHT keymap.h mutt_ssl.h README.SECURITY VERSION curs_lib.c lib.c mutt_ssl_nss.c README.SSL wcwidth.c curs_main.c lib.h mutt_tunnel.c recvattach.c date.c m4 mutt_tunnel.h recvcmd.c tried to run ./configure and ./prepare downloded and configure the ncurses and guile-ncurses but it is still saying that curses are missing |
Don't do that; installing via yum will automatically install a working binary along with any dependencies, that's its job.
Don't try to install and build from the src code. Run this cmd Code:
yum repolist You don't need the rhel-debuginfo-beta repo. You should find the repo defns in /etc/yum.repos.d. Please list the filenames. |
Hi! thk for the reply! I ran the cmd but found this:
[jpp@localhost ~]$ yum repolist Plugin "product-id" can't be imported Plugin "subscription-manager" can't be imported Loaded plugins: security rhel-debuginfo 6305/6305 repo id repo name status rhel-debuginfo Red Hat Enterprise Linux 5Server - x86_64 - Debug 6,305 repolist: 6,305 then [jpp@localhost pluginconf.d]$ cd /etc/yum.repos.d [jpp@localhost yum.repos.d]$ ls redhat.repo rhel-debuginfo.repo rhel-source.repo Is this a not secure distro?? |
for some very odd reason you ONLY have the debug repo installed
"rhel-debuginfo Red Hat Enterprise Linux 5Server - x86_64 - Debug 6,305" and you do not have the normal base RHN repo nor the RHN update repo please contact red hat tech support you are after all paying for the support , you might as well use it you NEED the base rhel and rhel-update repos they should have been installed at the time of the older RHEL5 install then activated once you registered your install the current rhel5 is RHEL 5.9 |
It looks like you've got 3 repo definition files installed
Code:
redhat.repo rhel-debuginfo.repo rhel-source.repo Check each one and only set enable=1 in the first ie redhat.repo and set enable=0 in the other 2, then try 'yum repolist' again. If you get the right answer, try 'yum update'. Any problems, post the contents of each and the cmds you ran and the msgs you got. |
thanks guys
|
All times are GMT -5. The time now is 08:09 PM. |