Configure failure on Mac OS X Lion and Xcode 4.3.1

Galdino, Josafá josafa.galdino at avaty.com.br
Tue Mar 20 09:41:57 PDT 2012


Hi Michael,

The error continues because the error occurs while installing *coreutils* and
not *nawk*.

*--->  Computing dependencies for coreutils*
*--->  Dependencies to be installed: autoconf help2man p5.12-locale-gettext
perl5.12 gdbm m4 perl5 perl5 autoconf automake gmp libtool xz*
*--->  Configuring gdbm*
*Error: Target org.macports.configure returned: configure failure: shell
command failed (see log for details)*
*Error: Failed to install gdbm*


As you could see the error occur in *gdbm* installation that was dependence
for *coreutils* not *nawk*.

2012/3/20 Michael Parchet <mparchet at sunrise.ch>
>
> Le 20.03.12 15:43, Galdino, Josafá a écrit :
> Hello,
>
> You can do only sudo port install nawk to install dependence of it.
>
> To show the details, (like on linux), you can do
>
> sudo port -d install nawk.
>
> I hope I have been help you
>
> Best regards
>
> mparchet
>
> Hi there,
>
> I`m trying install dependencies for compile liblinphone on my Mac OS X
Lion with Xcode 4.3.1. When I run the following command:
>
> sudo port install nawk coreutils automake autoconf libtool intltool wget
pkgconfig cmake yasm doxygen
>
>
> I got this error message:
>
> --->  Cleaning nawk
> --->  Computing dependencies for coreutils
> --->  Dependencies to be installed: autoconf help2man
p5.12-locale-gettext perl5.12 gdbm m4 perl5 perl5 autoconf automake gmp
libtool xz
> --->  Configuring gdbm
> Error: Target org.macports.configure returned: configure failure: shell
command failed (see log for details)
> Error: Failed to install gdbm
> Log for gdbm is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_gdbm/gdbm/main.log
> Error: The following dependencies were not installed: autoconf help2man
p5.12-locale-gettext perl5.12 gdbm m4 perl5 perl5 autoconf automake gmp
libtool xz
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>
>
> And the content of log file:
>
> version:1
> :debug:clean Attempting ln -sf
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_gdbm/gdbm/work
/opt/local/var/macports/sources/
rsync.macports.org/release/tarballs/ports/databases/gdbm/work
> :debug:clean changing euid/egid - current euid: 0 - current egid: 0
> :debug:clean egid changed to: 501
> :debug:clean euid changed to: 502
> :debug:main Executing org.macports.main (gdbm)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.archivefetch (gdbm)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.fetch (gdbm)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.checksum (gdbm)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.extract (gdbm)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.patch (gdbm)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:configure configure phase started at Tue Mar 20 11:30:12 BRT 2012
> :notice:configure --->  Configuring gdbm
> :debug:configure Using compiler 'Mac OS X clang'
> :debug:configure Executing org.macports.configure (gdbm)
> :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe
-O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch
x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.7'
CXX='/usr/bin/clang++'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_gdbm/gdbm/work/.CC_PRINT_OPTIONS'
F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64'
OBJC='/usr/bin/clang' FCFLAGS='-pipe -O2 -m64' GI_SCANNER_DISABLE_CACHE='1'
INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch x86_64'
FFLAGS='-pipe -O2 -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang'
> :debug:configure Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_gdbm/gdbm/work/gdbm-1.10"
&& ./configure --prefix=/opt/local --mandir=/opt/local/share/man
--infodir=/opt/local/share/info'
> :debug:configure Executing command line:  cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_gdbm/gdbm/work/gdbm-1.10"
&& ./configure --prefix=/opt/local --mandir=/opt/local/share/man
--infodir=/opt/local/share/info
> :info:configure checking for a BSD-compatible install... /usr/bin/install
-c
> :info:configure checking whether build environment is sane... yes
> :info:configure checking for a thread-safe mkdir -p...
build-aux/install-sh -c -d
> :info:configure checking for gawk... no
> :info:configure checking for mawk... no
> :info:configure checking for nawk... nawk
> :info:configure checking whether make sets $(MAKE)... yes
> :info:configure checking for gcc... /usr/bin/clang
> :info:configure checking for C compiler default output file name... a.out
> :info:configure checking whether the C compiler works... yes
> :info:configure checking whether we are cross compiling... no
> :info:configure checking for suffix of executables...
> :info:configure checking for suffix of object files... o
> :info:configure checking whether we are using the GNU C compiler... yes
> :info:configure checking whether /usr/bin/clang accepts -g... yes
> :info:configure checking for /usr/bin/clang option to accept ISO C89...
none needed
> :info:configure checking for style of include used by make... GNU
> :info:configure checking dependency style of /usr/bin/clang... gcc3
> :info:configure checking how to run the C preprocessor... /usr/bin/clang
-E
> :info:configure checking for a BSD-compatible install... /usr/bin/install
-c
> :info:configure checking build system type... x86_64-apple-darwin11.3.0
> :info:configure checking host system type... x86_64-apple-darwin11.3.0
> :info:configure checking how to print strings... printf
> :info:configure checking for a sed that does not truncate output...
/usr/bin/sed
> :info:configure checking for grep that handles long lines and -e...
/usr/bin/grep
> :info:configure checking for egrep... /usr/bin/grep -E
> :info:configure checking for fgrep... /usr/bin/grep -F
> :info:configure checking for ld used by /usr/bin/clang... /usr/bin/ld
> :info:configure checking if the linker (/usr/bin/ld) is GNU ld... no
> :info:configure checking for BSD- or MS-compatible name lister (nm)...
/usr/bin/nm
> :info:configure checking the name lister (/usr/bin/nm) interface... BSD nm
> :info:configure checking whether ln -s works... yes
> :info:configure checking the maximum length of command line arguments...
196608
> :info:configure checking whether the shell understands some XSI
constructs... yes
> :info:configure checking whether the shell understands "+="... yes
> :info:configure checking for /usr/bin/ld option to reload object files...
-r
> :info:configure checking for objdump... no
> :info:configure checking how to recognize dependent libraries... pass_all
> :info:configure checking for ar... ar
> :info:configure checking for strip... strip
> :info:configure checking for ranlib... ranlib
> :info:configure checking command to parse /usr/bin/nm output from
/usr/bin/clang object... ok
> :info:configure checking for dsymutil... dsymutil
> :info:configure checking for nmedit... nmedit
> :info:configure checking for lipo... lipo
> :info:configure checking for otool... otool
> :info:configure checking for otool64... no
> :info:configure checking for -single_module linker flag... yes
> :info:configure checking for -exported_symbols_list linker flag... yes
> :info:configure checking for -force_load linker flag... yes
> :info:configure checking for ANSI C header files... yes
> :info:configure checking for sys/types.h... yes
> :info:configure checking for sys/stat.h... yes
> :info:configure checking for stdlib.h... yes
> :info:configure checking for string.h... yes
> :info:configure checking for memory.h... yes
> :info:configure checking for strings.h... yes
> :info:configure checking for inttypes.h... yes
> :info:configure checking for stdint.h... yes
> :info:configure checking for unistd.h... yes
> :info:configure checking for dlfcn.h... yes
> :info:configure checking for objdir... .libs
> :info:configure checking if /usr/bin/clang supports -fno-rtti
-fno-exceptions... yes
> :info:configure checking for /usr/bin/clang option to produce PIC...
-fno-common -DPIC
> :info:configure checking if /usr/bin/clang PIC flag -fno-common -DPIC
works... yes
> :info:configure checking if /usr/bin/clang static flag -static works... no
> :info:configure checking if /usr/bin/clang supports -c -o file.o... yes
> :info:configure checking if /usr/bin/clang supports -c -o file.o...
(cached) yes
> :info:configure checking whether the /usr/bin/clang linker (/usr/bin/ld)
supports shared libraries... yes
> :info:configure checking dynamic linker characteristics... darwin11.3.0
dyld
> :info:configure checking how to hardcode library paths into programs...
immediate
> :info:configure checking whether stripping libraries is possible... yes
> :info:configure checking if libtool supports shared libraries... yes
> :info:configure checking whether to build shared libraries... yes
> :info:configure checking whether to build static libraries... yes
> :info:configure checking for special C compiler options needed for large
files... no
> :info:configure checking for _FILE_OFFSET_BITS value needed for large
files... no
> :info:configure checking for an ANSI C-conforming const... yes
> :info:configure checking whether NLS is requested... yes
> :info:configure checking for msgfmt... /opt/local/bin/msgfmt
> :info:configure checking for gmsgfmt... /opt/local/bin/msgfmt
> :info:configure checking for xgettext... /opt/local/bin/xgettext
> :info:configure checking for msgmerge... /opt/local/bin/msgmerge
> :info:configure checking for ld used by GCC... /usr/bin/ld
> :info:configure checking if the linker (/usr/bin/ld) is GNU ld... no
> :info:configure checking for shared library run path origin... done
> :info:configure checking for CFPreferencesCopyAppValue... yes
> :info:configure checking for CFLocaleCopyCurrent... yes
> :info:configure checking for GNU gettext in libc... no
> :info:configure checking for iconv... yes
> :info:configure checking for working iconv... yes
> :info:configure checking how to link with libiconv... -liconv
> :info:configure checking for GNU gettext in libintl... yes
> :info:configure checking whether to use NLS... yes
> :info:configure checking where the gettext function comes from...
external libintl
> :info:configure checking how to link with libintl... -lintl -liconv -lc
 -Wl,-framework -Wl,CoreFoundation
> :info:configure checking for stdlib.h... (cached) yes
> :info:configure checking for string.h... (cached) yes
> :info:configure checking sys/file.h usability... yes
> :info:configure checking sys/file.h presence... yes
> :info:configure checking for sys/file.h... yes
> :info:configure checking for unistd.h... (cached) yes
> :info:configure checking fcntl.h usability... yes
> :info:configure checking fcntl.h presence... yes
> :info:configure checking for fcntl.h... yes
> :info:configure checking for sys/types.h... (cached) yes
> :info:configure checking for memory.h... (cached) yes
> :info:configure checking sys/termios.h usability... yes
> :info:configure checking sys/termios.h presence... yes
> :info:configure checking for sys/termios.h... yes
> :info:configure checking locale.h usability... yes
> :info:configure checking locale.h presence... yes
> :info:configure checking for locale.h... yes
> :info:configure checking for main in -ldbm... yes
> :info:configure checking for main in -lndbm... no
> :info:configure checking for rename... yes
> :info:configure checking for ftruncate... yes
> :info:configure checking for flock... yes
> :info:configure checking for lockf... yes
> :info:configure checking for fsync... yes
> :info:configure checking for setlocale... yes
> :info:configure checking for stdlib.h... (cached) yes
> :info:configure checking for unistd.h... (cached) yes
> :info:configure checking for getpagesize... yes
> :info:configure checking for working mmap... yes
> :info:configure checking for msync... yes
> :info:configure checking for off_t... yes
> :info:configure checking size of off_t... 8
> :info:configure checking for struct stat.st_blksize... yes
> :info:configure configure: creating ./config.status
> :info:configure config.status: creating tests/Makefile
> :info:configure nawk: illegal jump type 339
> :info:configure  input record number 16, file
> :info:configure  source line number 161
> :info:configure sed: stdout: Broken pipe
> :info:configure config.status: error: could not create tests/Makefile
> :info:configure shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_gdbm/gdbm/work/gdbm-1.10"
&& ./configure --prefix=/opt/local --mandir=/opt/local/share/man
--infodir=/opt/local/share/info " returned error 1
> :error:configure Target org.macports.configure returned: configure
failure: shell command failed (see log for details)
> :debug:configure Backtrace: configure failure: shell command failed (see
log for details)
>     while executing
> "$procedure $targetname"
> :info:configure Warning: the following items did not execute (for gdbm):
org.macports.activate org.macports.configure org.macports.build
org.macports.destroot org.macports.install
> :error:configure Failed to install gdbm
> :debug:configure Registry error: xz not registered as installed & active.
>     invoked from within
> "registry_active ${subport}"
>     invoked from within
> "$workername eval registry_active \${subport}"
> :notice:configure Log for gdbm is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_gdbm/gdbm/main.log
>
> When I tried install ports one at a time I got similar errors.
>
> Hope anyone could help.
>
> Regards,
>
> Josafá Filho
> Engenheiro de Software - Avaty! Tecnologia
>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>
>



--
Att,

Josafá Filho
Engenheiro de Software - Avaty! Tecnologia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120320/b42018f0/attachment.html>


More information about the macports-users mailing list