Raymond Manzoni wrote:
And thanks for providing this binary!
My machine is a Dual G5 running OS X 10.4.8 (PPC build 8L127,
Darwin
Kernel Version 8.8.0, PowerMac7,2 Darwin similar to your
configuration I
think...) and your binary worked here too! Great!!
Good.
The gcl generation ends (depending on paths and/or parameter)
with
either a gcl readline error :
gcl_readline.d: In function 'rl_completion':
gcl_readline.d:221: warning: implicit declaration of function
'rl_completion_matches'
gcl_readline.d:221: error: 'rl_compentry_func_t' undeclared (first
use
in this function)
gcl_readline.d:221: error: (Each undeclared identifier is reported
only
once
gcl_readline.d:221: error: for each function it appears in.)
gcl_readline.d:221: error: parse error before ')' token
or the more annoying tk problem :
/usr/bin/ld: warning -L: directory name
(/sw/src/tcltk-8.4.6-2/tk8.4.6/unix) does not exist
/usr/bin/ld: warning multiple definitions of symbol
_tclPlatStubsPtr and
others...
/usr/bin/ld: Undefined symbols:
_my_free
_my_malloc
I think these are both symptoms of the gcl configure picking up
packages
from fink (/sw/bin, /sw/lib, ...) and having the compile break.
export CVSROOT=:pserver:address@hidden:/sources/gcl
cvs -z9 -q co -d gcl-2.6.8pre -r Version_2_6_8pre gcl
In gcl-2.6.8pre :
- remove -lintl from the LIBS:= line of h/powerpc-macosx.defs
export LIBRARY_PATH=`pwd`/binutils/intl
You don't need that anymore if you patch, as we won't use libintl
anymore.
I manipulated my PATH to remove /sw/bin and similar, so gcl's
configure
doesn't see the fink tcl/Tk, I think you can pass some kind of
configure
option to gcl to do the same thing, but I kept having wierd problems
until I changed the PATH.
In any case, I used fink's latex and pdflatex for the gcl
documentation
build, so you could try something like:
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin
./configure --enable-locbfd --disable-statsysbfd --disable-nls