Solved

getting split.c:51:4: #error while installing mtr-0.44

Posted on 2004-08-26
4
225 Views
Last Modified: 2013-12-06
Hi,
I am trying to install mtr-044 on a Fedora Core release 1. Its a program which pings and does traceroute simultaneously. While issuing the command 'make' i get the follwoing error:

root@test mtr-0.44]# make
make  all-recursive
make[1]: Entering directory `/home/test/mtr-0.44'
Making all in img
make[2]: Entering directory `/home/test/mtr-0.44/img'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/test/mtr-0.44/img'
make[2]: Entering directory `/home/test/mtr-0.44'
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -c split.c
split.c:51:4: #error No curses header file available
make[2]: *** [split.o] Error 1
make[2]: Leaving directory `/home/test/mtr-0.44'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/test/mtr-0.44'
make: *** [all-recursive-am] Error 2
[root@test mtr-0.44]#

What does that error mean? Previously I was running the same program in Redhat 7.1 without any errors.

TIA,
S.
0
Comment
Question by:shekharbasnet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 6

Expert Comment

by:de2Zotjes
ID: 11901686
Ther error is clear: there is no curses header file available.
The header file is needed to inform the mtr packet about the capabilities of your curses libraries (roughly).

The easiest solution is to install the rpm that contains those header files. In redhat/fedora speak those are the devel-packages. So you probably have a ncurses library on your system (check with rpm -q -a|grep curses), install the devel-rpm for the SAME version:

rpm -q -a|grep ncurses

ncurses-5.2-26

rpm -iv ncurses-devel-5.2-26.rpm

You will probably have to search for the file on your distribution medium or the internet.
0
 
LVL 2

Author Comment

by:shekharbasnet
ID: 11924392
Ok, I downloaded and isntalled the relevant devel-rpm.

[root@test mtr-0.44]# rpm -qa | grep curses
ncurses-5.3-9
ncurses-devel-5.3-9
[root@test mtr-0.44]#

But  I am still getting the same error. Any other suggestions?

TIA
s.
0
 
LVL 6

Accepted Solution

by:
de2Zotjes earned 125 total points
ID: 11926885
You need to "clean" out the configuration data that is stored for the mtr package:

make distclean (might produce an error, no such target)
make clean

ls -a| grep cache

remove any cache files having anything to do with config.

After all this do another
./configure
make all
0
 
LVL 2

Author Comment

by:shekharbasnet
ID: 11929118
Perfect...

Thanks a lot

-s
0

Featured Post

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question