?
Solved

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

Posted on 2004-08-26
4
Medium Priority
?
230 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 500 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

Video: Liquid Web Managed WordPress Comparisons

If you run run a WordPress, you understand the potential headaches you may face when updating your plugins and themes. Do you choose to update on the fly and risk taking down your site; or do you set up a staging, keep it in sync with your live site and use that to test updates?

Question has a verified solution.

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

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month9 days, 11 hours left to enroll

762 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