It looks like the compiler can't find your "curses.h" file.  You may need to
install ncurses-devel rpm package first.

It should be on your redhat CDROM.

Do a "find / -name curses.h" and see if you can locate the file or do a
"rpm -qa | grep ncurses-devel"

I think the file resides in /usr/include/curses.h.

Good luck!

Trevor
<http://www.gnuguy.com>



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Patrick Beart
Sent: Thursday, September 19, 2002 4:55 PM
To: [EMAIL PROTECTED]
Subject: Program compile/install problem


Folks:

        I'm trying to install a program from it's tarball (rather
than an RPM), and I'm having some trouble ...

        The file un-tars fine.
        The "cd" to the newly created directory goes well, too.
        The "./configure" works, or seems to.
        The "make" command, however, produces the following error/result ...

--------
make[1]: Entering directory '/home/me/nano-1.0.9'
Making all in po
make[2]: Entering directory '/home/me/nano-1.0.9/po'
make[2]: Nothing to be done for 'all'.
make [2]: Leaving directory '/home/me/nano-1.0.9/po'
Making all in intl
make[2]: Entering directory '/home/me/nano-1.0.9/intl'
make[2]: Leaving directory '/home/me/nano-1.0.9/intl'
make[2]: Entering directory '/home/me/nano-1.0.9'
gcc -DHAVE_CONFIG_H -I. -I. -I. -Iintl
-DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/include   -g -02
-c  cut.c
In file include from proto.h:30,
        from cut.c:27:
nano.h:45:21: curses.h: No such file or directory
make[2]: *** [cut.o] Error 1
make[2]: Leaving directory '/home/me/nano-1.0.9'
make[1]: *** [all-recursive] Error1
make[1]: Leaving directory '/home/me/nano-1.0.9'
make: *** [all-recursive-am] Error 2
-----------

        "make install" doesn't work, either, obviously. This is where
the process stopped the first time. Any ideas about how to get this
to compile and install?

        My initial purpose was to create an RPM from the tarball, but
I've forgotten how to do that.

        TIA




Patrick Beart
--
------------------------------------------------
Web Architecture  &  "iWeb4Biz"         503-774-8280       Portland, OR
Internet Consulting, Intelligent Web site Development & Secure site Hosting.
http://www.WebArchitecture.com/

"This is an era when nonsense has become acceptable and sanity is
controversial."
                                      - Thomas Sowell
------------------------------------------------



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to