Joshua Friedman on Fri, 26 Aug 2005 15:44:10 +0200


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

Re: os X problems


"extgcd-dyn cannot be built (we would need libpari as a dynamic library)."
Actually extgcd-dyn seems to work fine after typing  make all.

On 8/26/05, Bill Allombert <allomber@math.u-bordeaux.fr> wrote:
> 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.
> 
> Please note that if you interested in building bundle, you should
> consider using gp2c-run from the GP2C package.
> 
> Cheers,
> Bill
> 
> 
> 


-- 
Joshua Friedman PhD
CrownEagle@gmail.com
http://www.math.sunysb.edu/~joshua