Re: [Gimp-developer] X stuck on to start of all libtool options...

2011-01-11 Thread David Gowers (kampu)
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 :)
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] X stuck on to start of all libtool options...

2011-01-09 Thread David Gowers (kampu)
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: 

Re: [Gimp-developer] X stuck on to start of all libtool options...

2011-01-09 Thread David Gowers (kampu)
'export ACLOCAL_FLAGS=-I\ /usr/share/aclocal'

before running the './autogen.sh --prefix=/usr',
solves the problem.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] X stuck on to start of all libtool options...

2011-01-09 Thread David Gowers (kampu)
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.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] X stuck on to start of all libtool options...

2011-01-09 Thread Liam R E Quin
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

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.gnome.org ... the barefoot typographer

___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] X stuck on to start of all libtool options...

2011-01-09 Thread David Gowers (kampu)
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.)
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer