Hi, Thanks for reporting.
>>>>> In <[EMAIL PROTECTED]> >>>>> Paul Ackersviller <[EMAIL PROTECTED]> wrote: > Here are a few problems I've run across so far in building > a2ps-4.14-rc1 on HP-UX 11.11. Firstly, there seems to be a > requirement for GNU make that 4.13 didn't have, here's the error: > ... > Making all in m4 > No suffix list. > sed -e "[EMAIL PROTECTED]@#/usr/local/share/ogonkify#g" ogonkify.in > > ogonkify-t > chmod +x ogonkify-t > mv ogonkify-t ogonkify > Make: Don't know how to make pcrr-o.afm. Stop. > *** Error exit code 1 > This error only happens after freshly unpacking the tarball, not > again after doing gnumake distclean; gnumake. I'm not sure, but the following fix might work. Could you try this? --- Makefile.in.orig 2007-05-04 13:34:58.000000000 +0900 +++ Makefile.in 2007-05-04 13:35:55.000000000 +0900 @@ -177,7 +177,6 @@ AUTOMAKE_OPTIONS = foreign SUBDIRS = doc m4 ACLOCAL_AMFLAGS = -I m4 -CLEANFILES = $(bin_SCRIPTS) afmdir = $(pkgdatadir)/afm fontsdir = $(pkgdatadir)/fonts ogonkifydir = $(pkgdatadir) @@ -654,7 +653,6 @@ mostlyclean-generic: clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) > Getting past this brings me to: > cpp: "strtoimax.c", line 59: warning 2001: Redefinition of macro strtoimax. > cc: "strtoimax.c", line 39: error 1000: Unexpected symbol: "this > configure-time declaration test was not run". > gnumake[3]: *** [strtoumax.lo] Error 1 > gnumake[3]: Leaving directory `/usr/local/.src/a2ps-4.14/lib' This error should never happen. Could you try this, too? And if it doesn't work, please send me config.h. --- configure.orig 2007-05-04 13:47:02.000000000 +0900 +++ configure 2007-05-04 13:49:45.000000000 +0900 @@ -28638,6 +28638,138 @@ fi +{ echo "$as_me:$LINENO: checking whether strtoll is declared" >&5 +echo $ECHO_N "checking whether strtoll is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_strtoll+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef strtoll + (void) strtoll; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_strtoll=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_strtoll=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoll" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strtoll" >&6; } +if test $ac_cv_have_decl_strtoll = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOLL 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOLL 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether strtoull is declared" >&5 +echo $ECHO_N "checking whether strtoull is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_strtoull+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef strtoull + (void) strtoull; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_strtoull=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_strtoull=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoull" >&5 +echo "${ECHO_T}$ac_cv_have_decl_strtoull" >&6; } +if test $ac_cv_have_decl_strtoull = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOULL 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRTOULL 0 +_ACEOF + + +fi @@ -30322,7 +30454,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else cat > conftest.$ac_ext <<EOF -#line 30325 "configure" +#line 30457 "configure" int main(int argc, char *argv[]) { return argv[argc-1] == 0; } EOF cf_save_CFLAGS="$CFLAGS" > Lastly, a question. I get a warning about not having gzip, although > I do have bzip2 in my PATH. I'm not sure what a2ps all does with > gzip, but shouldn't there be a way to use bzip2 in its place? a2ps's "delegation" may use gzip when it exists on your system. See etc/a2ps_cfg.in for detail. Actually, a2ps may use bzip/bzip2 and the existence of them are checked at build time, too. Best regards, MH -- Masayuki Hatta Graduate School of Economics, The University of Tokyo