Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kdevelop can't compile projects anymore
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Cocobo-1
Apprentice
Apprentice


Joined: 18 Dec 2003
Posts: 166
Location: Sweden

PostPosted: Thu Mar 17, 2005 2:20 pm    Post subject: kdevelop can't compile projects anymore Reply with quote

I've been using kdevelop for small projects without problem, but now it won't work. I'm trying to create a new projekt. I choose a hello world c++ projekt, give it a name, choose a custom license, choose no revision controll and I get a template projekt. I now try to compile my hello world program and kdevelop tells me "There is no Makefile in this directory". This is normal. I have never build it before. I tell it to "Run automake & friends and configure first". This is the output I get

Code:
cd '/home/cocobo/Programmering/db-cgi/dbview' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -f Makefile.cvs && mkdir '/home/cocobo/Programmering/db-cgi/dbview/debug' && cd '/home/cocobo/Programmering/db-cgi/dbview/debug' && CXXFLAGS="-O0 -g3" "/home/cocobo/Programmering/db-cgi/dbview/configure" --enable-debug=full && cd '/home/cocobo/Programmering/db-cgi/dbview/debug' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -k
aclocal
/usr/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS
/usr/share/aclocal/wxwin.m4:36: warning: underquoted definition of AM_OPTIONS_WXCONFIG
/usr/share/aclocal/wxwin.m4:59: warning: underquoted definition of AM_PATH_WXCONFIG
/usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
/usr/share/aclocal/pilot-link.m4:1: warning: underquoted definition of AC_PILOT_LINK_HOOK
/usr/share/aclocal/libreiser4.m4:14: warning: underquoted definition of AC_CHECK_LIBREISER4
/usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD
/usr/share/aclocal/libglade.m4:7: warning: underquoted definition of AM_PATH_LIBGLADE
/usr/share/aclocal/libgcrypt.m4:23: warning: underquoted definition of AM_PATH_LIBGCRYPT
/usr/share/aclocal/libfame.m4:6: warning: underquoted definition of AM_PATH_LIBFAME
/usr/share/aclocal/libast.m4:11: warning: underquoted definition of AST_CHECK_LIBAST
/usr/share/aclocal/libast.m4:72: warning: underquoted definition of AST_SIZE_TYPE
/usr/share/aclocal/libast.m4:89: warning: underquoted definition of AST_REGEXP_SUPPORT
/usr/share/aclocal/libast.m4:153: warning: underquoted definition of AST_X11_SUPPORT
/usr/share/aclocal/libast.m4:183: warning: underquoted definition of AST_IMLIB2_SUPPORT
/usr/share/aclocal/libast.m4:219: warning: underquoted definition of AST_MMX_SUPPORT
/usr/share/aclocal/libast.m4:243: warning: underquoted definition of AST_STD_CHECKS
/usr/share/aclocal/libast.m4:279: warning: underquoted definition of AST_PROG_CHECKS
/usr/share/aclocal/libast.m4:291: warning: underquoted definition of AST_VAR_CHECKS
/usr/share/aclocal/libast.m4:311: warning: underquoted definition of AST_HEADER_CHECKS
/usr/share/aclocal/libast.m4:318: warning: underquoted definition of AST_FUNC_CHECKS
/usr/share/aclocal/libast.m4:328: warning: underquoted definition of AST_TYPE_CHECKS
/usr/share/aclocal/libast.m4:339: warning: underquoted definition of AST_ARG_DEBUG
/usr/share/aclocal/libast.m4:360: warning: underquoted definition of AST_ARG_REGEXP
/usr/share/aclocal/libast.m4:368: warning: underquoted definition of AST_ARG_BACKQUOTE_EXEC
/usr/share/aclocal/libast.m4:391: warning: underquoted definition of AST_FLAGS
/usr/share/aclocal/libast.m4:403: warning: underquoted definition of AST_STATUS
/usr/share/aclocal/libast.m4:429: warning: underquoted definition of dps_snprintf_oflow
/usr/share/aclocal/libast.m4:466: warning: underquoted definition of dps_vsnprintf_oflow
/usr/share/aclocal/libast.m4:512: warning: underquoted definition of dps_symlink_open_bug
/usr/share/aclocal/libast.m4:586: warning: underquoted definition of dps_rlimit_nproc
/usr/share/aclocal/libast.m4:634: warning: underquoted definition of dps_rlimit_memlock
/usr/share/aclocal/libart.m4:11: warning: underquoted definition of AM_PATH_LIBART
/usr/share/aclocal/libaal.m4:14: warning: underquoted definition of AC_CHECK_LIBAAL
/usr/share/aclocal/libOggFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBOGGFLAC
/usr/share/aclocal/libOggFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBOGGFLACPP
/usr/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL
/usr/share/aclocal/libFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBFLAC
/usr/share/aclocal/libFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBFLACPP
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB
/usr/share/aclocal/gtkglext-1.0.m4:11: warning: underquoted definition of AM_PATH_GTKGLEXT_1_0
/usr/share/aclocal/gtkglext-1.0.m4:218: warning: underquoted definition of AC_GTKGLEXT_SUPPORTS_MULTIHEAD
/usr/share/aclocal/gtkgl.m4:4: warning: underquoted definition of AM_PATH_GTKGL
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/gpgme3.m4:9: warning: underquoted definition of AM_PATH_GPGME
/usr/share/aclocal/gnet.m4:9: warning: underquoted definition of AM_PATH_GNET
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB
/usr/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT
autoheader
automake
autoconf
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... no

