Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't compile qt-project (kdevelop)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Chemtux
n00b
n00b


Joined: 10 Apr 2002
Posts: 22
Location: The Netherlands

PostPosted: Fri Aug 16, 2002 1:22 pm    Post subject: Can't compile qt-project (kdevelop) Reply with quote

I tried to start a new qt-mdi project but it complains about errors in configure.in
When in kdevelop and I try to build the project or run it, it complains about not having a make file and suggests me to run Build->Configure or Check settings in Project->options->MakeOptions!
When i do the Build->configure i get the following error's

Quote:

This Makefile is only for the CVS repository
This will be deleted before making the distribution
*** Creating acinclude.m4
*** Creating aclocal.m4
*** Creating configure
configure.in:26: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst
configure.in:62: error: m4_popdef: undefined macro: AC_Dest
../autoconf/status.m4:831: AC_CONFIG_FILES is expanded from...
configure.in:62: the top level
make[1]: *** [cvs] Error 1
make: *** [all] Error 2
*** mislukt ***


mislukt=failed

So does anybody have an idea what's up and how to correct this?
_________________
Nope
Back to top
View user's profile Send private message
steblublu
n00b
n00b


Joined: 12 Jul 2002
Posts: 49
Location: montreal, canada

PostPosted: Fri Aug 16, 2002 8:12 pm    Post subject: Re: Can't compile qt-project (kdevelop) Reply with quote

Chemtux wrote:

configure.in:62: error: m4_popdef: undefined macro: AC_Dest
../autoconf/status.m4:831: AC_CONFIG_FILES is expanded from...
configure.in:62: the top level
make[1]: *** [cvs] Error 1
make: *** [all] Error 2
*** mislukt ***


this looks like a problem with autoconf. make sure you have the latest version of autoconf and automake. then try again.

steb

.
Back to top
View user's profile Send private message
Chemtux
n00b
n00b


Joined: 10 Apr 2002
Posts: 22
Location: The Netherlands

PostPosted: Fri Aug 16, 2002 9:33 pm    Post subject: Reply with quote

Hi, thanks for your reply, but i have installed the latest ebuild's and i even changed the env var's to point to the newest version, because else just autoconf 2.13 is used, but it still won't work and get similar error's.
_________________
Nope
Back to top
View user's profile Send private message
numerobis
n00b
n00b


Joined: 16 Aug 2002
Posts: 3

PostPosted: Fri Aug 16, 2002 10:47 pm    Post subject: Reply with quote

I do have the same problem since I run kdevelop with gentoo. I would be thankfull if anybody could point to a solution.
I also have the latest version of autoTOOLS and I did try using different versions. but all failed.

Chemtux wrote:
Hi, thanks for your reply, but i have installed the latest ebuild's and i even changed the env var's to point to the newest version, because else just autoconf 2.13 is used, but it still won't work and get similar error's.
Back to top
View user's profile Send private message
steblublu
n00b
n00b


Joined: 12 Jul 2002
Posts: 49
Location: montreal, canada

PostPosted: Sat Aug 17, 2002 2:12 am    Post subject: Reply with quote

open the "configure.in" file in nano or another editor. look for a line that starts with "AC_CONFIG_FILES".

make sure that it doesnt include any offending strings... such as "dnl".

if it does, you will have to split it up using quotes.

example:
if you have somthing like this:
AC_CONFIG_FILES(myproj/inc/find-dnl.sh, chmod +x myproj/inc/find-dnl.sh)

you will need to change it to read:
AC_CONFIG_FILES(myproj/inc/find-d""nl.sh, chmod +x myproj/inc/find-d""nl.sh)



.
Back to top
View user's profile Send private message
numerobis
n00b
n00b


Joined: 16 Aug 2002
Posts: 3

PostPosted: Sat Aug 17, 2002 10:26 am    Post subject: Reply with quote

thank you very much for your quick answer, which makes me hope to get a solution to this long holding problem of mine.
I didn't really understand what this means
you will need to change it to read:
AC_CONFIG_FILES(myproj/inc/find-d""nl.sh, chmod +x myproj/inc/find-d""nl.sh)
What does it mean? What do I chance since I do not see really sence in doing this. I would be thankfull if you could explain me what I need to do.

here is the output-message I get when I say autoconf/automake

This Makefile is only for the CVS repository
This will be deleted before making the distribution
*** Creating acinclude.m4
*** Creating aclocal.m4
*** Creating configure
configure.in:26: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst
configure.in:62: error: m4_popdef: undefined macro: AC_Dest
../autoconf/status.m4:831: AC_CONFIG_FILES is expanded from...
configure.in:62: the top level
make[1]: *** [cvs] Error 1
make: *** [all] Error 2
*** failed ***
Back to top
View user's profile Send private message
numerobis
n00b
n00b


