libSM problem during a port install

Jared Evans jnevans at gmail.com
Mon Mar 9 19:39:49 PDT 2009


Here's a problem compiling libSM triggered by port install of php5-gd:
Below is output of the compiling and also the file
/usr/ports/x11/libSM/work/libSM-1.1.0/config.log

===[root at zabbix] /usr/ports/net-mgmt/zabbix # make install
===>  Installing for zabbix-1.6.2,1
===>   zabbix-1.6.2,1 depends on file: /usr/local/include/php/main/php.h - found
===>   zabbix-1.6.2,1 depends on executable: fping - found
===>   zabbix-1.6.2,1 depends on file:
/usr/local/lib/php/20060613/gd.so - not found
===>    Verifying install for /usr/local/lib/php/20060613/gd.so in
/usr/ports/graphics/php5-gd
===>   php5-gd-5.2.9 depends on file: /usr/local/bin/phpize - found
===>   php5-gd-5.2.9 depends on file:
/usr/local/libdata/pkgconfig/xpm.pc - not found
===>    Verifying install for /usr/local/libdata/pkgconfig/xpm.pc in
/usr/ports/x11/libXpm
===>   libXpm-3.5.7 depends on file:
/usr/local/libdata/pkgconfig/xextproto.pc - found
===>   libXpm-3.5.7 depends on file:
/usr/local/libdata/pkgconfig/xproto.pc - found
===>   libXpm-3.5.7 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   libXpm-3.5.7 depends on file:
/usr/local/libdata/pkgconfig/xext.pc - found
===>   libXpm-3.5.7 depends on file:
/usr/local/libdata/pkgconfig/xt.pc - not found
===>    Verifying install for /usr/local/libdata/pkgconfig/xt.pc in
/usr/ports/x11-toolkits/libXt
===>   libXt-1.0.5_1 depends on file:
/usr/local/libdata/pkgconfig/kbproto.pc - found
===>   libXt-1.0.5_1 depends on file:
/usr/local/libdata/pkgconfig/x11.pc - found
===>   libXt-1.0.5_1 depends on file:
/usr/local/libdata/pkgconfig/sm.pc - not found
===>    Verifying install for /usr/local/libdata/pkgconfig/sm.pc in
/usr/ports/x11/libSM
===>   libSM-1.1.0_1,1 depends on file:
/usr/local/share/aclocal/xorg-macros.m4 - found
===>   libSM-1.1.0_1,1 depends on file:
/usr/local/libdata/pkgconfig/xtrans.pc - found
===>   libSM-1.1.0_1,1 depends on file:
/usr/local/libdata/pkgconfig/ice.pc - found
===>   libSM-1.1.0_1,1 depends on file:
/usr/local/libdata/pkgconfig/xproto.pc - found
===>   libSM-1.1.0_1,1 depends on file: /usr/local/bin/automake-1.10 - found
===>   libSM-1.1.0_1,1 depends on file: /usr/local/bin/autoconf-2.62 - found
===>   libSM-1.1.0_1,1 depends on file: /usr/local/bin/libtool - found
===>   libSM-1.1.0_1,1 depends on executable: pkg-config - found
===>  Configuring for libSM-1.1.0_1,1
configure: WARNING: Unrecognized options: --enable-malloc0returnsnull
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... amd64-portbld-freebsd7.1
checking host system type... amd64-portbld-freebsd7.1
checking for style of include used by make... GNU
checking for gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking how to run the C++ preprocessor... c++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... (cached) 262144
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd7.1 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd7.1 ld.so
(cached) (cached) checking how to hardcode library paths into
programs... immediate
appending configuration tag "F77" to libtool
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) gcc3
./configure: 20764: Syntax error: word unexpected (expecting ")")
===>  Script "configure" failed unexpectedly.
Please report the problem to x11 at FreeBSD.org [maintainer] and attach the
"/usr/ports/x11/libSM/work/libSM-1.1.0/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/x11/libSM.
*** Error code 1

Stop in /usr/ports/x11-toolkits/libXt.
*** Error code 1

Stop in /usr/ports/x11/libXpm.
*** Error code 1

Stop in /usr/ports/graphics/php5-gd.
*** Error code 1

