axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] RE: gcl-2.6.8pre on MAC OSX 10.2


From: Humberto Ortiz Zuazaga
Subject: Re: [Axiom-developer] RE: gcl-2.6.8pre on MAC OSX 10.2
Date: Thu, 02 Nov 2006 11:12:13 -0400
User-agent: Thunderbird 1.5.0.7 (Macintosh/20060909)

Page, Bill wrote:
On Wednesday, November 01, 2006 8:18 PM Humberto Ortiz-Zuazaga wrote:
... On PowerPC, make fails:

gcc  -o raw_pre_gcl  \
-L.    -lpre_gcl `echo -lSM -lICE  -L/usr/X11R6/lib -lXmu -lXt -lXext
-lXaw -lX11    -lm  -lreadline -lncurses | sed -e 's/-lncurses/ /'`
-lintl -lc -lgclp
/usr/bin/ld: can't locate file for: -lintl
collect2: ld returned 1 exit status

Fink installed a version of libintl from gettext-dev 0.10.40, so I've
added a "-L/sw/lib" and am retrying the build now.


Here is a recipe that seems to work for me and avoids reference
to fink or other non-gcl related libraries:

 $ export
LIBRARY_PATH=/home/users/b/bi/billpage/osx/new/gcl-2.6.8pre/binutils/int
l
 $ make clean
 $ ./configure --prefix=/usr/local --enable-locbfd --disable-statsysbfd
 $ make
 $ make install

I have a new batch of Axiom cooking with this version of gcl.

Note: It seems to be necessary to specify the --endable-locfd option
to ensure that the bfd internal to gcl is configured with internal
gettext.
On Intel, configure of gmp fails, as it can't figure out the machine
type. I have gmp 4.2.1 installed with fink, but I don't think I can
build gcl with that version of gmp.


Too bad. :-( There are some options that affect gcl's use of gmp.
See ./configure --help  You might try:

  --disable-dynsysgmp

I have also Cc: Camm Maquire, the primary GCL developer who might
have some other suggestions for your Mac Intel platform.

Thanks.

Regards,
Bill Page.

On Mac OS X 10.4.8 PowerPC:

code checked out today with:

$ cvs -d :pserver:address@hidden:/sources/gcl -z9  co  \
  -d gcl-2.6.8pre -r Version_2_6_8pre gcl

$ export LIBRARY_PATH=`pwd`/binutils/intl
$ make clean
$ ./configure --prefix=/usr/local  --enable-locbfd --disable-statsysbfd
$ make

fails with a bunch of warnings like:

/usr/bin/ld: warning multiple definitions of symbol _Tcl_InitStubs
/sw/lib/libtk8.4.dylib(tclStubLib.o) definition of _Tcl_InitStubs

and then

/usr/bin/ld: Undefined symbols:
_my_free
_my_malloc
collect2: ld returned 1 exit status


--
Humberto Ortiz-Zuazaga
Programmer-Archaeologist
UPR Bioinformatics Resource Center
http://www.hpcf.upr.edu/~humberto/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]