Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#14271 closed defect (fixed)

rb-rmagick can't find libMagick

Reported by: nicholas.wieland@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: gallafent
Port:

Description (last modified by jmpp@…)

I compiled ImageMagick without any particular variant and resolving all dependencies (even the ones that aren't needed) using MacPorts. I try to install rb-rmagick both using RubyGems and using the port rb-rmagick and the error is always the same:

Command output: Configuring RMagick 1.15.10
checking for gcc... /usr/bin/gcc-4.0
checking for C compiler default output file name... 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 /usr/bin/gcc-4.0 accepts -g... yes
checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed
checking for /usr/bin/gcc-4.0 option to accept ISO C99... -std=gnu99
checking for /usr/bin/gcc-4.0 -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking for ruby... /opt/local/bin/ruby
checking for Magick-config... Magick-config
checking for InitializeMagick in -lMagick... no
configure: error: Can't install RMagick. Can't find libMagick or one of the dependent libraries.
                  Check the config.log file for more detailed information.

and config.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure --prefix=/opt/local --mandir=${prefix}/share/man

## --------- ##
## Platform. ##
## --------- ##

hostname = adreadedsunnyday.local
uname -m = i386
uname -r = 8.11.1
uname -s = Darwin
uname -v = Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = Mach kernel version:
	 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386
Kernel configured for up to 2 processors.
2 processors are physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 1.00 gigabytes
Default processor set: 80 tasks, 278 threads, 2 processors
Load average: 4.10, Mach factor: 0.40
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/X11R6/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1860: checking for gcc
configure:1887: result: /usr/bin/gcc-4.0
configure:2125: checking for C compiler version
configure:2132: /usr/bin/gcc-4.0 --version >&5
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5370)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2135: $? = 0
configure:2142: /usr/bin/gcc-4.0 -v >&5
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /var/tmp/gcc/gcc-5370~2/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=powerpc-apple-darwin8 --with-arch=nocona --with-tune=generic --program-prefix= --host=i686-apple-darwin8 --target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5370)
configure:2145: $? = 0
configure:2152: /usr/bin/gcc-4.0 -V >&5
gcc-4.0: argument to `-V' is missing
configure:2155: $? = 1
configure:2178: checking for C compiler default output file name
configure:2205: /usr/bin/gcc-4.0 -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c  >&5
configure:2208: $? = 0
configure:2246: result: a.out
configure:2263: checking whether the C compiler works
configure:2273: ./a.out
configure:2276: $? = 0
configure:2293: result: yes
configure:2300: checking whether we are cross compiling
configure:2302: result: no
configure:2305: checking for suffix of executables
configure:2312: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c  >&5
configure:2315: $? = 0
configure:2339: result: 
configure:2345: checking for suffix of object files
configure:2371: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:2374: $? = 0
configure:2397: result: o
configure:2401: checking whether we are using the GNU C compiler
configure:2430: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:2436: $? = 0
configure:2453: result: yes
configure:2458: checking whether /usr/bin/gcc-4.0 accepts -g
configure:2488: /usr/bin/gcc-4.0 -c -g -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:2494: $? = 0
configure:2593: result: yes
configure:2610: checking for /usr/bin/gcc-4.0 option to accept ISO C89
configure:2684: /usr/bin/gcc-4.0  -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:2690: $? = 0
configure:2713: result: none needed
configure:2736: checking how to run the C preprocessor
configure:2852: result: /usr/bin/cpp-4.0
configure:2881: /usr/bin/cpp-4.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c
configure:2887: $? = 0
configure:2918: /usr/bin/cpp-4.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c
conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
configure:2924: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3006: checking for ranlib
configure:3022: found /usr/bin/ranlib
configure:3033: result: ranlib
configure:3101: checking supported compiler flags
configure:3129: /usr/bin/gcc-4.0 -c -O2 -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3135: $? = 0
configure:3177: /usr/bin/gcc-4.0 -c -O2 -Wall -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3183: $? = 0
configure:3177: /usr/bin/gcc-4.0 -c -O2 -Wstrict-prototypes -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
conftest.c:11: warning: function declaration isn't a prototype
configure:3183: $? = 0
configure:3177: /usr/bin/gcc-4.0 -c -O2 -Wmissing-declarations -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3183: $? = 0
configure:3177: /usr/bin/gcc-4.0 -c -O2 -Wmissing-prototypes -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3183: $? = 0
configure:3177: /usr/bin/gcc-4.0 -c -O2 -Wwrite-strings -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3183: $? = 0
configure:3177: /usr/bin/gcc-4.0 -c -O2 -Wno-strict-aliasing -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3183: $? = 0
configure:3177: /usr/bin/gcc-4.0 -c -O2 -fno-builtin -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3183: $? = 0
configure:3177: /usr/bin/gcc-4.0 -c -O2 -fno-common -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3183: $? = 0
configure:3202: result:  ...done.
configure:3214: checking for dirent.h that defines DIR
configure:3243: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3249: $? = 0
configure:3265: result: yes
configure:3278: checking for library containing opendir
configure:3319: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c  >&5
configure:3325: $? = 0
configure:3353: result: none required
configure:3448: checking for grep that handles long lines and -e
configure:3522: result: /usr/bin/grep
configure:3527: checking for egrep
configure:3605: result: /usr/bin/grep -E
configure:3610: checking for ANSI C header files
configure:3640: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3646: $? = 0
configure:3742: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c  >&5
configure:3745: $? = 0
configure:3751: ./conftest
configure:3754: $? = 0
configure:3771: result: yes
configure:3795: checking for sys/types.h
configure:3816: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3822: $? = 0
configure:3838: result: yes
configure:3795: checking for sys/stat.h
configure:3816: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3822: $? = 0
configure:3838: result: yes
configure:3795: checking for stdlib.h
configure:3816: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3822: $? = 0
configure:3838: result: yes
configure:3795: checking for string.h
configure:3816: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3822: $? = 0
configure:3838: result: yes
configure:3795: checking for memory.h
configure:3816: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3822: $? = 0
configure:3838: result: yes
configure:3795: checking for strings.h
configure:3816: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3822: $? = 0
configure:3838: result: yes
configure:3795: checking for inttypes.h
configure:3816: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3822: $? = 0
configure:3838: result: yes
configure:3795: checking for stdint.h
configure:3816: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3822: $? = 0
configure:3838: result: yes
configure:3795: checking for unistd.h
configure:3816: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3822: $? = 0
configure:3838: result: yes
configure:3877: checking errno.h usability
configure:3894: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3900: $? = 0
configure:3914: result: yes
configure:3918: checking errno.h presence
configure:3933: /usr/bin/cpp-4.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c
configure:3939: $? = 0
configure:3953: result: yes
configure:3981: checking for errno.h
configure:3989: result: yes
configure:3877: checking fcntl.h usability
configure:3894: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3900: $? = 0
configure:3914: result: yes
configure:3918: checking fcntl.h presence
configure:3933: /usr/bin/cpp-4.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c
configure:3939: $? = 0
configure:3953: result: yes
configure:3981: checking for fcntl.h
configure:3989: result: yes
configure:3877: checking limits.h usability
configure:3894: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3900: $? = 0
configure:3914: result: yes
configure:3918: checking limits.h presence
configure:3933: /usr/bin/cpp-4.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c
configure:3939: $? = 0
configure:3953: result: yes
configure:3981: checking for limits.h
configure:3989: result: yes
configure:3877: checking malloc.h usability
configure:3894: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
conftest.c:55:20: error: malloc.h: No such file or directory
configure:3900: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <malloc.h>
configure:3914: result: no
configure:3918: checking malloc.h presence
configure:3933: /usr/bin/cpp-4.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c
conftest.c:22:20: error: malloc.h: No such file or directory
configure:3939: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| /* end confdefs.h.  */
| #include <malloc.h>
configure:3953: result: no
configure:3981: checking for malloc.h
configure:3989: result: no
configure:3867: checking for memory.h
configure:3873: result: yes
configure:3867: checking for stdlib.h
configure:3873: result: yes
configure:3867: checking for string.h
configure:3873: result: yes
configure:3867: checking for strings.h
configure:3873: result: yes
configure:3877: checking sys/ioctl.h usability
configure:3894: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3900: $? = 0
configure:3914: result: yes
configure:3918: checking sys/ioctl.h presence
configure:3933: /usr/bin/cpp-4.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c
configure:3939: $? = 0
configure:3953: result: yes
configure:3981: checking for sys/ioctl.h
configure:3989: result: yes
configure:3877: checking sys/param.h usability
configure:3894: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3900: $? = 0
configure:3914: result: yes
configure:3918: checking sys/param.h presence
configure:3933: /usr/bin/cpp-4.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c
configure:3939: $? = 0
configure:3953: result: yes
configure:3981: checking for sys/param.h
configure:3989: result: yes
configure:3877: checking sys/time.h usability
configure:3894: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3900: $? = 0
configure:3914: result: yes
configure:3918: checking sys/time.h presence
configure:3933: /usr/bin/cpp-4.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c
configure:3939: $? = 0
configure:3953: result: yes
configure:3981: checking for sys/time.h
configure:3989: result: yes
configure:3877: checking syslog.h usability
configure:3894: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:3900: $? = 0
configure:3914: result: yes
configure:3918: checking syslog.h presence
configure:3933: /usr/bin/cpp-4.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c
configure:3939: $? = 0
configure:3953: result: yes
configure:3981: checking for syslog.h
configure:3989: result: yes
configure:3867: checking for unistd.h
configure:3873: result: yes
configure:4014: checking sys/window.h usability
configure:4031: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
conftest.c:64:24: error: sys/window.h: No such file or directory
configure:4037: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/window.h>
configure:4051: result: no
configure:4055: checking sys/window.h presence
configure:4070: /usr/bin/cpp-4.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c
conftest.c:31:24: error: sys/window.h: No such file or directory
configure:4076: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <sys/window.h>
configure:4090: result: no
configure:4118: checking for sys/window.h
configure:4125: result: no
configure:4133: checking for an ANSI C-conforming const
configure:4208: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:4214: $? = 0
configure:4229: result: yes
configure:4239: checking for inline
configure:4265: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:4271: $? = 0
configure:4289: result: inline
configure:4308: checking for mode_t
configure:4338: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:4344: $? = 0
configure:4359: result: yes
configure:4371: checking for off_t
configure:4401: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:4407: $? = 0
configure:4422: result: yes
configure:4434: checking for size_t
configure:4464: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:4470: $? = 0
configure:4485: result: yes
configure:4497: checking for struct stat.st_blocks
configure:4525: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:4531: $? = 0
configure:4588: result: yes
configure:4611: checking whether time.h and sys/time.h may both be included
configure:4641: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:4647: $? = 0
configure:4662: result: yes
configure:4672: checking whether struct tm is in sys/time.h or time.h
configure:4702: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:4708: $? = 0
configure:4723: result: time.h
configure:5125: checking for unsigned long int
configure:5155: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:5161: $? = 0
configure:5176: result: yes
configure:5183: checking size of unsigned long int
configure:5485: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c  >&5
configure:5488: $? = 0
configure:5494: ./conftest
configure:5497: $? = 0
configure:5520: result: 4
configure:5533: checking for unsigned long long
configure:5563: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:5569: $? = 0
configure:5584: result: yes
configure:5591: checking size of unsigned long long
configure:5893: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c  >&5
configure:5896: $? = 0
configure:5902: ./conftest
configure:5905: $? = 0
configure:5928: result: 8
configure:6766: checking for pkg-config
configure:6784: found /opt/local/bin/pkg-config
configure:6796: result: /opt/local/bin/pkg-config
configure:6818: checking for fontconfig with pkg-config
configure:6821: result: yes
configure:7039: checking for cos in -lm
configure:7074: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -lm   >&5
conftest.c:43: warning: conflicting types for built-in function 'cos'
configure:7080: $? = 0
configure:7098: result: yes
configure:7122: checking for iconv_open
configure:7178: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -lm  >&5
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
_iconv_open
collect2: ld returned 1 exit status
configure:7184: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define TIME_WITH_SYS_TIME 1
| #define SIZEOF_UNSIGNED_LONG_INT 4
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define HAVE_LIBM 1
| /* end confdefs.h.  */
| /* Define iconv_open to an innocuous variant, in case <limits.h> declares iconv_open.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define iconv_open innocuous_iconv_open
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char iconv_open (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef iconv_open
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char iconv_open ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_iconv_open || defined __stub___iconv_open
| choke me
| #endif
| 
| int
| main ()
| {
| return iconv_open ();
|   ;
|   return 0;
| }
configure:7201: result: no
configure:7209: checking for libiconv_open in -liconv
configure:7244: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -liconv  -lm  >&5
configure:7250: $? = 0
configure:7268: result: yes
configure:7588: checking for dlopen in -ldl
configure:7623: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl  -lm  -liconv >&5
configure:7629: $? = 0
configure:7647: result: yes
configure:7659: checking for local jpeg library source
configure:7663: result: jpeg
configure:7901: checking for jmemsys.h
configure:7904: result: yes
configure:7917: checking for local zlib source
configure:7923: result: yes
configure:8156: checking for local png library source
configure:8159: result: yes
configure:8409: checking for cups-config
configure:8427: found /usr/bin/cups-config
configure:8439: result: /usr/bin/cups-config
configure:8496: checking for local ijs library source
configure:8499: result: yes
configure:8521: checking for local jbig2dec library source
configure:8527: result: jbig2dec
configure:8630: checking for local jasper library source
configure:8636: result: jasper
configure:8638: checking for local jasper configure script
configure:8641: result: yes
configure:8796: checking for GTK+ 2.x
configure:8805: result: no
configure:8880: checking for X
configure:9115: result: libraries /usr/X11R6/lib, headers /usr/X11R6/include
configure:9137: checking whether -R must be followed by a space
configure:9163: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ -R/usr/X11R6/lib >&5
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-R/usr/X11R6/lib'
configure:9169: $? = 0
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define TIME_WITH_SYS_TIME 1
| #define SIZEOF_UNSIGNED_LONG_INT 4
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define HAVE_LIBM 1
| #define USE_LIBICONV_GNU 1
| #define HAVE_LIBDL 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:9204: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ -R /usr/X11R6/lib >&5
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-R'
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: can't map file: /usr/X11R6/lib ((os/kern) invalid argument)
collect2: ld returned 1 exit status
configure:9210: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define TIME_WITH_SYS_TIME 1
| #define SIZEOF_UNSIGNED_LONG_INT 4
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define HAVE_LIBM 1
| #define USE_LIBICONV_GNU 1
| #define HAVE_LIBDL 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:9223: result: neither works
configure:9276: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++  -L/usr/X11R6/lib -lX11 >&5
configure:9282: $? = 0
configure:9439: checking for gethostbyname
configure:9495: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
configure:9501: $? = 0
configure:9518: result: yes
configure:9663: checking for connect
configure:9719: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
configure:9725: $? = 0
configure:9742: result: yes
configure:9814: checking for remove
configure:9870: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
configure:9876: $? = 0
configure:9893: result: yes
configure:9965: checking for shmat
configure:10021: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
configure:10027: $? = 0
configure:10044: result: yes
configure:10125: checking for IceConnectionNumber in -lICE
configure:10160: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib -L/usr/X11R6/lib conftest.c -lICE  -ldl -lm  -liconv -lstdc++ >&5
configure:10166: $? = 0
configure:10184: result: yes
configure:10225: checking for XOpenDisplay in -lX11
configure:10260: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib -L/usr/X11R6/lib conftest.c -lX11  -ldl -lm  -liconv -lstdc++ >&5
configure:10266: $? = 0
configure:10284: result: yes
configure:10296: checking for XdbeQueryExtension in -lXext
configure:10331: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib -L/usr/X11R6/lib conftest.c -lXext  -lX11 -ldl -lm  -liconv -lstdc++ >&5
configure:10337: $? = 0
configure:10355: result: yes
configure:10367: checking for XtAppCreateShell in -lXt
configure:10402: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib -L/usr/X11R6/lib conftest.c -lXt  -lXext -lX11 -ldl -lm  -liconv -lstdc++ >&5
configure:10408: $? = 0
configure:10426: result: yes
configure:10774: checking for mkstemp
configure:10830: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
configure:10836: $? = 0
configure:10854: result: yes
configure:10870: checking for hypot
configure:10926: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
conftest.c:66: warning: conflicting types for built-in function 'hypot'
configure:10932: $? = 0
configure:10950: result: yes
configure:10966: checking for fopen64
configure:11022: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
_fopen64
collect2: ld returned 1 exit status
configure:11028: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define TIME_WITH_SYS_TIME 1
| #define SIZEOF_UNSIGNED_LONG_INT 4
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define HAVE_LIBM 1
| #define USE_LIBICONV_GNU 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBX11 1
| #define HAVE_LIBXEXT 1
| #define HAVE_LIBXT 1
| #define HAVE_MKSTEMP 1
| #define HAVE_HYPOT 1
| /* end confdefs.h.  */
| /* Define fopen64 to an innocuous variant, in case <limits.h> declares fopen64.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define fopen64 innocuous_fopen64
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char fopen64 (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef fopen64
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char fopen64 ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_fopen64 || defined __stub___fopen64
| choke me
| #endif
| 
| int
| main ()
| {
| return fopen64 ();
|   ;
|   return 0;
| }
configure:11046: result: no
configure:11062: checking for mkstemp64
configure:11118: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
_mkstemp64
collect2: ld returned 1 exit status
configure:11124: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define TIME_WITH_SYS_TIME 1
| #define SIZEOF_UNSIGNED_LONG_INT 4
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define HAVE_LIBM 1
| #define USE_LIBICONV_GNU 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBX11 1
| #define HAVE_LIBXEXT 1
| #define HAVE_LIBXT 1
| #define HAVE_MKSTEMP 1
| #define HAVE_HYPOT 1
| /* end confdefs.h.  */
| /* Define mkstemp64 to an innocuous variant, in case <limits.h> declares mkstemp64.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define mkstemp64 innocuous_mkstemp64
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char mkstemp64 (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef mkstemp64
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char mkstemp64 ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_mkstemp64 || defined __stub___mkstemp64
| choke me
| #endif
| 
| int
| main ()
| {
| return mkstemp64 ();
|   ;
|   return 0;
| }
configure:11142: result: no
configure:11155: checking whether /usr/bin/gcc-4.0 needs -traditional
conftest.c:44:20: error: termio.h: No such file or directory
configure:11197: result: no
configure:11205: checking for pid_t
configure:11235: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
configure:11241: $? = 0
configure:11256: result: yes
configure:11283: checking vfork.h usability
configure:11300: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
conftest.c:77:19: error: vfork.h: No such file or directory
configure:11306: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define TIME_WITH_SYS_TIME 1
| #define SIZEOF_UNSIGNED_LONG_INT 4
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define HAVE_LIBM 1
| #define USE_LIBICONV_GNU 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBX11 1
| #define HAVE_LIBXEXT 1
| #define HAVE_LIBXT 1
| #define HAVE_MKSTEMP 1
| #define HAVE_HYPOT 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <vfork.h>
configure:11320: result: no
configure:11324: checking vfork.h presence
configure:11339: /usr/bin/cpp-4.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c
conftest.c:44:19: error: vfork.h: No such file or directory
configure:11345: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define TIME_WITH_SYS_TIME 1
| #define SIZEOF_UNSIGNED_LONG_INT 4
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define HAVE_LIBM 1
| #define USE_LIBICONV_GNU 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBX11 1
| #define HAVE_LIBXEXT 1
| #define HAVE_LIBXT 1
| #define HAVE_MKSTEMP 1
| #define HAVE_HYPOT 1
| /* end confdefs.h.  */
| #include <vfork.h>
configure:11359: result: no
configure:11387: checking for vfork.h
configure:11395: result: no
configure:11413: checking for fork
configure:11469: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
conftest.c:67: warning: conflicting types for built-in function 'fork'
configure:11475: $? = 0
configure:11493: result: yes
configure:11413: checking for vfork
configure:11469: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
configure:11475: $? = 0
configure:11493: result: yes
configure:11504: checking for working fork
configure:11536: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
configure:11539: $? = 0
configure:11545: ./conftest
configure:11548: $? = 0
configure:11564: result: yes
configure:11585: checking for working vfork
configure:11723: result: yes
configure:11759: checking for stdlib.h
configure:11765: result: yes
configure:11894: checking for GNU libc compatible malloc
configure:11928: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
configure:11931: $? = 0
configure:11937: ./conftest
configure:11940: $? = 0
configure:11956: result: yes
configure:11984: checking for working memcmp
configure:12037: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
configure:12040: $? = 0
configure:12046: ./conftest
configure:12049: $? = 0
configure:12065: result: yes
configure:12074: checking return type of signal handlers
configure:12102: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include conftest.c >&5
conftest.c: In function 'main':
conftest.c:56: error: void value not ignored as it ought to be
configure:12108: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define TIME_WITH_SYS_TIME 1
| #define SIZEOF_UNSIGNED_LONG_INT 4
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define HAVE_LIBM 1
| #define USE_LIBICONV_GNU 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBX11 1
| #define HAVE_LIBXEXT 1
| #define HAVE_LIBXT 1
| #define HAVE_MKSTEMP 1
| #define HAVE_HYPOT 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| /* end confdefs.h.  */
| #include <sys/types.h>
| #include <signal.h>
| 
| int
| main ()
| {
| return *(signal (0, 0)) (0) == 1;
|   ;
|   return 0;
| }
configure:12123: result: void
configure:12131: checking whether lstat dereferences a symlink specified with a trailing slash
configure:12167: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
configure:12170: $? = 0
configure:12176: ./conftest
configure:12179: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define TIME_WITH_SYS_TIME 1
| #define SIZEOF_UNSIGNED_LONG_INT 4
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define HAVE_LIBM 1
| #define USE_LIBICONV_GNU 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBX11 1
| #define HAVE_LIBXEXT 1
| #define HAVE_LIBXT 1
| #define HAVE_MKSTEMP 1
| #define HAVE_HYPOT 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define RETSIGTYPE void
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| struct stat sbuf;
|      /* Linux will dereference the symlink and fail.
| 	That is better in the sense that it means we will not
| 	have to compile and use the lstat wrapper.  */
|      return lstat ("conftest.sym/", &sbuf) == 0;
|   ;
|   return 0;
| }
configure:12202: result: no
configure:12221: checking whether stat accepts an empty string
configure:12251: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
configure:12254: $? = 0
configure:12260: ./conftest
configure:12263: $? = 0
configure:12279: result: no
configure:12299: checking for vprintf
configure:12355: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
conftest.c:74: warning: conflicting types for built-in function 'vprintf'
configure:12361: $? = 0
configure:12379: result: yes
configure:12386: checking for _doprnt
configure:12442: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
__doprnt
collect2: ld returned 1 exit status
configure:12448: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define TIME_WITH_SYS_TIME 1
| #define SIZEOF_UNSIGNED_LONG_INT 4
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define HAVE_LIBM 1
| #define USE_LIBICONV_GNU 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBX11 1
| #define HAVE_LIBXEXT 1
| #define HAVE_LIBXT 1
| #define HAVE_MKSTEMP 1
| #define HAVE_HYPOT 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define RETSIGTYPE void
| #define HAVE_VPRINTF 1
| /* end confdefs.h.  */
| /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define _doprnt innocuous__doprnt
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char _doprnt (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef _doprnt
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char _doprnt ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub__doprnt || defined __stub____doprnt
| choke me
| #endif
| 
| int
| main ()
| {
| return _doprnt ();
|   ;
|   return 0;
| }
configure:12465: result: no
configure:12502: checking for bzero
configure:12558: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
conftest.c:75: warning: conflicting types for built-in function 'bzero'
configure:12564: $? = 0
configure:12582: result: yes
configure:12502: checking for dup2
configure:12558: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
configure:12564: $? = 0
configure:12582: result: yes
configure:12502: checking for floor
configure:12558: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
conftest.c:77: warning: conflicting types for built-in function 'floor'
configure:12564: $? = 0
configure:12582: result: yes
configure:12502: checking for gettimeofday
configure:12558: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
configure:12564: $? = 0
configure:12582: result: yes
configure:12502: checking for memchr
configure:12558: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
configure:12564: $? = 0
configure:12582: result: yes
configure:12502: checking for memmove
configure:12558: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
conftest.c:80: warning: conflicting types for built-in function 'memmove'
configure:12564: $? = 0
configure:12582: result: yes
configure:12502: checking for memset
configure:12558: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
conftest.c:81: warning: conflicting types for built-in function 'memset'
configure:12564: $? = 0
configure:12582: result: yes
configure:12502: checking for mkdir
configure:12558: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
configure:12564: $? = 0
configure:12582: result: yes
configure:12502: checking for mkfifo
configure:12558: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
configure:12564: $? = 0
configure:12582: result: yes
configure:12502: checking for modf
configure:12558: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
conftest.c:84: warning: conflicting types for built-in function 'modf'
configure:12564: $? = 0
configure:12582: result: yes
configure:12502: checking for pow
configure:12558: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
conftest.c:85: warning: conflicting types for built-in function 'pow'
configure:12564: $? = 0
configure:12582: result: yes
configure:12502: checking for putenv
configure:12558: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
configure:12564: $? = 0
configure:12582: result: yes
configure:12502: checking for rint
configure:12558: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
conftest.c:87: warning: conflicting types for built-in function 'rint'
configure:12564: $? = 0
configure:12582: result: yes
configure:12502: checking for setenv
configure:12558: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
configure:12564: $? = 0
configure:12582: result: yes
configure:12502: checking for sqrt
configure:12558: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
conftest.c:89: warning: conflicting types for built-in function 'sqrt'
configure:12564: $? = 0
configure:12582: result: yes
configure:12502: checking for strchr
configure:12558: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
conftest.c:90: warning: conflicting types for built-in function 'strchr'
configure:12564: $? = 0
configure:12582: result: yes
configure:12502: checking for strerror
configure:12558: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
configure:12564: $? = 0
configure:12582: result: yes
configure:12502: checking for strrchr
configure:12558: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
conftest.c:92: warning: conflicting types for built-in function 'strrchr'
configure:12564: $? = 0
configure:12582: result: yes
configure:12502: checking for strspn
configure:12558: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
conftest.c:93: warning: conflicting types for built-in function 'strspn'
configure:12564: $? = 0
configure:12582: result: yes
configure:12502: checking for strstr
configure:12558: /usr/bin/gcc-4.0 -o conftest -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include -L/opt/local/lib conftest.c -ldl -lm  -liconv -lstdc++ >&5
conftest.c:94: warning: conflicting types for built-in function 'strstr'
configure:12564: $? = 0
configure:12582: result: yes
configure:12728: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on adreadedsunnyday.local

config.status:641: creating Makefile
config.status:641: creating cups/pstopxl
config.status:641: creating cups/pstoraster

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_inline=inline
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/usr/bin/gcc-4.0
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=-O2
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include'
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value=/usr/bin/cpp-4.0
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-L/opt/local/lib
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func__doprnt=no
ac_cv_func_bzero=yes
ac_cv_func_connect=yes
ac_cv_func_dup2=yes
ac_cv_func_floor=yes
ac_cv_func_fopen64=no
ac_cv_func_fork=yes
ac_cv_func_fork_works=yes
ac_cv_func_gethostbyname=yes
ac_cv_func_gettimeofday=yes
ac_cv_func_hypot=yes
ac_cv_func_iconv_open=no
ac_cv_func_lstat_dereferences_slashed_symlink=no
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_memchr=yes
ac_cv_func_memcmp_working=yes
ac_cv_func_memmove=yes
ac_cv_func_memset=yes
ac_cv_func_mkdir=yes
ac_cv_func_mkfifo=yes
ac_cv_func_mkstemp64=no
ac_cv_func_mkstemp=yes
ac_cv_func_modf=yes
ac_cv_func_pow=yes
ac_cv_func_putenv=yes
ac_cv_func_remove=yes
ac_cv_func_rint=yes
ac_cv_func_setenv=yes
ac_cv_func_shmat=yes
ac_cv_func_sqrt=yes
ac_cv_func_stat_empty_string_bug=no
ac_cv_func_strchr=yes
ac_cv_func_strerror=yes
ac_cv_func_strrchr=yes
ac_cv_func_strspn=yes
ac_cv_func_strstr=yes
ac_cv_func_vfork=yes
ac_cv_func_vfork_works=yes
ac_cv_func_vprintf=yes
ac_cv_have_x='have_x=yes	ac_x_includes='\''/usr/X11R6/include'\''	ac_x_libraries='\''/usr/X11R6/lib'\'''
ac_cv_header_dirent_dirent_h=yes
ac_cv_header_errno_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_malloc_h=no
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_ioctl_h=yes
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_sys_window_h=no
ac_cv_header_syslog_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_header_vfork_h=no
ac_cv_lib_ICE_IceConnectionNumber=yes
ac_cv_lib_X11_XOpenDisplay=yes
ac_cv_lib_Xext_XdbeQueryExtension=yes
ac_cv_lib_Xt_XtAppCreateShell=yes
ac_cv_lib_dl_dlopen=yes
ac_cv_lib_iconv_libiconv_open=yes
ac_cv_lib_m_cos=yes
ac_cv_member_struct_stat_st_blocks=yes
ac_cv_objext=o
ac_cv_path_CUPSCONFIG=/usr/bin/cups-config
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_PKGCONFIG=/opt/local/bin/pkg-config
ac_cv_prog_CPP=/usr/bin/cpp-4.0
ac_cv_prog_ac_ct_CC=/usr/bin/gcc-4.0
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_gcc_traditional=no
ac_cv_search_opendir='none required'
ac_cv_sizeof_unsigned_long_int=4
ac_cv_sizeof_unsigned_long_long=8
ac_cv_struct_tm=time.h
ac_cv_type_mode_t=yes
ac_cv_type_off_t=yes
ac_cv_type_pid_t=yes
ac_cv_type_signal=void
ac_cv_type_size_t=yes
ac_cv_type_unsigned_long_int=yes
ac_cv_type_unsigned_long_long=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

CC='/usr/bin/gcc-4.0'
CFLAGS='-O2'
COMPILE_INITS='1'
CONTRIBINCLUDE='include contrib/contrib.mak'
CPP='/usr/bin/cpp-4.0'
CPPFLAGS='-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.61/jasper/src/libjasper/include -I/opt/local/include'
CUPSCFLAGS=' -O2'
CUPSCONFIG='/usr/bin/cups-config'
CUPSDATA='/usr/share/cups'
CUPSDEV='$(DD)cups.dev'
CUPSINCLUDE='include cups/cups.mak'
CUPSLIBDIRS=''
CUPSLIBS=' cupsimage z cups'
CUPSSERVERBIN='/usr/libexec/cups'
CUPSSERVERROOT='/private/etc/cups'
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ERRNO_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_ST_BLOCKS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_LONG_INT=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBM=1 -DUSE_LIBICONV_GNU=1 -DHAVE_LIBDL=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXT=1 -DHAVE_MKSTEMP=1 -DHAVE_HYPOT=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_BZERO=1 -DHAVE_DUP2=1 -DHAVE_FLOOR=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MEMCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MKFIFO=1 -DHAVE_MODF=1 -DHAVE_POW=1 -DHAVE_PUTENV=1 -DHAVE_RINT=1 -DHAVE_SETENV=1 -DHAVE_SQRT=1 -DHAVE_STRCHR=1 -DHAVE_STRERROR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSPN=1 -DHAVE_STRSTR=1'
DYNAMIC_CFLAGS=''
DYNAMIC_DEVS=''
DYNAMIC_FLAGS=''
DYNAMIC_LDFLAGS=''
DYNAMIC_LIBS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
FILES='$(DD)bbox.dev $(DD)bit.dev $(DD)bitcmyk.dev $(DD)bitrgb.dev $(DD)bitrgbtags.dev $(DD)bmp16.dev $(DD)bmp16m.dev $(DD)bmp256.dev $(DD)bmp32b.dev $(DD)bmpgray.dev $(DD)bmpmono.dev $(DD)bmpsep1.dev $(DD)bmpsep8.dev $(DD)ccr.dev $(DD)cfax.dev $(DD)cgm24.dev $(DD)cgm8.dev $(DD)cgmmono.dev $(DD)cif.dev $(DD)devicen.dev $(DD)dfaxhigh.dev $(DD)dfaxlow.dev $(DD)epswrite.dev $(DD)fax.dev $(DD)faxg3.dev $(DD)faxg32d.dev $(DD)faxg4.dev $(DD)imdi.dev $(DD)inferno.dev $(DD)jpeg.dev $(DD)jpegcmyk.dev $(DD)jpeggray.dev $(DD)mag16.dev $(DD)mag256.dev $(DD)mgr4.dev $(DD)mgr8.dev $(DD)mgrgray2.dev $(DD)mgrgray4.dev $(DD)mgrgray8.dev $(DD)mgrmono.dev $(DD)miff24.dev $(DD)pam.dev $(DD)pbm.dev $(DD)pbmraw.dev $(DD)pcx16.dev $(DD)pcx24b.dev $(DD)pcx256.dev $(DD)pcx2up.dev $(DD)pcxcmyk.dev $(DD)pcxgray.dev $(DD)pcxmono.dev $(DD)pdfwrite.dev $(DD)pgm.dev $(DD)pgmraw.dev $(DD)pgnm.dev $(DD)pgnmraw.dev $(DD)pkm.dev $(DD)pkmraw.dev $(DD)pksm.dev $(DD)pksmraw.dev $(DD)plan9bm.dev $(DD)png16.dev $(DD)png16m.dev $(DD)png256.dev $(DD)pngalpha.dev $(DD)pnggray.dev $(DD)pngmono.dev $(DD)pnm.dev $(DD)pnmraw.dev $(DD)ppm.dev $(DD)ppmraw.dev $(DD)ps2write.dev $(DD)psdcmyk.dev $(DD)psdf.dev $(DD)psdrgb.dev $(DD)psgray.dev $(DD)psmono.dev $(DD)psrgb.dev $(DD)pswrite.dev $(DD)sgirgb.dev $(DD)simdi.dev $(DD)spotcmyk.dev $(DD)sunhmono.dev $(DD)tfax.dev $(DD)tiff12nc.dev $(DD)tiff24nc.dev $(DD)tiff32nc.dev $(DD)tiffcrle.dev $(DD)tiffg3.dev $(DD)tiffg32d.dev $(DD)tiffg4.dev $(DD)tiffgray.dev $(DD)tifflzw.dev $(DD)tiffpack.dev $(DD)tiffs.dev $(DD)tiffsep.dev $(DD)wtscmyk.dev $(DD)wtsimdi.dev $(DD)xcf.dev '
FONTCONFIG_CFLAGS='-O2 -I/opt/local/include  '
FONTCONFIG_LIBS='-L/opt/local/lib -lfontconfig -lexpat  '
GCFLAGS=' -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long"'
GREP='/usr/bin/grep'
GS='gs'
GTKCONFIG=''
HAVE_FILE64=''
HAVE_FONTCONFIG='-DHAVE_FONTCONFIG'
HAVE_HYPOT='-DHAVE_HYPOT'
HAVE_MKSTEMP64=''
HAVE_MKSTEMP='-DHAVE_MKSTEMP'
IJSDEVS='$(DD)ijs.dev'
IJSDIR='ijs'
INSTALL_CONTRIB='install-contrib-extras'
INSTALL_SHARED=''
JASPERDIR='jasper'
JBIG2DEVS='$(PSD)jbig2.dev'
JBIG2DIR='jbig2dec'
JPXDEVS='$(PSD)jpx.dev'
LDFLAGS='-L/opt/local/lib'
LIBJPEGDIR='jpeg'
LIBOBJS=' ${LIBOBJDIR}lstat$U.o'
LIBPNGDIR='libpng'
LIBS='-ldl -lm  -liconv -lstdc++'
LTLIBOBJS=' ${LIBOBJDIR}lstat$U.lo'
OBJEXT='o'
OMNIDEVS='$(DD)omni.dev'
OPT_CFLAGS=' -O2'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKGCONFIG='/opt/local/bin/pkg-config'
PNGDEVS='$(DD)png48.dev $(DD)png16m.dev $(DD)pnggray.dev $(DD)pngmono.dev $(DD)png256.dev $(DD)png16.dev $(DD)pngalpha.dev'
PRINTERS='$(DD)alc1900.dev $(DD)alc2000.dev $(DD)alc4000.dev $(DD)alc4100.dev $(DD)alc8500.dev $(DD)alc8600.dev $(DD)alc9100.dev $(DD)ap3250.dev $(DD)appledmp.dev $(DD)atx23.dev $(DD)atx24.dev $(DD)atx38.dev $(DD)bj10e.dev $(DD)bj10v.dev $(DD)bj10vh.dev $(DD)bj200.dev $(DD)bjc600.dev $(DD)bjc800.dev $(DD)bjc880j.dev $(DD)bjccmyk.dev $(DD)bjccolor.dev $(DD)bjcgray.dev $(DD)bjcmono.dev $(DD)cdeskjet.dev $(DD)cdj1600.dev $(DD)cdj500.dev $(DD)cdj550.dev $(DD)cdj670.dev $(DD)cdj850.dev $(DD)cdj880.dev $(DD)cdj890.dev $(DD)cdj970.dev $(DD)cdjcolor.dev $(DD)cdjmono.dev $(DD)chp2200.dev $(DD)cljet5.dev $(DD)cljet5c.dev $(DD)cljet5pr.dev $(DD)coslw2p.dev $(DD)coslwxl.dev $(DD)cp50.dev $(DD)declj250.dev $(DD)deskjet.dev $(DD)dj505j.dev $(DD)djet500.dev $(DD)djet500c.dev $(DD)dl2100.dev $(DD)dnj650c.dev $(DD)epl2050.dev $(DD)epl2050p.dev $(DD)epl2120.dev $(DD)epl2500.dev $(DD)epl2750.dev $(DD)epl5800.dev $(DD)epl5900.dev $(DD)epl6100.dev $(DD)epl6200.dev $(DD)eps9high.dev $(DD)eps9mid.dev $(DD)epson.dev $(DD)epsonc.dev $(DD)escp.dev $(DD)escpage.dev $(DD)fmlbp.dev $(DD)fmpr.dev $(DD)fs600.dev $(DD)gdi.dev $(DD)hl1240.dev $(DD)hl1250.dev $(DD)hl7x0.dev $(DD)hpdj1120c.dev $(DD)hpdj310.dev $(DD)hpdj320.dev $(DD)hpdj340.dev $(DD)hpdj400.dev $(DD)hpdj500.dev $(DD)hpdj500c.dev $(DD)hpdj510.dev $(DD)hpdj520.dev $(DD)hpdj540.dev $(DD)hpdj550c.dev $(DD)hpdj560c.dev $(DD)hpdj600.dev $(DD)hpdj660c.dev $(DD)hpdj670c.dev $(DD)hpdj680c.dev $(DD)hpdj690c.dev $(DD)hpdj850c.dev $(DD)hpdj855c.dev $(DD)hpdj870c.dev $(DD)hpdj890c.dev $(DD)hpdjplus.dev $(DD)hpdjportable.dev $(DD)ibmpro.dev $(DD)imagen.dev $(DD)iwhi.dev $(DD)iwlo.dev $(DD)iwlq.dev $(DD)jetp3852.dev $(DD)jj100.dev $(DD)la50.dev $(DD)la70.dev $(DD)la75.dev $(DD)la75plus.dev $(DD)laserjet.dev $(DD)lbp310.dev $(DD)lbp320.dev $(DD)lbp8.dev $(DD)lex2050.dev $(DD)lex3200.dev $(DD)lex5700.dev $(DD)lex7000.dev $(DD)lips2p.dev $(DD)lips3.dev $(DD)lips4.dev $(DD)lips4v.dev $(DD)lj250.dev $(DD)lj3100sw.dev $(DD)lj4dith.dev $(DD)lj4dithp.dev $(DD)lj5gray.dev $(DD)lj5mono.dev $(DD)ljet2p.dev $(DD)ljet3.dev $(DD)ljet3d.dev $(DD)ljet4.dev $(DD)ljet4d.dev $(DD)ljet4pjl.dev $(DD)ljetplus.dev $(DD)ln03.dev $(DD)lp1800.dev $(DD)lp1900.dev $(DD)lp2000.dev $(DD)lp2200.dev $(DD)lp2400.dev $(DD)lp2500.dev $(DD)lp2563.dev $(DD)lp3000c.dev $(DD)lp7500.dev $(DD)lp7700.dev $(DD)lp7900.dev $(DD)lp8000.dev $(DD)lp8000c.dev $(DD)lp8100.dev $(DD)lp8200c.dev $(DD)lp8300c.dev $(DD)lp8300f.dev $(DD)lp8400f.dev $(DD)lp8500c.dev $(DD)lp8600.dev $(DD)lp8600f.dev $(DD)lp8700.dev $(DD)lp8800c.dev $(DD)lp8900.dev $(DD)lp9000b.dev $(DD)lp9000c.dev $(DD)lp9100.dev $(DD)lp9200b.dev $(DD)lp9200c.dev $(DD)lp9300.dev $(DD)lp9400.dev $(DD)lp9500c.dev $(DD)lp9600.dev $(DD)lp9600s.dev $(DD)lp9800c.dev $(DD)lps4500.dev $(DD)lps6500.dev $(DD)lq850.dev $(DD)lx5000.dev $(DD)lxm3200.dev $(DD)lxm5700m.dev $(DD)m8510.dev $(DD)md1xMono.dev $(DD)md2k.dev $(DD)md50Eco.dev $(DD)md50Mono.dev $(DD)md5k.dev $(DD)mj500c.dev $(DD)mj6000c.dev $(DD)mj700v2c.dev $(DD)mj8000c.dev $(DD)ml600.dev $(DD)necp6.dev $(DD)npdl.dev $(DD)oce9050.dev $(DD)oki182.dev $(DD)oki4w.dev $(DD)okiibm.dev $(DD)oprp.dev $(DD)opvp.dev $(DD)paintjet.dev $(DD)pcl3.dev $(DD)photoex.dev $(DD)picty180.dev $(DD)pj.dev $(DD)pjetxl.dev $(DD)pjxl.dev $(DD)pjxl300.dev $(DD)pr1000.dev $(DD)pr1000_4.dev $(DD)pr150.dev $(DD)pr201.dev $(DD)pxlcolor.dev $(DD)pxlmono.dev $(DD)r4081.dev $(DD)rpdl.dev $(DD)samsunggdi.dev $(DD)sj48.dev $(DD)st800.dev $(DD)stcolor.dev $(DD)t4693d2.dev $(DD)t4693d4.dev $(DD)t4693d8.dev $(DD)tek4696.dev $(DD)uniprint.dev $(DD)xes.dev '
RANLIB='ranlib'
SHARE_JASPER='0'
SHARE_JBIG2='0'
SHARE_LIBJPEG='0'
SHARE_LIBPNG='0'
SHARE_ZLIB='0'
SHELL='/bin/sh'
SOC_CFLAGS=''
SOC_LIBS=''
SOC_LOADER='dxmainc.c'
X11DEVS='$(DD)x11.dev $(DD)x11alpha.dev $(DD)x11cmyk.dev $(DD)x11mono.dev $(DD)x11_.dev $(DD)x11alt_.dev $(DD)x11cmyk2.dev $(DD)x11cmyk4.dev $(DD)x11cmyk8.dev $(DD)x11rg16x.dev $(DD)x11rg32x.dev $(DD)x11gray2.dev $(DD)x11gray4.dev'
XLIBS=''
XMKMF=''
X_CFLAGS='-I/usr/X11R6/include'
X_DEVS='$(DD)x11.dev $(DD)x11alpha.dev $(DD)x11cmyk.dev $(DD)x11mono.dev $(DD)x11_.dev $(DD)x11alt_.dev $(DD)x11cmyk2.dev $(DD)x11cmyk4.dev $(DD)x11cmyk8.dev $(DD)x11rg16x.dev $(DD)x11rg32x.dev $(DD)x11gray2.dev $(DD)x11gray4.dev'
X_EXTRA_LIBS=''
X_LDFLAGS='-L/usr/X11R6/lib'
X_LIBS=' Xt SM ICE Xext X11'
X_PRE_LIBS=' -lSM -lICE'
ZLIBDIR='zlib'
ac_ct_CC='/usr/bin/gcc-4.0'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='${prefix}'
fontpath='${datarootdir}/fonts/default/ghostscript:${datarootdir}/fonts/default/Type1:${datarootdir}/fonts/default/TrueType:/usr/lib/DPS/outline/base:/usr/openwin/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/TrueType:/usr/share/cups/fonts'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${prefix}/share/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/opt/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define HAVE_DIRENT_H 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_ERRNO_H 1
#define HAVE_FCNTL_H 1
#define HAVE_LIMITS_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_UNISTD_H 1
#define HAVE_STRUCT_STAT_ST_BLOCKS 1
#define HAVE_ST_BLOCKS 1
#define TIME_WITH_SYS_TIME 1
#define SIZEOF_UNSIGNED_LONG_INT 4
#define SIZEOF_UNSIGNED_LONG_LONG 8
#define HAVE_LIBM 1
#define USE_LIBICONV_GNU 1
#define HAVE_LIBDL 1
#define HAVE_LIBX11 1
#define HAVE_LIBXEXT 1
#define HAVE_LIBXT 1
#define HAVE_MKSTEMP 1
#define HAVE_HYPOT 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_STDLIB_H 1
#define HAVE_MALLOC 1
#define RETSIGTYPE void
#define HAVE_VPRINTF 1
#define HAVE_BZERO 1
#define HAVE_DUP2 1
#define HAVE_FLOOR 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_MEMCHR 1
#define HAVE_MEMMOVE 1
#define HAVE_MEMSET 1
#define HAVE_MKDIR 1
#define HAVE_MKFIFO 1
#define HAVE_MODF 1
#define HAVE_POW 1
#define HAVE_PUTENV 1
#define HAVE_RINT 1
#define HAVE_SETENV 1
#define HAVE_SQRT 1
#define HAVE_STRCHR 1
#define HAVE_STRERROR 1
#define HAVE_STRRCHR 1
#define HAVE_STRSPN 1
#define HAVE_STRSTR 1

configure: exit 0

I think it's a bug ...

Kind regards,

ngw

Attachments (1)

config.log (85.2 KB) - added by nicholas.wieland@… 16 years ago.
config.log

Download all attachments as: .zip

Change History (13)

Changed 16 years ago by nicholas.wieland@…

Attachment: config.log added

config.log

comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Milestone: Port Bugs
Summary: ImageMagick library broken ...rb-rmagick can't find libMagick

I'm going to assume for now that this is a problem with rmagick, not ImageMagick. rb-rmagick is unmaintained so someone with knowledge of Ruby will have to step up to fix it. Also, there's a new rmagick 2 which should probably be a separate port (rb-rmagick2?) since it doesn't support some features from rmagick 1.

comment:2 Changed 16 years ago by jmpp@…

Description: modified (diff)

Please read our ticketing guidelines to learn how to properly file tickets with us, this one was very difficult to deal with. Most of all, please enclose terminal output within the {{{ }}} wrappers and trim what you paste to the most relevant parts, I'm sure there's a lot of output here that could be discarded. Thanks!

-jmpp

comment:3 Changed 16 years ago by nicholas.wieland@…

It's not a problem with rb-rmagick, using rb-rubygems I have exactly the same problem.

checking for InitializeMagick() in -lMagick... no Can't install RMagick 2.2.0. Can't find libMagick or one of the dependent libraries. Check the mkmf.log file for more detailed information.

comment:4 Changed 16 years ago by nicholas.wieland@…

What I mean with this is that there is obviously a problem with the library because both fail in the same way (and I always used the rmagick gem)

comment:5 Changed 16 years ago by nicholas.wieland@…

AFAIK InitializeMagick is the entry point to the library. Installing p5-perlmagick:

Magick.xs: In function 'boot_Image__Magick':
Magick.xs:2122: warning: implicit declaration of function 'InitializeMagick'
Magick.xs:2123: warning: implicit declaration of function 'SetWarningHandler'
Magick.xs:2124: warning: implicit declaration of function 'SetErrorHandler'
make: *** [Magick.o] Error 1

Warning: the following items did not execute (for p5-perlmagick): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

comment:6 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: william@… added

This problem was also reported by William Gallafent on macports-users.

comment:7 Changed 16 years ago by phessler@…

ImageMagick installs its libraries as "libMagick++", and the rb-rmagick port (as well as the normal rmagick gem) look for "libMagick" with out the plus plus. creating a symlink fixed it for me.

comment:8 Changed 16 years ago by kmayer (Ken Mayer)

In ImageMagick 6.3.7-8 (the previous port), it installed the main library file as libMagick.a (and dylib, etc.), in 6.4.1-1, the file name has been changed to libMagickCore. The RMagic configure script / make file needs an update. Or hack a symlink or make rb-rmagick depend on 6.3.7-8.

Here's the ChangeLog from ImageMagick 6.4.1-1:

2008-02-03  6.3.8-5 Cristy  <quetzlzacatenango@image...>
  * New Unix/Linux refactoring (should be transparent since changes are
    reflected in Magick-config and ImageMagick.pc pkg-config files):
      /usr/local/include => /usr/local/include/ImageMagick
      libMagick => libMagickCore
      libWand => libMagickWand
      Magick-config (deprecated) => MagickCore-config
      Wand-config (deprecated) => MagickWand-config
      Add Magick++-config, MagickCore.pc, MagickWand.pc, Magick++.pc

comment:10 Changed 16 years ago by febeling@…

Resolution: fixed
Status: newclosed

comment:11 Changed 16 years ago by febeling@…

r37022 | febeling@… | 2008-05-23 10:35:32 +0200 (Fri, 23 May 2008) | 2 lines

This should have fixed the problem, as the bug has been closed upstream.

comment:12 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.