Stop in /usr/ports/graphics/php5-gd.
*** Error code 1

Stop in /usr/ports/net-mgmt/zabbix.
*** Error code 1

Stop in /usr/ports/net-mgmt/zabbix.

==============================
cat /usr/ports/x11/libSM/work/libSM-1.1.0/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 libSM configure 1.1.0, which was
generated by GNU Autoconf 2.62.  Invocation command line was

  $ ./configure --enable-malloc0returnsnull
--x-libraries=/usr/local/lib --x-includes=/usr/local/include
--prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/
--build=amd64-portbld-freebsd7.1

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

hostname = zabbix.office.viable.net
uname -m = amd64
uname -r = 7.1-RELEASE
uname -s = FreeBSD
uname -v = FreeBSD 7.1-RELEASE #0: Thu Jan  1 08:58:24 UTC 2009
root at driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC

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

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /root/bin
PATH: .


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

configure:2114: checking for a BSD-compatible install
configure:2182: result: /usr/bin/install -c -o root -g wheel
configure:2193: checking whether build environment is sane
configure:2236: result: yes
configure:2261: checking for a thread-safe mkdir -p
configure:2300: result: ./install-sh -c -d
configure:2313: checking for gawk
configure:2343: result: no
configure:2313: checking for mawk
configure:2343: result: no
configure:2313: checking for nawk
configure:2329: found /usr/bin/nawk
configure:2340: result: nawk
configure:2351: checking whether make sets $(MAKE)
configure:2373: result: yes
configure:2562: checking whether to enable maintainer-specific
portions of Makefiles
configure:2571: result: no
configure:2667: checking build system type
configure:2685: result: amd64-portbld-freebsd7.1
configure:2707: checking host system type
configure:2722: result: amd64-portbld-freebsd7.1
configure:2756: checking for style of include used by make
configure:2784: result: GNU
configure:2854: checking for gcc
configure:2881: result: cc
configure:3119: checking for C compiler version
configure:3127: cc --version >&5
cc (GCC) 4.2.1 20070719  [FreeBSD]
Copyright (C) 2007 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:3131: $? = 0
configure:3138: cc -v >&5
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070719  [FreeBSD]
configure:3142: $? = 0
configure:3149: cc -V >&5
cc: '-V' option must have argument
configure:3153: $? = 1
configure:3176: checking for C compiler default output file name
configure:3198: cc -O2 -fno-strict-aliasing -pipe   conftest.c  >&5
configure:3202: $? = 0
configure:3240: result: a.out
configure:3257: checking whether the C compiler works
configure:3267: ./a.out
configure:3271: $? = 0
configure:3288: result: yes
configure:3295: checking whether we are cross compiling
configure:3297: result: no
configure:3300: checking for suffix of executables
configure:3307: cc -o conftest -O2 -fno-strict-aliasing -pipe   conftest.c  >&5
configure:3311: $? = 0
configure:3335: result:
configure:3341: checking for suffix of object files
configure:3367: cc -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
configure:3371: $? = 0
configure:3394: result: o
configure:3398: checking whether we are using the GNU C compiler
configure:3427: cc -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
configure:3434: $? = 0
configure:3451: result: yes
configure:3460: checking whether cc accepts -g
configure:3490: cc -c -g  conftest.c >&5
configure:3497: $? = 0
configure:3598: result: yes
configure:3615: checking for cc option to accept ISO C89
configure:3689: cc  -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
configure:3696: $? = 0
configure:3719: result: none needed
configure:3739: checking dependency style of cc
configure:3830: result: gcc3
configure:3845: checking for a sed that does not truncate output
configure:3901: result: /usr/bin/sed
configure:3904: checking for grep that handles long lines and -e
configure:3964: result: /usr/bin/grep
configure:3969: checking for egrep
configure:4033: result: /usr/bin/grep -E
configure:4049: checking for ld used by cc
configure:4116: result: /usr/bin/ld
configure:4125: checking if the linker (/usr/bin/ld) is GNU ld
configure:4140: result: yes
configure:4145: checking for /usr/bin/ld option to reload object files
configure:4152: result: -r
configure:4170: checking for BSD-compatible nm
configure:4219: result: /usr/bin/nm -B
configure:4223: checking whether ln -s works
configure:4227: result: yes
configure:4234: checking how to recognize dependent libraries
configure:4420: result: pass_all
configure:4669: checking how to run the C preprocessor
configure:4709: cc -E  conftest.c
configure:4716: $? = 0
configure:4747: cc -E  conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:4754: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "libSM"
| #define PACKAGE_TARNAME "libSM"
| #define PACKAGE_VERSION "1.1.0"
| #define PACKAGE_STRING "libSM 1.1.0"
| #define PACKAGE_BUGREPORT
"https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "libSM"
| #define VERSION "1.1.0"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4787: result: cc -E
configure:4816: cc -E  conftest.c
configure:4823: $? = 0
configure:4854: cc -E  conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:4861: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "libSM"
| #define PACKAGE_TARNAME "libSM"
| #define PACKAGE_VERSION "1.1.0"
| #define PACKAGE_STRING "libSM 1.1.0"
| #define PACKAGE_BUGREPORT
"https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "libSM"
| #define VERSION "1.1.0"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4899: checking for ANSI C header files
configure:4929: cc -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
configure:4936: $? = 0
configure:5035: cc -o conftest -O2 -fno-strict-aliasing -pipe   conftest.c  >&5
configure:5039: $? = 0
configure:5045: ./conftest
configure:5049: $? = 0
configure:5067: result: yes
configure:5091: checking for sys/types.h
configure:5112: cc -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
configure:5119: $? = 0
configure:5136: result: yes
configure:5091: checking for sys/stat.h
configure:5112: cc -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
configure:5119: $? = 0
configure:5136: result: yes
configure:5091: checking for stdlib.h
configure:5112: cc -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
configure:5119: $? = 0
configure:5136: result: yes
configure:5091: checking for string.h
configure:5112: cc -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
configure:5119: $? = 0
configure:5136: result: yes
configure:5091: checking for memory.h
configure:5112: cc -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
configure:5119: $? = 0
configure:5136: result: yes
configure:5091: checking for strings.h
configure:5112: cc -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
configure:5119: $? = 0
configure:5136: result: yes
configure:5091: checking for inttypes.h
configure:5112: cc -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
configure:5119: $? = 0
configure:5136: result: yes
configure:5091: checking for stdint.h
configure:5112: cc -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
configure:5119: $? = 0
configure:5136: result: yes
configure:5091: checking for unistd.h
configure:5112: cc -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
configure:5119: $? = 0
configure:5136: result: yes
configure:5165: checking dlfcn.h usability
configure:5182: cc -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
configure:5189: $? = 0
configure:5203: result: yes
configure:5207: checking dlfcn.h presence
configure:5222: cc -E  conftest.c
configure:5229: $? = 0
configure:5243: result: yes
configure:5276: checking for dlfcn.h
configure:5285: result: yes
configure:5415: checking for C++ compiler version
configure:5423: c++ --version >&5
c++ (GCC) 4.2.1 20070719  [FreeBSD]
Copyright (C) 2007 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:5427: $? = 0
configure:5434: c++ -v >&5
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070719  [FreeBSD]
configure:5438: $? = 0
configure:5445: c++ -V >&5
c++: '-V' option must have argument
configure:5449: $? = 1
configure:5452: checking whether we are using the GNU C++ compiler
configure:5481: c++ -c -O2 -fno-strict-aliasing -pipe  conftest.cpp >&5
configure:5488: $? = 0
configure:5505: result: yes
configure:5514: checking whether c++ accepts -g
configure:5544: c++ -c -g  conftest.cpp >&5
configure:5551: $? = 0
configure:5652: result: yes
configure:5677: checking dependency style of c++
configure:5768: result: gcc3
configure:5793: checking how to run the C++ preprocessor
configure:5829: c++ -E  conftest.cpp
configure:5836: $? = 0
configure:5867: c++ -E  conftest.cpp
conftest.cpp:21:28: error: ac_nonexistent.h: No such file or directory
configure:5874: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "libSM"
| #define PACKAGE_TARNAME "libSM"
| #define PACKAGE_VERSION "1.1.0"
| #define PACKAGE_STRING "libSM 1.1.0"
| #define PACKAGE_BUGREPORT
"https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "libSM"
| #define VERSION "1.1.0"
| #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_DLFCN_H 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:5907: result: c++ -E
configure:5936: c++ -E  conftest.cpp
configure:5943: $? = 0
configure:5974: c++ -E  conftest.cpp
conftest.cpp:21:28: error: ac_nonexistent.h: No such file or directory
configure:5981: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "libSM"
| #define PACKAGE_TARNAME "libSM"
| #define PACKAGE_VERSION "1.1.0"
| #define PACKAGE_STRING "libSM 1.1.0"
| #define PACKAGE_BUGREPORT
"https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "libSM"
| #define VERSION "1.1.0"
| #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_DLFCN_H 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:6074: checking for g77
configure:6104: result: no
configure:6074: checking for xlf
configure:6104: result: no
configure:6074: checking for f77
configure:6104: result: no
configure:6074: checking for frt
configure:6104: result: no
configure:6074: checking for pgf77
configure:6104: result: no
configure:6074: checking for cf77
configure:6104: result: no
configure:6074: checking for fort77
configure:6104: result: no
configure:6074: checking for fl32
configure:6104: result: no
configure:6074: checking for af77
configure:6104: result: no
configure:6074: checking for xlf90
configure:6104: result: no
configure:6074: checking for f90
configure:6104: result: no
configure:6074: checking for pgf90
configure:6104: result: no
configure:6074: checking for pghpf
configure:6104: result: no
configure:6074: checking for epcf90
configure:6104: result: no
configure:6074: checking for gfortran
configure:6104: result: no
configure:6074: checking for g95
configure:6104: result: no
configure:6074: checking for xlf95
configure:6104: result: no
configure:6074: checking for f95
configure:6104: result: no
configure:6074: checking for fort
configure:6104: result: no
configure:6074: checking for ifort
configure:6104: result: no
configure:6074: checking for ifc
configure:6104: result: no
configure:6074: checking for efc
configure:6104: result: no
configure:6074: checking for pgf95
configure:6104: result: no
configure:6074: checking for lf95
configure:6104: result: no
configure:6074: checking for ftn
configure:6104: result: no
configure:6131: checking for Fortran 77 compiler version
configure:6139:  --version >&5
--version: not found
configure:6143: $? = 127
configure:6150:  -v >&5
-v: not found
configure:6154: $? = 127
configure:6161:  -V >&5
-V: not found
configure:6165: $? = 127
configure:6173: checking whether we are using the GNU Fortran 77 compiler
configure:6192:  -c  conftest.F >&5
-c: not found
configure:6199: $? = 127
configure: failed program was:
|       program main
| #ifndef __GNUC__
|        choke me
| #endif
|
|       end
configure:6216: result: no
configure:6222: checking whether  accepts -g
configure:6239:  -c -g conftest.f >&5
-c: not found
configure:6246: $? = 127
configure: failed program was:
|       program main
|
|       end
configure:6262: result: no
configure:6295: checking the maximum length of command line arguments
configure:6407: result: 262144
configure:6419: checking command to parse /usr/bin/nm -B output from cc object
configure:6524: cc -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
configure:6527: $? = 0
configure:6531: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[
	]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ 	][ 	]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1
