[tex-live] HPUX 10.20 compilations problems

Olaf Weber olaf@infovore.xs4all.nl
07 Oct 2002 20:29:25 +0200


Lars Madsen writes:

> I don't know much about compiling so I don't know how to solve this
> problem

> This time it compiled very long but crashed in the end

> the log file (created as specified in live.pdf) can be found at

> http://home.imf.au.dk/daleif/world071002.log

> It looks like it crashes because of a cp error?!?!?

I see two troublespots (condensed):

	./../klibtool link c++ -o pdftex ...
              -nodefaultlibs -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lgcc -lc

The use of static, dynamic around libstdc++ suggests you enabled the
cxx hack.  It also suggests that the implementation of this hack only
works if you're using gcc _and_ GNU ld.

This part is a worse puzzle:

	cp -f  ./pdfetexdir/pdfetex.defines
Usage:	cp [-f|-i] [-p] [-S] [-e warn|force|ignore] source_file target_file
	cp [-f|-i] [-p] [-S] [-e warn|force|ignore] source_file ... target_directory
	cp [-f|-i] [-p] [-S] -R|-r [-e warn|force|ignore] source_directory ... target_directory



The rule that generates the cp is

$(srcdir)/pdfetexdir/pdfetex.defines: $(srcdir)/pdftexdir/pdftex.defines
        cp -f $< $@

It is clear that the $< is there, but the target $@ somehow got
omitted.  Yet there are a number of rules in the Makefiles that would
also fail if $@ couldn't be used at all.  Perhaps replacing this with
        cp -f $(srcdir)/pdfetexdir/pdfetex.defined $@
will work.  If so, you'll need to make a similar change a few lines
earlier.


Right now I'd recommend:

Do NOT specify --with-cxx-runtime-hack when configuring.  If you
didn't do this before, then DO specify --without-cxx-runtime-hack.

If the changes to the Makefile don't work, use GNU make.

-- 
Olaf Weber

               (This space left blank for technical reasons.)