[gradsusr] Error compiling ncurses library

Huddleston, John Huddleston at cira.colostate.edu
Mon Jun 21 15:08:02 EDT 2010


Hi Huber

The 'tic' and 'infocmp' applications are used for a different purpose to "terminfo compile" terminal settings for your server.  It is not used by GrADS.

You can either copy the libncurses.a file to your ${SUPPLIBS}/lib directory and move to the next  supplibs library 'zlib' or simply 'touch tic' and make will go to the next.

Since you already have built the ncurses library, I like the first solution better; however, the make install will also copy include files
curses.h  eti.h  form.h  menu.h  ncurses.h  ncurses_dll.h  panel.h  term.h  termcap.h  unctrl.h

to the ${SUPPLIBS}/include/ncurses directory.

I sent a copy of the building grads PDF to your personal ID.

John Huddleston, PhD
Cooperative Institute for Research in the Atmosphere

From: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org] On Behalf Of Huber Paúl Gilt López
Sent: Monday, June 21, 2010 11:39 AM
To: 'GrADS Users Forum'
Subject: [gradsusr] Error compiling ncurses library

Hello Everybody,

I'm trying to compile the ncurses library, but after exec these commands I found the error: "Can't find library for -lunwind"

#export CC=gcc
#export CXX=g++
#export FC=f90
#./configure -disable-shared -prefix=/home/huber/grads/supplibs/src/readline-5.0
#make

make[1]: Entering directory `/home/huber/grads/supplibs/src/ncurses-5.7/progs'
gcc ../objects/tic.o ../objects/dump_entry.o  -I../progs -I. -DHAVE_CONFIG_H -I. -I../include  -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64  -DNDEBUG -I/home/huber/grads/supplibs/src/ncurses-5.7/include/ncurses -O2 --param max-inline-insns-single=1200 -static -L../lib -lncurses -L../lib -lncurses -dynamic   -o tic
ld: Can't find library for -lunwind
Fatal error.
collect2: ld returned 1 exit status
make[1]: *** [tic] Error 1
make[1]: Leaving directory `/home/huber/grads/supplibs/src/ncurses-5.7/progs'
make: *** [all] Error 2

And also, I found this library in: /usr/lib/hpux32/libunwind.so, so I added the "-L/usr/lib
/hpux32 -lunwind" at the end of the last command line, but neither it's the same error:

ld: Can't find library for -lunwind
Fatal error.
collect2: ld returned 1 exit status

How can I setup the lunwind library, is it necessary or maybe can I exclude it?

Please help me,
Best regards,
Huber Paúl Gilt López
IGP-Perú


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100621/74bc31b2/attachment-0003.html 


More information about the gradsusr mailing list