Joined: 16 Aug 2002
Posts: 3

PostPosted: Sat Aug 17, 2002 10:42 am    Post subject: Reply with quote

here I would like to post you my configure.in
as you can see there is no line with AC_CONFIG_FILES
but the output complains about this line
../autoconf/status.m4:831: AC_CONFIG_FILES is expanded from...

here is my configure.in file:
dnl This file is part of the KDE libraries/packages
dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
dnl modified by Walter Tasin (tasin@kdevelop.org)
dnl for c++ console applications

dnl This file is free software; you can redistribute it and/or
dnl modify it under the terms of the GNU Library General Public
dnl License as published by the Free Software Foundation; either
dnl version 2 of the License, or (at your option) any later version.

dnl This library is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
dnl Library General Public License for more details.

dnl You should have received a copy of the GNU Library General Public License
dnl along with this library; see the file COPYING.LIB. If not, write to
dnl the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
dnl Boston, MA 02111-1307, USA.

# Original Author was Kalle@kde.org
# I lifted it in some mater. (Stephan Kulow)
# I used much code from Janos Farkas

dnl Process this file with autoconf to produce a configure script.

AC_INIT(acinclude.m4) dnl a source file from your sub dir

dnl This is so we can use kde-common
AC_CONFIG_AUX_DIR(admin)

dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
unset CDPATH

dnl Checking host/target/build systems, for make, install etc.
AC_CANONICAL_SYSTEM
dnl Perform program name transformation
AC_ARG_PROGRAM

dnl Automake doc recommends to do this only here. (Janos)
AM_INIT_AUTOMAKE(jerry,0.1)

dnl almost the same like KDE_SET_PEFIX but the path is /usr/local
dnl
unset CDPATH
dnl make /usr/local the default for the installation
AC_PREFIX_DEFAULT(/usr/local)

if test "x$prefix" = "xNONE"; then
prefix=$ac_default_prefix
ac_configure_args="$ac_configure_args --prefix $prefix"
fi
KDE_FAST_CONFIGURE
KDE_CONF_FILES

dnl without this order in this file, automake will be confused!
dnl
AM_CONFIG_HEADER(config.h)

dnl checks for programs.
dnl first check for c/c++ compilers
AC_CHECK_COMPILERS

dnl CXXFLAGS="$NOOPT_CXXFLAGS" dnl __kdevelop[noopt]__
dnl CFLAGS="$NOOPT_CFLAGS" dnl __kdevelop[noopt]__
dnl CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS" dnl __kdevelop[exc]__

dnl create only shared libtool-libraries
AC_ENABLE_SHARED(yes)

dnl set the following to yes, if you want to create static
dnl libtool-libraries, too.
AC_ENABLE_STATIC(no)

dnl create a working libtool-script
KDE_PROG_LIBTOOL

dnl activate the next macro call for DLOPEN tests and setting LIBDL
dnl (n.b. KDE_MISC_TESTS does the same to you, so use either this or the next one)
dnl KDE_CHECK_DLOPEN

dnl activate the next macro call for some additional tests
dnl (compat, crypt, socket, nsl, dlopen, ...)
dnl KDE_MISC_TESTS dnl __kdevelop__

dnl KDE_NEED_FLEX dnl __kdevelop__
dnl AC_PROG_YACC dnl __kdevelop__

KDE_CHECK_EXTRA_LIBS
all_libraries="$all_libraries $USER_LDFLAGS"
all_includes="$all_includes $USER_INCLUDES"
AC_SUBST(all_includes)
AC_SUBST(all_libraries)

AC_SUBST(AUTODIRS)

KDE_CREATE_SUBDIRSLIST
AC_OUTPUT( \
./Makefile \
jerry/Makefile \
jerry/cons_test/Makefile \
jerry/docs/Makefile \
jerry/docs/en/Makefile \
jerry/src/Makefile \
)


steblublu wrote:
open the "configure.in" file in nano or another editor. look for a line that starts with "AC_CONFIG_FILES".

make sure that it doesnt include any offending strings... such as "dnl".

if it does, you will have to split it up using quotes.

example:
if you have somthing like this:
AC_CONFIG_FILES(myproj/inc/find-dnl.sh, chmod +x myproj/inc/find-dnl.sh)

you will need to change it to read:
AC_CONFIG_FILES(myproj/inc/find-d""nl.sh, chmod +x myproj/inc/find-d""nl.sh)



.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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