[tex-live] minor build/install problems with 20080816

Paul Jarc prj at po.cwru.edu
Wed Oct 1 02:40:10 CEST 2008


I ran into a couple of problems building texlive-20080816.  The first
problem was a link command that didn't use $LDFLAGS.  That caused an
error in my case, since some dependency libraries can only be found
via the -L flags I put in $LDFLAGS.  The second problem was that
<prefix>/share/man/man5 didn't exist initially, and the Makefiles
don't create it before trying to install man pages there.  The
definition of MKDIR_P should probably come from configure, but I'm not
familiar enough with autoconf to do that myself.

Index: libs/freetype/test/arch/unix/Makefile.in
===================================================================
--- libs/freetype/test/arch/unix/Makefile.in	(revision 10806)
+++ libs/freetype/test/arch/unix/Makefile.in	(working copy)
@@ -40,6 +40,7 @@
 
 CFLAGS = @CFLAGS@ @X_CFLAGS@ @XX_CFLAGS@
 CPPFLAGS = @CPPFLAGS@
+LDFLAGS = @LDFLAGS@
 FT_CFLAGS = $(INCDIRS) $(CFLAGS) $(CPPFLAGS) -DX11 -DLOCALEDIR='"@LOCALEDIR@"'
 
 FT_LIBS = @X_LIBS@ @X_PRE_LIBS@ @X_EXTRA_LIBS@ @LIBS@
@@ -75,7 +76,7 @@
 
 # variables used to compile either with libtool or not
 #
-PROCESS = $(LIBTOOL) --mode=link  $(CC) $(FT_CFLAGS)
+PROCESS = $(LIBTOOL) --mode=link  $(CC) $(FT_CFLAGS) $(LDFLAGS)
 #PROCESS = $(CC) $(FT_CFLAGS)
 
 LIBTTF = $(top_builddir)/lib/libttf.la
Index: texk/web2c/Makefile.in
===================================================================
--- texk/web2c/Makefile.in	(revision 10806)
+++ texk/web2c/Makefile.in	(working copy)
@@ -39,6 +39,8 @@
 
 XCPPFLAGS = $(PDFXCPPFLAGS)
 
+MKDIR_P = mkdir -p
+
 CXX = @CXX@
 CXXLD = $(CXX)
 cxx_link_command = $(CXXLD) -o $@ $(LDFLAGS)
@@ -880,6 +882,7 @@
 	$(INSTALL_DATA) $(srcdir)/tiedir/tie.1 $(man1dir)/tie.$(manext)
 	$(INSTALL_DATA) $(srcdir)/ctiedir/ctie.1 $(man1dir)/ctie.$(manext)
 	$(INSTALL_DATA) $(srcdir)/synctexdir/man1/synctex.1 $(man1dir)/synctex.$(manext)
+	$(MKDIR_P) $(man5dir)
 	$(INSTALL_DATA) $(srcdir)/synctexdir/man5/synctex.5 $(man5dir)/synctex.5
 
 # Dummy target.


I also get this failure from "make check":

make[3]: Entering directory `/fs/pkgs/mount/package/host/code.dogmap.org/foreign/texlive-20080816+spf+3/compile/src/texlive-20080816-source/Work/texk/web2c'
../kpathsea/kpsewhich --progname=aleph omega.ini >/dev/null || make prereq-lose >/dev/null
warning: kpathsea: configuration file texmf.cnf not found in these directories: ../kpathsea.
You seem to be missing input files necessary to make the
basic formats (some or all of: omega.ini).
Perhaps you've defined the default paths incorrectly, or
perhaps you have environment variables set pointing
to an incorrect location.  See ../kpathsea/BUGS.

If you simply do not have the files, you can
retrieve a minimal set of input files from CTAN hosts.
make[4]: *** [prereq-lose] Error 1
make[3]: *** [prereq-check] Error 2
make[3]: Leaving directory `/fs/pkgs/mount/package/host/code.dogmap.org/foreign/texlive-20080816+spf+3/compile/src/texlive-20080816-source/Work/texk/web2c'
make[2]: *** [aleph.fmt] Error 2
make[2]: Leaving directory `/fs/pkgs/mount/package/host/code.dogmap.org/foreign/texlive-20080816+spf+3/compile/src/texlive-20080816-source/Work/texk/web2c'
make[1]: *** [check] Error 1
make[1]: Leaving directory `/fs/pkgs/mount/package/host/code.dogmap.org/foreign/texlive-20080816+spf+3/compile/src/texlive-20080816-source/Work/texk'
make: *** [check] Error 2

Is this expected?  Should I be doing something other than "make check"
for testing?


paul


More information about the tex-live mailing list