yelp will not install

David Evans devans at macports.org
Sat Dec 11 18:34:24 PST 2010


On 12/11/10 6:20 PM, Ryan Schmidt wrote:
> On Dec 11, 2010, at 20:12, David Evans wrote:
>
>> Note that yelp will build in 32 bit mode on a 64 bit machine if you
>> install xulrunner +internal_dependencies.
>> This works around the problem with nss (which will build either 32 bit
>> or 64 bit but not universal).
> It appears that nss will build 64-bit on 64-bit-capable machines with Snow Leopard, and will build 32-bit on 32-bit-only machines, but will not for example build 32-bit on 64-bit-capable machines with Snow Leopard with build_arch set to i386, which is what I filed #27644 about.
>
>
>
>
Well, in any case, the problem here is that nss is not universal and
builds 64 bit by default on x86_64
platforms.  Since xulrunner is restricted to 32 bit builds, the default
version of xulrunner fails to
build with an arch mis-match error as stated by the OP.  However, using
the +internal_dependencies
variant allows xulrunner to build 32 bit without reference to the
external nss port and yelp builds
(and runs) using that variant.  Perhaps using xulrunner-devel is a
possibility too as Jeremy says but
I haven't tried that.

Perhaps it would make sense to have +internal_dependencies be the
default variant on x86_64 platforms.

This problem with yelp is really a pretty big deal because just about
every gnome related app tries to
launch yelp (via gnome-help) from its Help menu.  If yelp would build
reliably it really should be a run
time dependency for all these apps.

Dave


More information about the macports-users mailing list