I was trying to compile kerTeX on Mac OSX 10.9 and encountered some problem. I downloaded this get_mk_install.sh from the project home and fed it to sh
, it worked very well at first for a moment but terminated suddenly, the error message does not make any sense to me:
#========== BUILDING sys/sh1/pkglib
sed -e 's!@@TARGETSHELL@@!/bin/sh!'\
-e '/^##PKG_SYS_DEPENDENT/r /Users/user/Temp/kertex/kertex_T/sys/sh1/pkglib/./unix.data' /Users/user/Temp/kertex/kertex_T/sys/sh1/pkglib/sh.data\
| sed -e 's!@@SYS_FTPC@@!ftp!'\
-e 's!@@SYS_HTTPC@@!ftp!'\
-e 's!@@SYS_SUDOING@@!sudo!'\
-e 's!@@SYS_ROOT_ID@@!0!' >pkglib.sh
#========== sys/sh1/pkglib DONE (50/50)
Programs that failed to build:
!mpware/sh1/mp2ps
make: *** [all] Error 1
Can any one help on this, or point me to where solutions can be found.
My purpose is to port some TeX system to mobile platforms such as Android, iOS, etc., to compile TeX scripts locally. Is this the appropriate solution for my task? If there are ones that are better, please let me know.
Thanks.