Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#21133 closed defect (worksforme)

xorg-libX11 1.2.2 Configure error - build failure

Reported by: peimei@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: xorg-libX11

Description

--->  Configuring xorg-libX11
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_xorg-libX11/work/libX11-1.2.2" && ./configure --prefix=/opt/local --without-xcb " returned error 2
Command output: checking for style of include used by make... GNU
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 dependency style of /usr/bin/gcc-4.0... gcc3
checking how to run the C preprocessor... /usr/bin/gcc-4.0 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
./configure: line 4718: syntax error near unexpected token `build_libtool_libs,'
./configure: line 4718: `    _LT_DECL(build_libtool_libs, enable_shared, 0,'

Error: Unable to upgrade port: 1

Change History (5)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to jeremyhu@…

comment:2 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: worksforme
Status: newclosed

My guess is that you have libtool1 installed. Do:

sudo port -v -f uninstall libtool1

comment:3 Changed 15 years ago by peimei@…

Yes, I do have libtool1. And what's wrong with it?

comment:4 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

It conflicts with libtool2 and causes the issue you're seeing with ports that re-run aclocal.

Uninstall libtool1, and you'll be fine.

comment:5 Changed 15 years ago by peimei@…

Ok, thank you. It now works for me.

Note: See TracTickets for help on using tickets.