Hi, Taco,
On my machine (macbook with os x tiger 10.4.10, Xcode Version 2.5),
the latest LuaTeX beta (0.20.2) builds fine and works well, and today
I see the upload mplib, so I want to have a try:
I tar the bzip2 files, change directory to mplib-alpha-0.10, and run
./build.sh.
I am pretty sure I have the ctangle installed and I can call it from
my bash (because I have MacTeX 2007 installed), just as your INSTALL
file mentioned. it configures fine, but wont make. the script said:
macbook:~/Desktop/mplib-alpha-0.10 wangyue$ ./build.sh
Your make is a GNU-make; I will use that
creating cache ./config.cache
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for POSIXized ISC... no
checking whether ln -s works... yes
checking for prefix by checking for tex... /usr/texbin/tex
checking for a BSD compatible install... /usr/bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
checking for loader (symbol LD)... ld
checking for archiver (symbol AR)... ar
checking for archiver options (symbol ARFLAGS)... rc
checking where the main texmf tree is located... /usr/local/texlive/2007/texmf
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... gcc -E
checking host system type... i386-apple-darwin8.8.1
checking build system type... i386-apple-darwin8.8.1
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... no
checking for ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking for a sed that does not truncate output... /usr/bin/sed
checking how to recognise dependent libraries... file_magic Mach-O
dynamically linked shared library
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -p output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (ld) supports shared libraries... yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin8.8.1 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
updating cache ./config.cache
creating ./config.status
creating Makefile
configuring in kpathsea
running /bin/sh ../../../src/texk/kpathsea/configure
--datadir=/usr/local/texlive/2007 --cache-file=.././config.cache
--srcdir=../../../src/texk/kpathsea
configure: loading cache .././config.cache
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... i386-apple-darwin8.8.1
checking host system type... i386-apple-darwin8.8.1
checking for ld used by GCC... (cached) ld
checking if the linker (ld) is GNU ld... (cached) no
checking for ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -p
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking how to recognise dependent libraries... (cached) file_magic
Mach-O dynamically linked shared library
checking command to parse /usr/bin/nm -p output... (cached) ok
checking how to run the C preprocessor... (cached) gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking for gcc option to produce PIC... (cached) -fno-common
checking if gcc PIC flag -fno-common works... (cached) yes
checking if gcc static flag works... (cached) no
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (ld) supports shared libraries... yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin8.8.1 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... (cached) yes
creating libtool
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking whether closedir returns void... no
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for memory.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for unistd.h... (cached) yes
checking for putenv... yes
checking for strcasecmp... yes
checking for strtol... yes
checking for strstr... yes
checking for bcmp... yes
checking for bcopy... yes
checking for bzero... yes
checking for getcwd... yes
checking for getwd... yes
checking for index... yes
checking for memcmp... yes
checking for memcpy... yes
checking for rindex... yes
checking for strchr... yes
checking for strrchr... yes
checking for an ANSI C-conforming const... yes
checking for st_mtim in struct stat... no
checking whether the compiler accepts prototypes... yes
checking whether program_invocation_name is predefined... no
checking whether getcwd uses fork or vfork... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for loader (symbol LD)... (cached) ld
checking for archiver (symbol AR)... (cached) ar
checking for archiver options (symbol ARFLAGS)... (cached) rc
checking where the main texmf tree is located... "/usr/local/texlive/2007/texmf"
checking for main in -lm... yes
configure: updating cache .././config.cache
configure: creating ./config.status
config.status: creating Makefile.aux
sed: 1: "/@configure_input@/ { h ...": extra characters at the end of G command
config.status: creating Makefile
config.status: creating c-auto.h
configuring in web2c
configure: warning: no configuration information is in web2c
make: *** No rule to make target `../kpathsea/libkpathsea.la'. Stop.
I change directory to src texk, and run make:
macbook:~/Desktop/mplib-alpha-0.10/src/texk wangyue$ make
cd ./kpathsea && make CC='gcc' CFLAGS='-g -O2 ' LDFLAGS=''
prefix=/usr exec_prefix=/usr bindir=/usr/bin scriptdir=/usr/bin
libdir=/usr/lib datadir=/usr/share infodir=/usr/info
includedir=/usr/include mandir=/usr/man manext=1 man1dir=/usr/man/man1
texmf=/usr/share/texmf web2cdir=/usr/share/texmf/web2c
vartexfonts=/var/tmp/texfonts texinputdir=/usr/share/texmf/tex
mfinputdir=/usr/share/texmf/metafont
mpinputdir=/usr/share/texmf/metapost fontdir=/usr/share/texmf/fonts
fmtdir=/usr/share/texmf/web2c/tex
basedir=/usr/share/texmf/web2c/metafont
memdir=/usr/share/texmf/web2c/metapost
texpooldir=/usr/share/texmf/web2c mfpooldir=/usr/share/texmf/web2c
mppooldir=/usr/share/texmf/web2c
dvips_plain_macrodir=/usr/share/texmf/tex/plain/dvips
dvilj_latex2e_macrodir=/usr/share/texmf/tex/latex/dvilj
dvipsdir=/usr/share/texmf/dvips psheaderdir=/usr/share/texmf/dvips
default_texsizes='300:600'
make[1]: *** No targets. Stop.
make: *** [do-kpathsea] Error 2
So I think there is something wrong in the autotools config file. I
hope my information helpful.
Yue Wang