LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 02-14-2013, 03:20 PM   #1
juanppf
LQ Newbie
 
Registered: Feb 2013
Posts: 7

Rep: Reputation: Disabled
mutt installation on rhel 5


Hi guys Im 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

Ive downloaded the ncurses from ftp://prep.ai.mit.edu/pub/gnu/
but I dont know how to link this w/ mutt

Appreciate your help in advance
 
Old 02-14-2013, 03:29 PM   #2
netnix99
Member
 
Registered: Jun 2011
Distribution: redhat, CentOS, OpenBSD
Posts: 266

Rep: Reputation: 90
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
 
1 members found this post helpful.
Old 02-14-2013, 03:37 PM   #3
juanppf
LQ Newbie
 
Registered: Feb 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
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

Last edited by juanppf; 02-14-2013 at 06:34 PM.
 
Old 02-14-2013, 06:42 PM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
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
to show what repos you've got enabled.
You don't need the rhel-debuginfo-beta repo.
You should find the repo defns in /etc/yum.repos.d. Please list the filenames.
 
Old 02-17-2013, 03:47 AM   #5
juanppf
LQ Newbie
 
Registered: Feb 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
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??
 
Old 02-17-2013, 02:20 PM   #6
John VV
Guru
 
Registered: Aug 2005
Posts: 13,536

Rep: Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808
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

Last edited by John VV; 02-17-2013 at 02:21 PM.
 
Old 02-17-2013, 07:12 PM   #7
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
It looks like you've got 3 repo definition files installed
Code:
redhat.repo rhel-debuginfo.repo rhel-source.repo
As they are ASCII text files, you can edit them eg vi / vim.
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.
 
Old 02-24-2013, 08:03 PM   #8
juanppf
LQ Newbie
 
Registered: Feb 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
thanks guys
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Mutt does not change the "unread" flag on the IMAP server and other Mutt questions TobiSGD Linux - Software 1 10-09-2012 09:44 AM
mutt does not honour mutt.rc 'use_from' entry when accepting piped input davidchall Linux - Software 0 05-28-2012 03:13 AM
Installation error during installation of RHEL 5 using usb drive sunrave Red Hat 1 05-14-2012 06:22 AM
Mutt experts - Mutt won't use the Maildir I specify in .muttrc moistTowelette Debian 2 08-24-2009 09:04 AM
Mutt question: "How can I configure mutt for not automarking as read??" xowl Linux - Software 0 09-25-2007 10:09 AM


All times are GMT -5. The time now is 08:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration