10.6 - macports 1.8 - openmotif - fails to configure

Chris Janton face at CentosPrime.COM
Sun Sep 13 07:45:10 PDT 2009


openmotif needs to be upgraded (after sudo port selfupdate) -

sudo port -d -v upgrade openmotif
...
--->  Configuring openmotif
DEBUG: Using compiler 'Mac OS X gcc 4.2'
DEBUG: Executing org.macports.configure (openmotif)
DEBUG: Environment: CFLAGS='-O2 -arch x86_64' CPPFLAGS='-I/opt/local/ 
include' CXXFLAGS='-O2 -arch x86_64' MACOSX_DEPLOYMENT_TARGET='10.6'  
CXX='/usr/bin/g++-4.2' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib'  
OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2 -m64' INSTALL='/usr/bin/install - 
c' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC='/usr/bin/gcc-4.2'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_openmotif 
/work/openmotif-2.3.2" && ./configure --prefix=/opt/local --mandir=/ 
opt/local/share/man --enable-xft --enable-jpeg --enable-png --x- 
includes=/opt/local/include --x-libraries=/opt/local/lib'
checking for /usr/X/include/X11/X.h... no
checking for /usr/X11R6/include/X11/X.h... yes
checking build system type... i386-apple-darwin10.0.0
checking host system type... i386-apple-darwin10.0.0
checking target system type... i386-apple-darwin10.0.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... /usr/bin/gcc-4.2
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.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/gcc-4.2... gcc3
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
checking for gcc... (cached) /usr/bin/gcc-4.2
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/gcc-4.2 accepts -g... (cached) yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... (cached)  
none needed
checking dependency style of /usr/bin/gcc-4.2... (cached) gcc3
checking for a sed that does not truncate output... /opt/local/bin/gsed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by /usr/bin/gcc-4.2... /usr/libexec/gcc/i686- 
apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld)  
is GNU ld... no
checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to  
reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
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 /usr/bin/g++-4.2 accepts -g... yes
checking dependency style of /usr/bin/g++-4.2... gcc3
checking how to run the C++ preprocessor... /usr/bin/g++-4.2 -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... 196608
checking command to parse /usr/bin/nm output from /usr/bin/gcc-4.2  
object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if /usr/bin/gcc-4.2 supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/gcc-4.2 option to produce PIC... -fno-common
checking if /usr/bin/gcc-4.2 PIC flag -fno-common works... yes
checking if /usr/bin/gcc-4.2 static flag -static works... no
checking if /usr/bin/gcc-4.2 supports -c -o file.o... yes
checking whether the /usr/bin/gcc-4.2 linker (/usr/libexec/gcc/i686- 
apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.0.0 dyld
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 /usr/bin/g++-4.2... /usr/libexec/gcc/i686- 
apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld)  
is GNU ld... no
checking whether the /usr/bin/g++-4.2 linker (/usr/libexec/gcc/i686- 
apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking for /usr/bin/g++-4.2 option to produce PIC... -fno-common
checking if /usr/bin/g++-4.2 PIC flag -fno-common works... yes
checking if /usr/bin/g++-4.2 static flag -static works... no
checking if /usr/bin/g++-4.2 supports -c -o file.o... yes
checking whether the /usr/bin/g++-4.2 linker (/usr/libexec/gcc/i686- 
apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.0.0 dyld
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for byacc... no
checking for flex... flex
checking lex output file root... configure: error: cannot find output  
from flex; giving up
Error: Target org.macports.configure returned: configure failure:  
shell command " cd "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_openmotif 
/work/openmotif-2.3.2" && ./configure --prefix=/opt/local --mandir=/ 
opt/local/share/man --enable-xft --enable-jpeg --enable-png --x- 
includes=/opt/local/include --x-libraries=/opt/local/lib " returned  
error 1
Command output: checking for ranlib... ranlib
checking for strip... strip
checking if /usr/bin/gcc-4.2 supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/gcc-4.2 option to produce PIC... -fno-common
checking if /usr/bin/gcc-4.2 PIC flag -fno-common works... yes
checking if /usr/bin/gcc-4.2 static flag -static works... no
checking if /usr/bin/gcc-4.2 supports -c -o file.o... yes
checking whether the /usr/bin/gcc-4.2 linker (/usr/libexec/gcc/i686- 
apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.0.0 dyld
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 /usr/bin/g++-4.2... /usr/libexec/gcc/i686- 
apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld)  
is GNU ld... no
checking whether the /usr/bin/g++-4.2 linker (/usr/libexec/gcc/i686- 
apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking for /usr/bin/g++-4.2 option to produce PIC... -fno-common
checking if /usr/bin/g++-4.2 PIC flag -fno-common works... yes
checking if /usr/bin/g++-4.2 static flag -static works... no
checking if /usr/bin/g++-4.2 supports -c -o file.o... yes
checking whether the /usr/bin/g++-4.2 linker (/usr/libexec/gcc/i686- 
apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.0.0 dyld
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for byacc... no
checking for flex... flex
checking lex output file root... configure: error: cannot find output  
from flex; giving up

DEBUG: Backtrace: configure failure: shell command " cd "/opt/local/ 
var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_openmotif 
/work/openmotif-2.3.2" && ./configure --prefix=/opt/local --mandir=/ 
opt/local/share/man --enable-xft --enable-jpeg --enable-png --x- 
includes=/opt/local/include --x-libraries=/opt/local/lib " returned  
error 1
Command output: checking for ranlib... ranlib
checking for strip... strip
checking if /usr/bin/gcc-4.2 supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/gcc-4.2 option to produce PIC... -fno-common
checking if /usr/bin/gcc-4.2 PIC flag -fno-common works... yes
checking if /usr/bin/gcc-4.2 static flag -static works... no
checking if /usr/bin/gcc-4.2 supports -c -o file.o... yes
checking whether the /usr/bin/gcc-4.2 linker (/usr/libexec/gcc/i686- 
apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.0.0 dyld
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 /usr/bin/g++-4.2... /usr/libexec/gcc/i686- 
apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld)  
is GNU ld... no
checking whether the /usr/bin/g++-4.2 linker (/usr/libexec/gcc/i686- 
apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking for /usr/bin/g++-4.2 option to produce PIC... -fno-common
checking if /usr/bin/g++-4.2 PIC flag -fno-common works... yes
checking if /usr/bin/g++-4.2 static flag -static works... no
checking if /usr/bin/g++-4.2 supports -c -o file.o... yes
checking whether the /usr/bin/g++-4.2 linker (/usr/libexec/gcc/i686- 
apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.0.0 dyld
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for byacc... no
checking for flex... flex
checking lex output file root... configure: error: cannot find output  
from flex; giving up

     while executing
"$procedure $targetname"
Warning: the following items did not execute (for openmotif):  
org.macports.destroot org.macports.configure org.macports.build
Error: Unable to upgrade port: 1
mac 40 # which flex
/opt/local/bin/flex
mac 41 # port info flex
flex @2.5.35 (devel)
Variants:             universal

Description:          Flex is a tool for generating programs that  
require  pattern-matching on text. It is usually used together  with  
yacc/bison to
                       automatically generate a parser for  a language  
grammar, e.g. the syntax of a configuration file.
Homepage:             http://flex.sourceforge.net/

Platforms:            darwin
License:              BSD
Maintainers:          mww at macports.org
mac 42 # port installed | grep flex
   flex @2.5.35_0 (active)

8)
----------------------------------
Chris Janton  - face at CentosPrime dot COM
Netminder for Opus1.COM




More information about the macports-users mailing list