libidl and flex problem

Bengt Nilsson bengt.nilsson11 at spray.se
Sun Sep 24 02:54:43 PDT 2006


Hi!

I have tried to do a "port upgrade installed", but it does not complete.
Repeatedly, I get this for libidl:

--->  Activating libidl 0.8.6_0
--->  Deactivating libidl 0.8.6_0
--->  Configuring libidl
Error: Target com.apple.configure returned: configure failure: shell  
command "cd "/opt/local/var/db/dports/build/ 
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp 
orts_devel_libidl/work/libIDL-0.8.7" && CFLAGS=-no-cpp-precomp ./ 
configure --prefix=/opt/local --mandir=/opt/local/share/man -- 
infodir=/opt/local/share/info" returned error 1
Command output: checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking if C preprocessor likes IDL... yes
checking if C preprocessor can read from stdin... yes
checking how to ignore standard include path... -I-
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... configure: error: cannot find output  
from flex; giving up

What could the problem be?
I have tried uninstall, clean and install libsdl, no luck.

Also, I suspect my port registry is corrupt, since I often get  
complaints about reigrered port confiltcts (e.g. file exists but does  
not belong to any registered ports). Can it be rebuilt?

Bengt Nilsson







More information about the macports-users mailing list