Skip to Content.
Sympa Menu

mathemagix-devel - Re: [Mathemagix] static variables

Subject: Mathemagix

List archive

Re: [Mathemagix] static variables


Chronological Thread 
  • From: Joris van der Hoeven <address@concealed>
  • To: address@concealed
  • Subject: Re: [Mathemagix] static variables
  • Date: Sun, 28 Oct 2007 22:36:23 +0100

On Fri, Oct 26, 2007 at 04:53:25PM +0200, Julien Wintz wrote:
> >Julien please update and check if everything goes fine on your Mac.
>
> After an update everything compiles fine.
>
> I take the opportunity to summarize the situation on mac.
>
> First, the default readline provided with apple developer tools does
> not fit well, some headers are missing. I therefore recommand to use
> fink (http://fink.sf.net) to install readline. The configure becomes:
>
> ./configure LDFLAGS="-L/sw/lib" CPPFLAGS="-I/sw/include"
>
> (I remind /sw is fink's folder).

Hmm, do we want to force users to have fink installed?
We can also ship our own version of readline...

> g++ ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/
> libmmxnumerix.0.0.0.so -bundle .libs/libmmxnumerix_la-
> complex_ball_glue.o .libs/libmmxnumerix_la-real_ball_glue.o .libs/
> libmmxnumerix_la-complexify_glue.o .libs/libmmxnumerix_la-
> integer_glue.o .libs/libmmxnumerix_la-rational_glue.o .libs/
> libmmxnumerix_la-numerix_glue.o .libs/libmmxnumerix_la-
> floating_glue.o -L/Users/jwintz/devel/mmx/basix/build/.libs -L/sw/
> lib ./.libs/libnumerix.dylib -L/usr/local/lib libbasix.dylib /usr/lib/
> gcc/i686-apple-darwin8/4.0.1/../../..//libltdl.3.1.0.dylib /usr/lib/
> gcc/i686-apple-darwin8/4.0.1/../../..//libdl.dylib /usr/lib/gcc/i686-
> apple-darwin8/4.0.1/../../..//libm.dylib /Users/jwintz/devel/mmx/
> basix/build/.libs/libbasix.dylib /usr/lib/libltdl.3.1.0.dylib -ldl /
> sw/lib/libmpfr.dylib /sw/lib/libgmp.dylib -lm
> i686-apple-darwin8-g++-4.0.1: libbasix.dylib: No such file or directory
>
> ... there is a extra libbasix.dylib which is to be removed, I do not
> know how (I'm not familiar with autotools and will probably never be).

Yes, this seems to be the error I am really worried about and
which I told you about at Nice. Closer investigation showed that
libtool does something strange here.

I guess that you did *not* do any make install for basix and mmxlight.
If you manually change the corresponding libtool libraries and
change the "installed" parameter to "true", then things suddenly compiled.
I think that there is a bug in the libtool version of the Mac.

Best wishes, Joris



Archive powered by MHonArc 2.6.18.

Top of Page