"X" stuck on to start of all libtool options...
This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.
This is a read-only list on gimpusers.com so this discussion thread is read-only, too.
"X" stuck on to start of all libtool options... | David Gowers (kampu) | 09 Jan 07:40 |
"X" stuck on to start of all libtool options... | David Gowers (kampu) | 09 Jan 22:58 |
"X" stuck on to start of all libtool options... | David Gowers (kampu) | 09 Jan 23:04 |
"X" stuck on to start of all libtool options... | David Gowers (kampu) | 09 Jan 23:29 |
"X" stuck on to start of all libtool options... | Liam R E Quin | 10 Jan 00:14 |
"X" stuck on to start of all libtool options... | David Gowers (kampu) | 10 Jan 03:04 |
"X" stuck on to start of all libtool options... | David Gowers (kampu) | 10 Jan 07:40 |
"X" stuck on to start of all libtool options... | David Gowers (kampu) | 12 Jan 01:14 |
"X" stuck on to start of all libtool options...
Hi,
After running
'./autogen.sh --prefix=/usr' then './configure --prefix=/usr',
when I run 'make' on git HEAD (7057487...), the libtool
options/execution seem to get mangled in a strange way:
make all-recursive
make[1]: Entering directory `/home/ion/dihinai/st/xra/gimp'
Making all in m4macros
make[2]: Entering directory `/home/ion/dihinai/st/xra/gimp/m4macros'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ion/dihinai/st/xra/gimp/m4macros'
Making all in tools
make[2]: Entering directory `/home/ion/dihinai/st/xra/gimp/tools'
make[3]: Entering directory `/home/ion/dihinai/st/xra/gimp/tools'
/bin/sh ../libtool --tag=CC --mode=link gcc -Os -Wall
-Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes
-Wmissing-declarations -Winit-self -Wpointer-arith
-Wold-style-definition -Wmissing-format-attribute -Wformat-security
-o gimptool-2.0 gimptool.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0
-lm -lcairo -lpng14 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0
-lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
../libtool: line 869: X--tag=CC: command not found
../libtool: line 902: libtool: ignoring unknown tag : command not found
../libtool: line 869: X--mode=link: command not found
../libtool: line 1036: *** Warning: inferring the mode of operation is
deprecated.: command not found
../libtool: line 1037: *** Future versions of Libtool will require
--mode=MODE be specified.: command not found
../libtool: line 2281: X-Os: command not found
../libtool: line 2281: X-Wall: command not found
../libtool: line 2281: X-Wdeclaration-after-statement: command not found
../libtool: line 2281: X-Wmissing-prototypes: command not found
../libtool: line 2281: X-Wstrict-prototypes: command not found
../libtool: line 2281: X-Wmissing-declarations: command not found
../libtool: line 2281: X-Winit-self: command not found
../libtool: line 2281: X-Wpointer-arith: command not found
../libtool: line 2281: X-Wold-style-definition: command not found
../libtool: line 2281: X-Wmissing-format-attribute: command not found
../libtool: line 2281: X-Wformat-security: command not found
../libtool: line 2450: Xgimptool-2.0: command not found
Fatal server error: Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again.
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(it continues compiling if I instead run 'sudo make'. I expect the end result would be wrong or strange, though) ..
another strange message:
../libtool: line 5228: Xgcc "" "" "" "" "" "" "" "" "" "" "" -o @OUTPUT@ test-clipboard.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng14 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0: command not found
Has anyone else here encountered this ??
"X" stuck on to start of all libtool options...
Looks like this is the actual issue:
After removing 'configure', it's apparent that 'autogen.sh' doesn't regenerate it, instead giving ambiguous errors/warnings..
For anyone else's reference, this occurs with
autoconf 2.68
automake 1.9.6 + 1.11.1
glib 2.26.1
gtk 2.22.1
output log of './autogen.sh --prefix=/usr' follows:
WARNING: aclocal's directory is /usr/local/share/aclocal, but... no file /usr/local/share/aclocal/glib-2.0.m4 You may see fatal macro warnings below. If these files are installed in /some/dir, set the ACLOCAL_FLAGS environment variable to "-I /some/dir" or install /usr/local/share/aclocal/glib-2.0.m4.
[... (repeats x 4)]
aclocal:configure.ac:425: warning: macro `AM_GLIB_GNU_GETTEXT' not
found in library
aclocal:configure.ac:450: warning: macro `AM_PATH_GLIB_2_0' not found in library
aclocal:configure.ac:479: warning: macro `AM_PATH_GTK_2_0' not found in library
configure.ac:157: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
/usr/local/share/aclocal/libtool.m4:363: _LT_AC_SYS_LIBPATH_AIX is
expanded from...
/usr/local/share/aclocal/libtool.m4:5560: AC_LIBTOOL_PROG_LD_SHLIBS is
expanded from...
/usr/local/share/aclocal/libtool.m4:2783: _LT_AC_LANG_C_CONFIG is
expanded from...
/usr/local/share/aclocal/libtool.m4:2782: AC_LIBTOOL_LANG_C_CONFIG is
expanded from...
/usr/local/share/aclocal/libtool.m4:80: AC_LIBTOOL_SETUP is expanded from...
/usr/local/share/aclocal/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from...
/usr/local/share/aclocal/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
/usr/local/share/aclocal/libtool.m4:6548: AM_PROG_LIBTOOL is expanded from...
configure.ac:157: the top level
configure.ac:157: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
/usr/local/share/aclocal/libtool.m4:363: _LT_AC_SYS_LIBPATH_AIX is
expanded from...
/usr/local/share/aclocal/libtool.m4:2864: _LT_AC_LANG_CXX_CONFIG is
expanded from...
/usr/local/share/aclocal/libtool.m4:2863: AC_LIBTOOL_LANG_CXX_CONFIG
is expanded from...
/usr/local/share/aclocal/libtool.m4:1908: _LT_AC_TAGCONFIG is expanded from...
/usr/local/share/aclocal/libtool.m4:80: AC_LIBTOOL_SETUP is expanded from...
/usr/local/share/aclocal/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from...
/usr/local/share/aclocal/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
/usr/local/share/aclocal/libtool.m4:6548: AM_PROG_LIBTOOL is expanded from...
configure.ac:157: the top level
configure.ac:157: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
/usr/local/share/aclocal/libtool.m4:363: _LT_AC_SYS_LIBPATH_AIX is
expanded from...
/usr/local/share/aclocal/libtool.m4:5560: AC_LIBTOOL_PROG_LD_SHLIBS is
expanded from...
/usr/local/share/aclocal/libtool.m4:4177: _LT_AC_LANG_GCJ_CONFIG is
expanded from...
/usr/local/share/aclocal/libtool.m4:4176: AC_LIBTOOL_LANG_GCJ_CONFIG
is expanded from...
/usr/local/share/aclocal/libtool.m4:1908: _LT_AC_TAGCONFIG is expanded from...
/usr/local/share/aclocal/libtool.m4:80: AC_LIBTOOL_SETUP is expanded from...
/usr/local/share/aclocal/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from...
/usr/local/share/aclocal/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
/usr/local/share/aclocal/libtool.m4:6548: AM_PROG_LIBTOOL is expanded from...
configure.ac:157: the top level
configure.ac:157: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:369: _LT_AC_SYS_LIBPATH_AIX is expanded from...
aclocal.m4:5554: AC_LIBTOOL_PROG_LD_SHLIBS is expanded from...
aclocal.m4:2789: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:2788: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:86: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:66: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:31: AC_PROG_LIBTOOL is expanded from...
aclocal.m4:6542: AM_PROG_LIBTOOL is expanded from...
configure.ac:157: the top level
configure.ac:157: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:369: _LT_AC_SYS_LIBPATH_AIX is expanded from...
aclocal.m4:2866: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:2865: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:1914: _LT_AC_TAGCONFIG is expanded from...
aclocal.m4:86: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:66: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:31: AC_PROG_LIBTOOL is expanded from...
aclocal.m4:6542: AM_PROG_LIBTOOL is expanded from...
configure.ac:157: the top level
configure.ac:157: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:369: _LT_AC_SYS_LIBPATH_AIX is expanded from...
aclocal.m4:5554: AC_LIBTOOL_PROG_LD_SHLIBS is expanded from...
aclocal.m4:4175: _LT_AC_LANG_GCJ_CONFIG is expanded from...
aclocal.m4:4174: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
aclocal.m4:1914: _LT_AC_TAGCONFIG is expanded from...
aclocal.m4:86: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:66: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:31: AC_PROG_LIBTOOL is expanded from...
aclocal.m4:6542: AM_PROG_LIBTOOL is expanded from...
configure.ac:157: the top level
Useless use of /d modifier in transliteration operator at
/usr/local/share/automake-1.9/Automake/Wrap.pm line 60.
configure.ac:157: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:369: _LT_AC_SYS_LIBPATH_AIX is expanded from...
aclocal.m4:5554: AC_LIBTOOL_PROG_LD_SHLIBS is expanded from...
aclocal.m4:2789: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:2788: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:86: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:66: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:31: AC_PROG_LIBTOOL is expanded from...
aclocal.m4:6542: AM_PROG_LIBTOOL is expanded from...
configure.ac:157: the top level
configure.ac:157: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:369: _LT_AC_SYS_LIBPATH_AIX is expanded from...
aclocal.m4:2866: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:2865: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:1914: _LT_AC_TAGCONFIG is expanded from...
aclocal.m4:86: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:66: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:31: AC_PROG_LIBTOOL is expanded from...
aclocal.m4:6542: AM_PROG_LIBTOOL is expanded from...
configure.ac:157: the top level
configure.ac:157: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:369: _LT_AC_SYS_LIBPATH_AIX is expanded from...
aclocal.m4:5554: AC_LIBTOOL_PROG_LD_SHLIBS is expanded from...
aclocal.m4:4175: _LT_AC_LANG_GCJ_CONFIG is expanded from...
aclocal.m4:4174: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
aclocal.m4:1914: _LT_AC_TAGCONFIG is expanded from...
aclocal.m4:86: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:66: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:31: AC_PROG_LIBTOOL is expanded from...
aclocal.m4:6542: AM_PROG_LIBTOOL is expanded from...
configure.ac:157: the top level
gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL
devel-docs/app/Makefile.am:117: `gtk-doc.make' included from here
gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL
devel-docs/libgimp/Makefile.am:64: `gtk-doc.make' included from here
gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL
devel-docs/libgimpbase/Makefile.am:52: `gtk-doc.make' included from here
gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL
devel-docs/libgimpcolor/Makefile.am:46: `gtk-doc.make' included from here
gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL
devel-docs/libgimpconfig/Makefile.am:57: `gtk-doc.make' included from here
gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL
devel-docs/libgimpmath/Makefile.am:46: `gtk-doc.make' included from here
gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL
devel-docs/libgimpmodule/Makefile.am:53: `gtk-doc.make' included from here
gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL
devel-docs/libgimpthumb/Makefile.am:54: `gtk-doc.make' included from here
gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL
devel-docs/libgimpwidgets/Makefile.am:66: `gtk-doc.make' included from here
"X" stuck on to start of all libtool options...
'export ACLOCAL_FLAGS=-I\ /usr/share/aclocal'
before running the './autogen.sh --prefix=/usr', solves the problem.
"X" stuck on to start of all libtool options...
actually no, it only allows the autogen to complete successfully, silliness like:
/bin/sh ../libtool --tag=CC --mode=link gcc -Os -Wall
-Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes
-Wmissing-declarations -Winit-self -Wpointer-arith
-Wold-style-definition -Wmissing-format-attribute -Wformat-security
-o gimptool-2.0 gimptool.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0
-lm -lcairo -lpng14 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0
-lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
../libtool: line 869: X--tag=CC: command not found
../libtool: line 902: libtool: ignoring unknown tag : command not found
../libtool: line 869: X--mode=link: command not found
../libtool: line 1036: *** Warning: inferring the mode of operation is
deprecated.: command not found
../libtool: line 1037: *** Future versions of Libtool will require
--mode=MODE be specified.: command not found
../libtool: line 2281: X-Os: command not found
../libtool: line 2281: X-Wall: command not found
../libtool: line 2281: X-Wdeclaration-after-statement: command not found
../libtool: line 2281: X-Wmissing-prototypes: command not found
../libtool: line 2281: X-Wstrict-prototypes: command not found
../libtool: line 2281: X-Wmissing-declarations: command not found
../libtool: line 2281: X-Winit-self: command not found
../libtool: line 2281: X-Wpointer-arith: command not found
../libtool: line 2281: X-Wold-style-definition: command not found
../libtool: line 2281: X-Wmissing-format-attribute: command not found
../libtool: line 2281: X-Wformat-security: command not found
../libtool: line 2450: Xgimptool-2.0: command not found
Fatal server error: Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again.
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
still happens.
Haven't found a solution, yet.
"X" stuck on to start of all libtool options...
On Mon, 2011-01-10 at 09:59 +1030, David Gowers (kampu) wrote:
actually no, it only allows the autogen to complete successfully, silliness like:
[...]
../libtool: line 869: X--tag=CC: command not found
http://openmoko-public-mailinglists.1958.n2.nabble.com/quot-X-tag-CC-command-not-found-quot-td1577166.html
suggests, [[
It turns out that this
happens if the directory containing the sources already has files
generated by previous build processes.
]]
and also a possible libtool version mismatch.
THey were on ubuntu, if you're on OSX it might be unrelated.
Liam
"X" stuck on to start of all libtool options...
On Mon, Jan 10, 2011 at 10:44 AM, Liam R E Quin wrote:
On Mon, 2011-01-10 at 09:59 +1030, David Gowers (kampu) wrote:
actually no, it only allows the autogen to complete successfully, silliness like:
[...]
../libtool: line 869: X--tag=CC: command not found
http://openmoko-public-mailinglists.1958.n2.nabble.com/quot-X-tag-CC-command-not-found-quot-td1577166.html suggests, [[
It turns out that this
happens if the directory containing the sources already has files generated by previous build processes. ]]
and also a possible libtool version mismatch.THey were on ubuntu, if you're on OSX it might be unrelated.
Thanks for that tip Liam, I've tried 'make clean;./autogen.sh
--prefix=/usr', it seems to make no difference, so I will look into
libtool..
(I'm running Arch Linux, FWIW)
libtool 2.4 is installed (since a few months ago). Gimp reports 1.5.26 (?)
I'm trying 2.2.10 now... running 'make clean;git clean
-xf;./autogen.sh --prefix=/usr'..
no, same problem as before.. I'll try reinstalling 1.5.26
"X" stuck on to start of all libtool options...
I've just tried compiling BABL, with similar results.
compiling GLib says, point blank,
You must have libtool >= 2.2 installed to compile GLib. Install the appropriate package for your distribution, or get the source tarball at http://ftp.gnu.org/gnu/libtool/
so, it looks like recent Arch Linux libtool setup is somehow FUBARed (In a way I can't fix by recompiling+installing the official source over the top.)
"X" stuck on to start of all libtool options...
Conclusion:
The issue was, I had somehow managed to install a copy of the various
autotools in /usr/local/
and they were being used instead of the ones in /usr/.
My solution was simply to delete those binaries. GIMP is now happily compiling :)