After reading some bug reports of very similar problems at Gentoo and Ubuntu
bug trackers, I have been sneaking in some kdevelop template files. The file
incadmin.tar.gz located at /usr/share/apps/kdevappwizard/template-common
contains ltmain.sh.

In ltmain.sh can be read:

PROGRAM=ltmain.sh
PACKAGE=libtool
VERSION="1.5.24 Debian 1.5.24-2"
TIMESTAMP=" (1.1220.2.456 2007/06/24 02:25:32)"

The current libtool version in Debian Squeeze (testing) is 2.2.6a-4, so it
would confirm the template version mismatching.

2009/5/26 maxmalkav <maxmal...@gmail.com>

>
>
> 2009/5/26 Jeremy Lainé <jeremy.la...@m4x.org>
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Honestly this doesn't look like a kdevelop bug to me, but we'll see.
>
>
> Probably, but I am not able to isolate the problem. I have read about
> similar problems in Ubuntu forums and launchpad about libtool upgrade and
> kdevelop. You can check this one:
>
> https://bugs.launchpad.net/ubuntu/+source/libtool/+bug/285841
>
> Someone suggest: "This is not a valid libtool shell script, and is likely
> caused by mixing ltmain.sh and libtool.m4 from different versions of libtool
> (1.5 and 2.2)". I don't know if it is a valid clue.
>
> Does the build fail in the same way if you run "make" from the command line
>> in your
>> project build directory (probably "debug" or something similar)?
>
>
> When I run "make" in the "debug" directory I get the same output:
>
> make  all-recursive
> make[1]: se ingresa al directorio
> `/home/max/codigo/robotica_kdevelop/debug'
> Making all in src
> make[2]: se ingresa al directorio
> `/home/max/codigo/robotica_kdevelop/debug/src'
> /bin/sh ../libtool --tag=CXX   --mode=link g++  -O0 -g3   -lplayerc++ -o
> robotica_kdevelop robotica_kdevelop.o
> ../libtool: line 835: X--tag=CXX: command not found
> ../libtool: line 868: libtool: ignoring unknown tag : command not found
> ../libtool: line 835: X--mode=link: command not found
> ../libtool: line 1002: *** Warning: inferring the mode of operation is
> deprecated.: command not found
> ../libtool: line 1003: *** Future versions of Libtool will require
> --mode=MODE be specified.: command not found
> gcc: no input files
> gcc: no input files
> gcc: no input files
> gcc: no input files
> ../libtool: line 2240: X-O0: command not found
> ../libtool: line 2240: X-g3: command not found
> ../libtool: line 2409: Xrobotica_kdevelop: command not found
> X: user not authorized to run the X server, aborting.
> ../libtool: line 2421: Xrobotica_kdevelop: command not found
> ../libtool: line 2429: mkdir /.libs: No such file or directory
> mkdir: cannot create directory `/.libs': Permission denied
> make[2]: *** [robotica_kdevelop] Error 1
> make[2]: se sale del directorio
> `/home/max/codigo/robotica_kdevelop/debug/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: se sale del directorio `/home/max/codigo/robotica_kdevelop/debug'
> make: *** [all] Error 2
>
>
>
>>
>>
>> Have you tried removing the build directory and starting again since
>> upgrading libtool?
>
>
> Yes, I have tryed "Clean Project" and "Distclean" in the "Build" menu.
> After upgrading libtool, everything was working right until I cleaned the
> project and tryed to rebuild it from scratch. After Kdevelop launched the
> bunch of scripts needed to compile, the projects stopped compiling.
>
>
>>
>> Could you please provide a minimal test case, and the full output of the
>> compilation,
>> including the ./configure invocation?
>
>
> Of course. I have created this dummy project using kdevelop assistant:
> Project -> New Project
> I chose C++/Simple Hello world program.
>
> I selected "Build -> Build project, and then kdevelop suggested to run
> "automake & friends". I clicked "Run them".
> You can see the output in the attached file "compilation.log". I get the
> same kind of errors.
>
> I didn't change any of the default project properties, so I suppose
> ./configure invokation is the default one too.
>
> Thank you very much for your attention.
>
>
>>
>>
>> Jeremy
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.9 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iEYEARECAAYFAkobfsYACgkQ4mJJZqJp2SfhYwCgv83Ryghu4gW2nfy7ZZGyrvCs
>> 2HYAoIYXGlzH8EnCuVVLkeoaVfKT+WSF
>> =146B
>> -----END PGP SIGNATURE-----
>>
>
>


-- 
JuanLu

Reply via email to