Build_arch
Jason Swails
jason.swails at gmail.com
Mon Jan 24 04:24:03 PST 2011
Did you try installing libusb with the universal variant?
{sudo} port install libusb +universal
That should support "multiple architectures".
Hope this helps,
Jason
On Mon, Jan 24, 2011 at 1:26 AM, Ryan Schmidt <ryandesign at macports.org>wrote:
> On Jan 23, 2011, at 23:11, Xander Flood wrote:
>
> > I'm running Mac OS X 10.6.4 on an Intel Core 2 Duo Macbook Pro. I'm
> trying
> > to get libusb (for use with libfreenect to create MEX-file wrapper).
> >
> > Core 2 Duo supports both the x86_64 and i386 architectures. The MATLAB
> > libraries I need to use are i386 (there's nothing I can do about that
> short
> > of buying a 64-bit license all over again), but libusb is being built as
> > x86_64, and I obviously can't link the two together. I edited
> macports.conf
> > to change:
> >
> > build_arch = i386
> >
> > but it still build an x86_64 library.
>
> That is the correct way to request this; if it doesn't work, it is a bug in
> that port.
>
> > I've run
> >
> > sudo port install libusb-devel -build-arch=i386
> >
> > and again the result is the same.
>
> That doesn't do anything.
>
> > I'm not sure what to do, but is there any
> > way I can *actually* change the build architecture?
>
> If setting build_arch in macports.conf does not have any effect for a
> particular port, file a bug report against that port.
>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>
--
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Graduate Student
352-392-4032
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110124/d1fd5c08/attachment.html>
More information about the macports-users
mailing list