*** Gentoo sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.10, ltmain.sh = 1.5a) ***

Please run:

libtoolize --copy --force

if appropriate, please contact the maintainer of this
package (or your distribution) for help.

*** Exited with status: 1 ***


Is there something broken with my gentoo or is there a problem with kdevelop. This used to work before. What is this libtoolize it tells me to run. All other configure scripts work
_________________
Professor: "Good news, everyone. Several years ago I tried to log onto AOL, and
it just went through. Whee! We're online."
Back to top
View user's profile Send private message
<coyote>
n00b
n00b


Joined: 13 Jun 2004
Posts: 6
Location: Slovenia

PostPosted: Thu Mar 17, 2005 2:54 pm    Post subject: Reply with quote

Perhaps this will help you: https://forums.gentoo.org/viewtopic-t-307504-highlight-kdevelop.html
Back to top
View user's profile Send private message
Cocobo-1
Apprentice
Apprentice


Joined: 18 Dec 2003
Posts: 166
Location: Sweden

PostPosted: Thu Mar 17, 2005 4:36 pm    Post subject: Reply with quote

I did as the configure script said and ran libtoolize --copy --force in the folder of my src. Now it works fine.
_________________
Professor: "Good news, everyone. Several years ago I tried to log onto AOL, and
it just went through. Whee! We're online."
Back to top
View user's profile Send private message
linuxgeek
n00b
n00b


Joined: 02 Aug 2003
Posts: 46

PostPosted: Sat Apr 23, 2005 4:26 am    Post subject: Reply with quote

I was able to get this working by just adding an alias

alias libtoolize="libtoolize --copy --force "

Actually this was a coincidence... When I tried the
alias it set the environment then I was able to compile
the default Hello World app.
_________________
Where there is a will there is a way!
Seek enlightenment!!!
Back to top
View user's profile Send private message
shadowrm
n00b
n00b


Joined: 23 Feb 2005
Posts: 30

PostPosted: Fri May 06, 2005 5:16 am    Post subject: Reply with quote

i'm recieving the same error on compile, unfortunatly libtoolize nor downgrading actually does anything for me =( anyone have a solution?
Back to top
View user's profile Send private message
oldefortran
l33t
l33t


Joined: 28 Feb 2004
Posts: 652

PostPosted: Sat May 07, 2005 7:59 am    Post subject: Reply with quote

I get

Code:
libtoolize --copy --force
libtoolize: `configure.ac' does not exist
Try `libtoolize --help' for more information.


When I try to run libtoolize.

What to do?
Back to top
View user's profile Send private message
manucorrales
Apprentice
Apprentice


