On 5/17/10 6:46 AM, peterwong wrote:
> /sw/src/fink.build/dirac-1.0.2-1/dirac-1.0.2/libdirac_encoder/libdirac_encoder_la-dirac_encoder.o:
> Mach-O object i386
>
> that means 32bit, right? maybe the problem is something else?
It is building as 32bit, but apparently it still is doing some
cross-compiling incorrectly (based on what I could gather from the Googles).
Please edit the file dirac.info and replace the CompileScript field with
the contents below (note the addition of the InfoTest field):
CompileScript:<<
#!/bin/sh -ev
if test "%m" = "powerpc"; then FINK_ARCH=ppc; else FINK_ARCH=%m; fi
./configure %c --build=$FINK_ARCH-darwin
make -w
<<
InfoTest: <<
TestScript: make check || exit 2
<<
And then try to reinstall dirac using 'fink -m install dirac' .
Hanspeter
------------------------------------------------------------------------------
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners