[MacPorts] #13855: enscript 1.6.4 build failure: conditional "AMDEP" was never defined

MacPorts trac at macosforge.org
Sat Feb 16 09:52:25 PST 2008


#13855: enscript 1.6.4 build failure: conditional "AMDEP" was never defined
----------------------------------+-----------------------------------------
  Reporter:  tabithamc at gmail.com  |       Owner:  css at macports.org       
      Type:  defect               |      Status:  assigned               
  Priority:  Normal               |   Milestone:  Port Bugs              
 Component:  ports                |     Version:  1.6.0                  
Resolution:                       |    Keywords:  enscript leopard server
----------------------------------+-----------------------------------------
Changes (by css at macports.org):

  * owner:  macports-tickets at lists.macosforge.org => css at macports.org
  * status:  new => assigned

Comment:

 I installed the autoconf and automake ports, but I couldn't get the port
 to build using the `port` command. However, if I went into the work
 directory and manually ran configure, the environment picked everything up
 and ran properly:

 '''/Users/Shared/macports/dports/print/enscript]$''' cd
 work/enscript-1.6.4/; sudo ./configure --prefix=/opt/local
 --mandir=/opt/local/share/man --with-media=Letter
 --infodir=/opt/local/share/info

 {{{
 checking for a BSD-compatible install... /opt/local/bin/ginstall -c
 checking whether build environment is sane... yes
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking for a BSD-compatible install... /opt/local/bin/ginstall -c
 checking for gcc... gcc
 checking for C compiler default output... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ANSI C... none needed
 checking for style of include used by make... GNU
 checking dependency style of gcc... gcc3
 checking for strerror in -lcposix... no
 checking for gcc option to accept ANSI C... none needed
 checking how to run the C preprocessor... gcc -E
 checking for egrep... grep -E
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking for function prototypes... yes
 checking for ANSI C header files... yes
 checking for string.h... (cached) yes
 checking for an ANSI C-conforming const... yes
 checking for working alloca.h... yes
 checking for alloca... yes
 checking for ANSI C header files... (cached) yes
 checking for string.h... (cached) yes
 checking for stdlib.h... (cached) yes
 checking for unistd.h... (cached) yes
 checking stdarg.h usability... yes
 checking stdarg.h presence... yes
 checking for stdarg.h... yes
 checking math.h usability... yes
 checking math.h presence... yes
 checking for math.h... yes
 checking pwd.h usability... yes
 checking pwd.h presence... yes
 checking for pwd.h... yes
 checking for sys/types.h... (cached) yes
 checking for sys/stat.h... (cached) yes
 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-darwin8.11.1
 checking host system type... i386-apple-darwin8.11.1
 checking for inline... inline
 checking for off_t... yes
 checking for size_t... yes
 checking for stdlib.h... (cached) yes
 checking for unistd.h... (cached) yes
 checking for getpagesize... yes
 checking for working mmap... yes
 checking whether we are using the GNU C Library 2.1 or newer... no
 checking whether integer division by zero raises SIGFPE... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unsigned long long... yes
 checking for inttypes.h... yes
 checking whether the inttypes.h PRIxNN macros are broken... no
 checking for ld used by GCC... /usr/libexec/gcc/i686-apple-
 darwin8/4.0.1/ld
 checking if the linker (/usr/libexec/gcc/i686-apple-darwin8/4.0.1/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... yes
 checking limits.h presence... yes
 checking for limits.h... yes
 checking locale.h usability... yes
 checking locale.h presence... yes
 checking for locale.h... yes
 checking nl_types.h usability... yes
 checking nl_types.h presence... yes
 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... yes
 checking stddef.h presence... yes
 checking for stddef.h... yes
 checking for stdlib.h... (cached) yes
 checking for string.h... (cached) yes
 checking for unistd.h... (cached) yes
 checking sys/param.h usability... yes
 checking sys/param.h presence... yes
 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... yes
 checking how to link with libiconv... /opt/local/lib/libiconv.dylib
 -L/opt/local/lib
 checking for iconv declaration...
          extern size_t iconv (iconv_t cd, const char * *inbuf, size_t
 *inbytesleft, char * *outbuf, size_t *outbytesleft);
 checking for nl_langinfo and CODESET... yes
 checking for LC_MESSAGES... yes
 checking for bison... bison
 checking version of bison... 1.28, 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
 -L/opt/local/lib /opt/local/lib/libiconv.dylib -lc
 checking for perl... /opt/local/bin/perl
 configure: creating ./config.status
 config.status: creating Makefile
 config.status: creating po/Makefile.in
 config.status: creating m4/Makefile
 config.status: creating intl/Makefile
 config.status: creating po/Makefile
 config.status: creating compat/Makefile
 config.status: creating afm/Makefile
 config.status: creating afmlib/Makefile
 config.status: creating src/Makefile
 config.status: creating src/tests/Makefile
 config.status: creating lib/Makefile
 config.status: creating scripts/Makefile
 config.status: creating states/Makefile
 config.status: creating states/hl/Makefile
 config.status: creating states/tests/Makefile
 config.status: creating docs/Makefile
 config.status: creating w32/Makefile
 config.status: creating config.h
 config.status: config.h is unchanged
 config.status: executing depfiles commands
 config.status: executing default-1 commands
 config.status: creating po/POTFILES
 config.status: setting ALL_LINGUAS in configure.in is obsolete
 config.status: creating po/Makefile
 config.status: executing default commands

 Enscript is now configured to your system with the following
 user-definable options.  Please, check that they are correct and
 match to your system's properties.

 Option     Change with configure's option   Current value
 ---------------------------------------------------------
 Media      --with-media=MEDIA               Letter
 Spooler    --with-spooler=SPOOLER           lpr
 PS level   --with-ps-level=LEVEL            2
 }}}

 So perhaps now that approach is found to work, it's just a matter of
 passing the appropriate environment into the configure phase.

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13855#comment:5>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list