Opened 10 years ago
Last modified 10 years ago
#44340 closed defect
texlive-bin @2014 Configure error "-arch ppc" needs "--disable-luajittex" — at Initial Version
Reported by: | stressfields@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.1 |
Keywords: | Cc: | ||
Port: | texlive-bin |
Description
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
- 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.
- 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.
- Can the Portfile be changed so that if -arch ppc is present then --disable-luajittex is also present? That would probably help others.