#13855: Enscript fails to install on Leopard Server 10.5.1 -------------------------------------+-------------------------------------- Reporter: tabithamc@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: High | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: enscript leopard server | -------------------------------------+-------------------------------------- On Mac OS X Server (Leopard 10.5.1), with MacPorts 1.6.0, the enscript port refuses to build per: {{{ # port -v install enscript ---> Fetching enscript ---> Verifying checksum(s) for enscript ---> Checksumming enscript-1.6.4.tar.gz ---> Extracting enscript ---> Extracting enscript-1.6.4.tar.gz ---> Applying patches to enscript ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/print/enscript/files /patch-afm_Makefile.in patching file afm/Makefile.in ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/print/enscript/files /patch-lib_Makefile.in patching file lib/Makefile.in ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/print/enscript/files /patch-src_gsint.h patching file src/gsint.h ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/print/enscript/files /patch-src_main.c patching file src/main.c ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/print/enscript/files /patch-src_psgen.c patching file src/psgen.c ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/print/enscript/files /patch-src_util.c patching file src/util.c ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/print/enscript/files /patch-states_hl_Makefile.in patching file states/hl/Makefile.in ---> Configuring enscript checking for a BSD-compatible install... /usr/bin/install checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install checking for strerror in -lcposix... no checking for /usr/bin/gcc-4.0 option to accept ANSI C... no checking how to run the C preprocessor... /usr/bin/cpp-4.0 checking for egrep... grep -E checking for sys/types.h... no checking for sys/stat.h... no checking for stdlib.h... no checking for string.h... no checking for memory.h... no checking for strings.h... no checking for inttypes.h... no checking for stdint.h... no checking for unistd.h... no checking for function prototypes... no checking for ANSI C header files... no checking for string.h... (cached) no checking for an ANSI C-conforming const... no checking for working alloca.h... yes checking for alloca... yes checking for ANSI C header files... (cached) no checking for string.h... (cached) no checking for stdlib.h... (cached) no checking for unistd.h... (cached) no checking stdarg.h usability... no checking stdarg.h presence... yes configure: WARNING: stdarg.h: present but cannot be compiled configure: WARNING: stdarg.h: check for missing prerequisite headers? configure: WARNING: stdarg.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf@gnu.org. ## configure: WARNING: ## ------------------------------------ ## checking for stdarg.h... yes checking math.h usability... no checking math.h presence... yes configure: WARNING: math.h: present but cannot be compiled configure: WARNING: math.h: check for missing prerequisite headers? configure: WARNING: math.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf@gnu.org. ## configure: WARNING: ## ------------------------------------ ## checking for math.h... yes checking pwd.h usability... no checking pwd.h presence... yes configure: WARNING: pwd.h: present but cannot be compiled configure: WARNING: pwd.h: check for missing prerequisite headers? configure: WARNING: pwd.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf@gnu.org. ## configure: WARNING: ## ------------------------------------ ## checking for pwd.h... yes checking for sys/types.h... (cached) no checking for sys/stat.h... (cached) no checking for strchr... yes checking for getcwd... yes checking for strerror... yes checking for memmove... yes checking for memcpy... yes checking for strtoul... yes checking for vprintf... yes checking for _doprnt... no checking for main in -lsun... no checking for gethostname... yes checking for ranlib... ranlib checking for bison... bison -y checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for lpr... lpr checking for lp... (cached) lpr checking for msgfmt... /opt/local/bin/msgfmt checking for gmsgfmt... /opt/local/bin/msgfmt checking for xgettext... /opt/local/bin/xgettext checking for msgmerge... /opt/local/bin/msgmerge checking build system type... i386-apple-darwin9.1.0 checking host system type... i386-apple-darwin9.1.0 checking for inline... no checking for off_t... no checking for size_t... no checking for stdlib.h... (cached) no checking for unistd.h... (cached) no checking for getpagesize... yes checking for working mmap... no checking whether we are using the GNU C Library 2.1 or newer... no checking whether integer division by zero raises SIGFPE... no checking for inttypes.h... no checking for stdint.h... no checking for unsigned long long... yes checking for inttypes.h... no checking for non-GNU ld... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for shared library run path origin... done checking argz.h usability... no checking argz.h presence... no checking for argz.h... no checking limits.h usability... no checking limits.h presence... yes configure: WARNING: limits.h: present but cannot be compiled configure: WARNING: limits.h: check for missing prerequisite headers? configure: WARNING: limits.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf@gnu.org. ## configure: WARNING: ## ------------------------------------ ## checking for limits.h... yes checking locale.h usability... no checking locale.h presence... yes configure: WARNING: locale.h: present but cannot be compiled configure: WARNING: locale.h: check for missing prerequisite headers? configure: WARNING: locale.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf@gnu.org. ## configure: WARNING: ## ------------------------------------ ## checking for locale.h... yes checking nl_types.h usability... no checking nl_types.h presence... yes configure: WARNING: nl_types.h: present but cannot be compiled configure: WARNING: nl_types.h: check for missing prerequisite headers? configure: WARNING: nl_types.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf@gnu.org. ## configure: WARNING: ## ------------------------------------ ## checking for nl_types.h... yes checking malloc.h usability... no checking malloc.h presence... no checking for malloc.h... no checking stddef.h usability... no checking stddef.h presence... yes configure: WARNING: stddef.h: present but cannot be compiled configure: WARNING: stddef.h: check for missing prerequisite headers? configure: WARNING: stddef.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf@gnu.org. ## configure: WARNING: ## ------------------------------------ ## checking for stddef.h... yes checking for stdlib.h... (cached) no checking for string.h... (cached) no checking for unistd.h... (cached) no checking sys/param.h usability... no checking sys/param.h presence... yes configure: WARNING: sys/param.h: present but cannot be compiled configure: WARNING: sys/param.h: check for missing prerequisite headers? configure: WARNING: sys/param.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf@gnu.org. ## configure: WARNING: ## ------------------------------------ ## checking for sys/param.h... yes checking for feof_unlocked... yes checking for fgets_unlocked... no checking for getc_unlocked... yes checking for getcwd... (cached) yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... no checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... (cached) yes checking for tsearch... yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for iconv... no, consider installing GNU libiconv checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for bison... bison checking version of bison... 2.3, ok checking whether NLS is requested... yes checking whether included gettext is requested... no checking for GNU gettext in libc... no checking for GNU gettext in libintl... yes checking how to link with libintl... /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lc checking for perl... /opt/local/bin/perl configure: error: conditional "AMDEP" was never defined. Usually this means the macro was only invoked conditionally. Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_enscript/work/enscript-1.6.4" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with- media=Letter --infodir=/opt/local/share/info " returned error 1 Command output: checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... no checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... (cached) yes checking for tsearch... yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for iconv... no, consider installing GNU libiconv checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for bison... bison checking version of bison... 2.3, ok checking whether NLS is requested... yes checking whether included gettext is requested... no checking for GNU gettext in libc... no checking for GNU gettext in libintl... yes checking how to link with libintl... /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lc checking for perl... /opt/local/bin/perl configure: error: conditional "AMDEP" was never defined. Usually this means the macro was only invoked conditionally. Warning: the following items did not execute (for enscript): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13855> MacPorts </projects/macports> Ports system for Mac OS