[Refdb-users] Starter-kit fails on OS X
Status: Beta
Brought to you by:
mhoenicka
From: <Re...@ao...> - 2004-01-14 18:59:00
|
Hi! I am using MAC OS X version 10.2.8 I have mysql installed. I have installed all of the refdb starter-kit libs (except for sqlite) only to have the refdb make fail with this error message: gcc -g -O2 -o refdbc refdbc.o pref.o strfncs.o readln.o page.o refdb-client.o client-commands.o readris.o connect.o tokenize.o getopt.o linklist.o enigma.o cgi.o atoll.o -lreadline -ltermcap ld: readln.o illegal reference to symbol: _xmalloc defined in indirectly referenced dynamic library /System/ Library/PrivateFrameworks/liberty.framework/Versions/A/liberty make[1]: *** [refdbc] Error 1 make: *** [all-recursive] Error 1 I need to be up and running quickly! Any help is greatly appreciated. Other starter-kit problems with solutions, based on my OS X build: btparse-0.33: During ./configure, an error is reported in btparse-0.33/src/lex_auxiliary.c line 161. The problem is actually on line 162: Orig: || (txt[0] == '"' && txt[len-1] == '"')); Solution: || (txt[0] == '\"' && txt[len-1] == '\"')); make test fails, but cd t; simple_test; suggests all is well? expat-1.95.2 results in me a make error: ld: can't locate file for: -lcrt0.o make[1]: *** [xmlwf] Error 1 make: *** [xmlwf] Error 2 Upgrading to expat-1.95.7 sort of fixes it: make reports mamy error, but completes. So maybe it tries other options to get past the many reported errors. libdbi-drivers-0.7.0: I was getting errors involving incorrect host type. Change: Problem: ./configure --with-mysql results in this error: checking host system type... configure: error: can not guess host type; you must specify one Solution: insert host info into command line, as in: ./configure --host=`echo $HOST` --with-mysql Charlie Rees |