mysql-3.23.52 powerpc-apple-darwin6.1 help

tamoore

Registered
I cannot seem to compile the mysql package
on this Mac OSX 10.2
using


--/configure -with-named-curses-libs=-lncurses


I have found that the curses lib is
/usr/lib/libncurses.dylib


here is the error I get

mkdir .libs
g++ -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -traditional-cpp -DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -o mysql mysql.o readline.o sql_string.o completion_hash.o ../readline/libreadline.a ../libmysql/.libs/libmysqlclient.a -lz -lm -lz -lm
ld: Undefined symbols:
_tgoto
_tputs
_tgetent
_tgetflag
_tgetnum
_tgetstr
make: *** [mysql] Error 1

Thanks in advance.
T
 
It looks like it is not linking the ncurses correctly (or the ncurses is not installed).


If you are not sure what to do, just use 'fink' at http://fink.sourceforge.net and forget about it, there is even 'FinkCommander', a GUI for it.


dani++
 
even better than fink.

in the client makefile make it have this.

LIBS = -lz -lm -ltermcap

( approx line #187 )


its missing the -ltermcap

Regards
Terry
 
Back
Top