Joined: 15 May 2004
Posts: 275

PostPosted: Sun May 08, 2005 8:34 pm    Post subject: Reply with quote

Same problem of oldefortran here.

Anjuta works for me.

Solutions??
Back to top
View user's profile Send private message
Karsten from Berlin
Guru
Guru


Joined: 28 Feb 2004
Posts: 446
Location: Berlin/Germany

PostPosted: Mon May 09, 2005 9:34 am    Post subject: Reply with quote

You must be in the project directory of your C/C++-project to run the command. That's where the file '<project name>.kdevelop' is located.
_________________
Heaven: The police are British, the chefs Italian, the mechanics German, the lovers French and it's organized by the Swiss.
Hell: The police are German, the chefs British, the mechanics French, the lovers Swiss and it's organized by the Italians.
Back to top
View user's profile Send private message
Pseud
Apprentice
Apprentice


Joined: 19 Mar 2004
Posts: 273
Location: Bangalore, India

PostPosted: Fri Jul 29, 2005 3:41 pm    Post subject: Reply with quote

Cocobo-1,

Some of us in another thread are facing the same problem that you seem to have had more than a month ago.
The fix mentioned in this thread works on a per-project basis (libtoolize --copy --force needs to be run in every project directory), which is annoying. Have you managed to find out (or come across) a way of fixing this problem once and for all?

TIA!
_________________
eschew obfuscation
Back to top
View user's profile Send private message
andromexus
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 82
Location: Switzerland

PostPosted: Sat Jul 30, 2005 2:12 pm    Post subject: Reply with quote

same here, 1st time since a year I use kdevelop again, and it's exactly now with a broken libtool? :twisted:
_________________
time is an illusion - break the clock!
Back to top
View user's profile Send private message
andromexus
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 82
Location: Switzerland

PostPosted: Tue Sep 06, 2005 7:19 pm    Post subject: Reply with quote

Problem still persists also in kde 3.4.2 you still have to run libtoolize --copy --force once to be able to compile your program afterwards...
_________________
time is an illusion - break the clock!
Back to top
View user's profile Send private message
mlybarger
Guru
Guru


Joined: 04 Sep 2002
Posts: 463

PostPosted: Fri Feb 03, 2006 11:44 am    Post subject: Reply with quote

i've got problems compiling projects with kdevelop. i figured that c++ development was just shunned on gentoo? netbeans and eclipse works fine for me. at any rate, here's what's in the messages tab when i try to build my project and it runs auto make and friends:
Code:

cd '/home/mark/blah' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -f Makefile.cvs && cd '/home/mark/blah/debug' && CXXFLAGS="-O0 -g3" "/home/mark/blah/configure" --enable-debug=full && cd '/home/mark/blah/debug' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -k
installing -c
compiling yes (gcc)
compiling yes (g++)
*** Exited with status: 1 ***


i then ran the suggested libtoolize --copy --force. in kdevelop, i still get the same output. but from command line if i run ./configure, i get the following output:
Code:

checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for perl... /usr/bin/perl
checking for Qt... libraries /usr/qt/3/lib, headers /usr/qt/3/include using -mt
checking for moc... /usr/qt/3/bin/moc
checking for uic... /usr/qt/3/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!


it seems unable to find kde for some reason. any ideas on how i can get this working?
Back to top
View user's profile Send private message
ibbumpin
n00b
n00b


Joined: 05 Mar 2005
Posts: 22
Location: Chicago

PostPosted: Sat Apr 08, 2006 9:44 pm    Post subject: I get same error compiling sources Reply with quote

mark_lybarger,

I get the same error when trying to compile source from other projects....have you found a fix for it?


Matt
_________________
"I don't wanna large farva! I want a God damn liter'a'cola!" - R. Farva
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 9266

PostPosted: Fri Nov 02, 2007 3:59 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads, refer to topic "Libtool.m4 and ltmain.sh Problems". This problem has been reported in the KDE bug tracking system, where it has been marked as an invalid bug, though it is also mentioned in the kdevelop FAQ.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum