[MacPorts] #44340: texlive-bin @2014 Configure error "-arch ppc" needs "--disable-luajittex"
MacPorts
noreply at macports.org
Tue Jul 15 05:43:24 PDT 2014
#44340: texlive-bin @2014 Configure error "-arch ppc" needs "--disable-luajittex"
---------------------------------+--------------------------------
Reporter: stressfields@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.1
Keywords: --disable-luajittex | Port: texlive-bin
---------------------------------+--------------------------------
On Mac Mini PowerPC OSX 10.5.8 and xcode314_2809,
sudo port install texlive-bin
fails with the message
:info:build configure: error: Sorry, can not preprocess <lj_arch.h>
:info:build === configuring in luajit failed
:info:build make[2]: *** [recurse] Error 1
(full main.log attached)
My diagnosis: luajit is not available for PowerPC+OSX10.5.8 (xcode3.1.4)
and luajittex should be disabled according to:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751150
http://comments.gmane.org/gmane.comp.tex.texlive.build/2371
1. Here is a fix:
Edit the texlive-bin Portfile 122023 2014-07-13
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/tex
/texlive-bin/Portfile
Change line 172 from:
--enable-build-in-source-tree
to these two lines as 172 and 173:
--enable-build-in-source-tree \
--disable-luajittex
Save and rerun
sudo port install texlive-bin
This now runs to completion.
2. Request: is there a way to pass the flag --disable-luajittex in from
the "port build" command line? I tried a few variants but no luck. An
exact example with the correct ' " and \ would be appreciated.
3. Can the Portfile be changed so that if -arch ppc is present then
--disable-luajittex is also present? That would probably help others.
--
Ticket URL: <https://trac.macports.org/ticket/44340>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list