|
From: | Bernd Krumböck |
Subject: | HPUX compile problems |
Date: | Mon, 21 Nov 2005 18:28:10 +0100 |
User-agent: | Mozilla Thunderbird 1.0.6 (X11/20050716) |
Hello! Had some problems to compile a2ps on HPUX 11.11 (PA-RISC 2.0) and 11.23 (Itanium2). I created two patches for my exact problems. Now it compiles on both plattforms! :) One bug I couldn't solve: I had troubles with the compile-target "m4". It works when I remove this target from Makefile. The problem seems to be in the file m4/Makefile on following position: Makefile.am: Makefile.am.in rm -f $@ address@hidden sed -n '1,/^##m4-files-begin/p' $< > address@hidden ( (echo EXTRA_DIST = README Makefile.am.in | tr '\012' @); \ (echo *.m4|tr ' ' @) ) \ |sed 's/@$$/%/;s/@/ \\@/g' |tr @% '\012\012' \ >> address@hidden sed -n '/^##m4-files-end/,$$p' $< >> address@hidden chmod a-w address@hidden mv address@hidden $@ It hangs and does nothing. Seems that it's waiting for data on stdin. best regards! PS: Thanks for this great software! :) --
Mit freundlichen
Grüßen
|
--- a2ps-4.13/auxdir/config.guess 2000-01-19 09:11:07.000000000 +0100 +++ a2ps-4.13-bek/auxdir/config.guess 2005-11-21 17:56:02.461888117 +0100 @@ -465,6 +465,10 @@ HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit 0 ;; + ia64:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux${HPUX_REV} + exit 0 ;; 3050*:HI-UX:*:*) sed 's/^ //' << EOF >$dummy.c #include <unistd.h>
--- a2ps-4.13/lib/quotearg.c 2000-01-19 09:19:48.000000000 +0100 +++ a2ps-4.13-bek/lib/quotearg.c 2005-11-21 17:36:25.037585969 +0100 @@ -59,6 +59,9 @@ #endif #if HAVE_MBRTOWC && HAVE_WCHAR_H +# if defined(hpux) || defined(__hpux) || defined(__hpux__) +# include <sys/_mbstate_t.h> +# endif # include <wchar.h> #else # define iswprint(wc) 1
[Prev in Thread] | Current Thread | [Next in Thread] |