[luatex] configure error on mingw

T T t34www at googlemail.com
Tue Mar 16 23:07:39 CET 2010


On 16 March 2010 21:52, Taco Hoekwater <taco at elvenkind.com> wrote:
> T T wrote:
>>
>> Rev. 3517 doesn't compile on mingw:
>>
>> ...
>> checking whether ln -s works... no, using cp -p
>> configure: error: You could use `--without-ln-s' to build without
>> working `ln -s'
>
>> but how can I pass this option? The following doesn't work:
>>
>>> sh build.sh --without-ln-s
>>
>> Your make is a GNU-make; I will use that
>> ERROR: invalid build.sh parameter: --without-ln-s
>
> Just patch your local build.sh for now, there are many --without-xxx
> lines in there. Then we can work out a better solution later.
>
> But the error is a bit odd considering that it has found a
> workable alternative. Peter?

The patch at the end almost worked for me. The configure failed at the end with

  build.sh: go: command not found

or something like that, but restarting `sh build.sh --make' finally
produced the binaries.

Cheers,

Tomek

Index: build.sh
===================================================================
--- build.sh	(revision 3517)
+++ build.sh	(working copy)
@@ -58,13 +58,13 @@
 STRIP=strip
 LUATEXEXE=luatex

+B=build
+CONFHOST=
+
 case `uname` in
-  MINGW32*    ) LUATEXEXE=luatex.exe ;;
+  MINGW32*    ) LUATEXEXE=luatex.exe; CONFHOST=--without-ln-s ;;
 esac

-B=build
-CONFHOST=
-
 if [ "$MINGWCROSS" = "TRUE" ]
 then
   B=build-windows


More information about the luatex mailing list