| Karim Belabas on Mon, 12 Sep 2005 19:47:17 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: os X problems |
* Bill Allombert [2005-08-26 14:19]:
> On Thu, Aug 25, 2005 at 08:29:22PM -0700, Justin C. Walker wrote:
> >
> > On Aug 25, 2005, at 19:56 , Joshua Friedman wrote:
> >
> > >In the examples directory, library build seems to fail:
> > >
> > >Friedman <pari-2.2.10.alpha> cd examples/
> > >Friedman <examples> make all
> > [snip]
> > >o libextgcd.dylib -shared -O3 -DGCC_INLINE -Wall -fno-strict-aliasing
> > >-fomit-frame-pointer -O3 -DGCC_INLINE -Wall -fno-strict-aliasing
> > >-fomit-frame-pointer -no-cpp-precomp
> > >-Wl,-dylib,-flat_namespace,-undefined,suppress extgcd.o
> > >make: o: Command not found
> >
> > I think this is because DLLD is undefined in examples/Makefile (I get
> > the same failure). I'm not sure what DLLD is supposed to be.
>
> DLLD is undefined on Mac OS X because we do not yet know how to build
> dynamic libraries on OS X yet.
>
> "make all" try to build all targets, i.e extgcd-sta, extgcd-dyn and
> libextgcd.dylib.
>
> extgcd-sta should work fine.
>
> extgcd-dyn cannot be built (we would need libpari as a dynamic library).
>
> libextgcd.dylib should be buildable, but the makefile is not quite right
> (it try to build a shared library instead of a sared object and this is
> not the same on Darwin).
>
> Try the attached patch (do not forget to rerun Configure).
> That might also fix the same problem on cygwin.
I applied the patch to CVS.
Thanks!
Karim.
--
Karim Belabas Tel: (+33) (0)1 69 15 57 48
Universite Bordeaux 1 Fax: (+33) (0)1 69 15 60 19
351, cours de la Liberation http://www.math.u-bordeaux.fr/~belabas/
F-33405 Talence (France) http://pari.math.u-bordeaux.fr/ [PARI/GP]