\2 \2/p' \> conftest.nm
configure:6534: $? = 0
configure:6586: cc -o conftest -O2 -fno-strict-aliasing -pipe
conftest.c conftstm.o >&5
configure:6589: $? = 0
configure:6627: result: ok
configure:6631: checking for objdir
configure:6646: result: .libs
configure:6738: checking for ar
configure:6754: found /usr/bin/ar
configure:6765: result: ar
configure:6834: checking for ranlib
configure:6850: found /usr/bin/ranlib
configure:6861: result: ranlib
configure:6930: checking for strip
configure:6946: found /usr/bin/strip
configure:6957: result: strip
configure:7559: checking if cc supports -fno-rtti -fno-exceptions
configure:7577: cc -c -O2 -fno-strict-aliasing -pipe  -fno-rtti
-fno-exceptions conftest.c >&5
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++
but not for C
configure:7581: $? = 0
configure:7594: result: no
configure:7609: checking for cc option to produce PIC
configure:7841: result: -fPIC
configure:7849: checking if cc PIC flag -fPIC works
configure:7867: cc -c -O2 -fno-strict-aliasing -pipe  -fPIC -DPIC conftest.c >&5
configure:7871: $? = 0
configure:7884: result: yes
configure:7912: checking if cc static flag -static works
configure:7940: result: yes
configure:7950: checking if cc supports -c -o file.o
configure:7971: cc -c -O2 -fno-strict-aliasing -pipe  -o
out/conftest2.o conftest.c >&5
configure:7975: $? = 0
configure:7997: result: yes
configure:8023: checking whether the cc linker (/usr/bin/ld) supports
shared libraries
configure:9011: result: yes
configure:9032: checking whether -lc should be explicitly linked in
configure:9037: cc -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
configure:9040: $? = 0
configure:9055: cc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o
conftest 2\>\&1 \| grep  -lc  \>/dev/null 2\>\&1
configure:9058: $? = 0
configure:9070: result: no
configure:9078: checking dynamic linker characteristics
configure:9680: result: freebsd7.1 ld.so
configure:9704: checking how to hardcode library paths into programs
configure:9729: result: immediate
configure:9743: checking whether stripping libraries is possible
configure:9748: result: yes
configure:10578: checking if libtool supports shared libraries
configure:10580: result: yes
configure:10583: checking whether to build shared libraries
configure:10604: result: yes
configure:10607: checking whether to build static libraries
configure:10611: result: yes
configure:10705: creating libtool
configure:11298: checking for ld used by c++
configure:11365: result: /usr/bin/ld
configure:11374: checking if the linker (/usr/bin/ld) is GNU ld
configure:11389: result: yes
configure:11440: checking whether the c++ linker (/usr/bin/ld)
supports shared libraries
configure:12394: result: yes
configure:12411: c++ -c -O2 -fno-strict-aliasing -pipe  conftest.cpp >&5
configure:12414: $? = 0
configure:12570: checking for c++ option to produce PIC
configure:12854: result: -fPIC
configure:12862: checking if c++ PIC flag -fPIC works
configure:12880: c++ -c -O2 -fno-strict-aliasing -pipe  -fPIC -DPIC
conftest.cpp >&5
configure:12884: $? = 0
configure:12897: result: yes
configure:12925: checking if c++ static flag -static works
configure:12953: result: yes
configure:12963: checking if c++ supports -c -o file.o
configure:12984: c++ -c -O2 -fno-strict-aliasing -pipe  -o
out/conftest2.o conftest.cpp >&5
configure:12988: $? = 0
configure:13010: result: yes
configure:13036: checking whether the c++ linker (/usr/bin/ld)
supports shared libraries
configure:13062: result: yes
configure:13129: checking dynamic linker characteristics
configure:13679: result: freebsd7.1 ld.so
configure:13703: checking how to hardcode library paths into programs
configure:13728: result: immediate
configure:20013: checking for gcc
configure:20040: result: cc
configure:20278: checking for C compiler version
configure:20286: cc --version >&5
cc (GCC) 4.2.1 20070719  [FreeBSD]
Copyright (C) 2007 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:20290: $? = 0
configure:20297: cc -v >&5
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070719  [FreeBSD]
configure:20301: $? = 0
configure:20308: cc -V >&5
cc: '-V' option must have argument
configure:20312: $? = 1
configure:20315: checking whether we are using the GNU C compiler
configure:20368: result: yes
configure:20377: checking whether cc accepts -g
configure:20515: result: yes
configure:20532: checking for cc option to accept ISO C89
configure:20636: result: none needed
configure:20656: checking dependency style of cc
configure:20747: result: gcc3

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

ac_cv_build=amd64-portbld-freebsd7.1
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=''
ac_cv_env_CCC_value=''
ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -fno-strict-aliasing -pipe'
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_CXXCPP_set=''
ac_cv_env_CXXCPP_value=''
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-O2 -fno-strict-aliasing -pipe'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=c++
ac_cv_env_F77_set=''
ac_cv_env_F77_value=''
ac_cv_env_FFLAGS_set=''
ac_cv_env_FFLAGS_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_LIBS_set=''
ac_cv_env_LIBS_value=''
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=amd64-portbld-freebsd7.1
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_f77_compiler_gnu=no
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
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_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=amd64-portbld-freebsd7.1
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_prog_AWK=nawk
ac_cv_prog_CPP='cc -E'
ac_cv_prog_CXXCPP='c++ -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=cc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=''
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_f77_g=no
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=''
lt_cv_ld_reload_flag=-r
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_LDCXX=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_SED=/usr/bin/sed
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_compiler_static_works_CXX=yes
lt_cv_prog_gnu_ld=yes
lt_cv_prog_gnu_ldcxx=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[
	]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ 	][ 	]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1
\2 \2/p'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^
]*\) $/  {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\)
\([^ ]*\)$/  {"\2", (lt_ptr) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern
int \1;/p'\'''
lt_cv_sys_lib_dlsearch_path_spec='/lib /usr/lib'
lt_cv_sys_lib_search_path_spec=/usr/lib
lt_cv_sys_max_cmd_len=262144
lt_lt_cv_prog_compiler_c_o='"yes"'
lt_lt_cv_prog_compiler_c_o_CXX='"yes"'
lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[
	]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ 	][
	]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'\''"'
lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^:
\\([^ ]*\\) \$/  {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST]
\\([^ ]*\\) \\([^ ]*\\)\$/  {\"\\2\", (lt_ptr) \\&\\2},/p'\''"'
lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .*
\\(.*\\)\$/extern int \\1;/p'\''"'

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

ACLOCAL='/usr/local/bin/aclocal-1.10'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/ports/x11/libSM/work/libSM-1.1.0/missing --run tar'
AR='ar'
AUTOCONF='/usr/local/bin/autoconf-2.62'
AUTOHEADER='/usr/local/bin/autoheader-2.62'
AUTOMAKE='/usr/local/bin/automake-1.10'
AWK='nawk'
CC='cc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-O2 -fno-strict-aliasing -pipe'
CPP='cc -E'
CPPFLAGS=''
CXX='c++'
CXXCPP='c++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-O2 -fno-strict-aliasing -pipe'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DSYMUTIL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
F77=''
FFLAGS=''
GREP='/usr/bin/grep'
INSTALL_DATA='install  -o root -g wheel -m 444'
INSTALL_PROGRAM='install  -s -o root -g wheel -m 555'
INSTALL_SCRIPT='install  -o root -g wheel -m 555'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) /usr/local/bin/libtool'
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /usr/ports/x11/libSM/work/libSM-1.1.0/missing --run makeinfo'
MKDIR_P='./install-sh -c -d'
NMEDIT=''
OBJEXT='o'
PACKAGE='libSM'
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
PACKAGE_NAME='libSM'
PACKAGE_STRING='libSM 1.1.0'
PACKAGE_TARNAME='libSM'
PACKAGE_VERSION='1.1.0'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
SM_CFLAGS=''
SM_LIBS=''
STRIP='strip'
VERSION='1.1.0'
WITH_LIBUUID_FALSE=''
WITH_LIBUUID_TRUE=''
WITH_STDUUID_FALSE=''
WITH_STDUUID_TRUE=''
XTRANS_CFLAGS=''
XTRANS_LIBS=''
ac_ct_CC='cc'
ac_ct_CXX=''
ac_ct_F77=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='amd64-portbld-freebsd7.1'
build_alias='amd64-portbld-freebsd7.1'
build_cpu='amd64'
build_os='freebsd7.1'
build_vendor='portbld'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='amd64-portbld-freebsd7.1'
host_alias=''
host_cpu='amd64'
host_os='freebsd7.1'
host_vendor='portbld'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/local/info'
install_sh='$(SHELL) /usr/ports/x11/libSM/work/libSM-1.1.0/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='/usr/local/man'
mkdir_p='$(top_builddir)/./install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/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 "libSM"
#define PACKAGE_TARNAME "libSM"
#define PACKAGE_VERSION "1.1.0"
#define PACKAGE_STRING "libSM 1.1.0"
#define PACKAGE_BUGREPORT
"https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
#define PACKAGE "libSM"
#define VERSION "1.1.0"
#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_DLFCN_H 1

configure: exit 2


More information about the freebsd-x11 mailing list