Opened 10 years ago

Last modified 10 years ago

#44340 closed defect

texlive-bin @2014 Configure error "-arch ppc" needs "--disable-luajittex" — at Version 1

Reported by: stressfields@… Owned by: dports@…
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: texlive-bin

Description (last modified by mf2k (Frank Schima))

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.

  1. 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.
  1. Can the Portfile be changed so that if -arch ppc is present then --disable-luajittex is also present? That would probably help others.

Change History (2)

Changed 10 years ago by stressfields@…

Attachment: fresh_build_main.log added

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: --disable-luajittex removed
Owner: changed from macports-tickets@… to dports@…

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers texlive-bin).

Note: See TracTickets for help on using tickets.