Date: Thu, 4 Mar 2004 07:38:35 +0200 From: Andy Fawcett <andy@athame.co.uk> To: freebsd-ports@freebsd.org, frank.liebelt@acst.de Cc: Markus Brueffer <markus@brueffer.de> Subject: Re: FreeBSD Port: kdevelop-3.0.0 Message-ID: <200403040738.36004.andy@athame.co.uk> In-Reply-To: <200403040128.45822.info@acst.de> References: <200403031031.16249.info@acst.de> <200403032247.51423.andy@athame.co.uk> <200403040128.45822.info@acst.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 04 March 2004 02:28, Frank wrote: > > save the attached shar out > > > > cd /usr/ports/devel/kdevelop > > sh <path/to/shar> > > make > > make deinstall > > make reinstall > > make clean :) > > > > run kdevelop > > create a brand new project > > try to build it. > > > > I've tested this here locally, with a simple KDE project, and it > > detects autofuck tools correctly, even if I have several versions > > of each installed, including older than required. > > > > Please, give me feedback, kde@ would really like to get this in the > > next release of kdevelop. > > > > The projects it creates should be portable to other unix systems > > too. I'd like feedback on that too, if possible. > > Hi! > > thanks for this quick reply but it didn't work. > I did the steps you wrote and after clicking Run automake & friends > > **** YOU'RE USING automake (GNU automake) 1.5. > **** KDE requires automake 1.6.1 or newer > *gmake[1]: *** [cvs] Error 1 > > The script points to /usr/local/bin/automake , that is version 1.5 > After i deleted /usr/local/bin/automake i created a symlink automake > -> /usr/local/bin/automake17 and tryed again. > > barilium:/usr/local/bin> cp automake automake15 > barilium:/usr/local/bin> rm automake > barilium:/usr/local/bin> ln > -s /usr/local/bin/automake17 /usr/local/bin/automake Was this for an already existing project? If so, it won't/can't work, because the autofsck detection script is written at project creation time. You don't need ANY of the symlinks suggested by Markus with the system now, they can all be removed. It should just work with standard ports versions of automake17/autoconf257, and even with other versions installed too. > Result: (after a fresh new project) > > cd "/home/frank/Developer/ttt" && WANT_AUTOCONF_2_5="1" > WANT_AUTOMAKE_1_6="1" gmake -f Makefile.cvs > *This Makefile is only for the CVS repository > *This will be deleted before making the distribution > * > **** Creating acinclude.m4 > **** Creating list of subdirectories > **** Creating configure.in > **** Creating aclocal.m4 > **** Creating configure > *configure.in:44: warning: do not use m4_patsubst: use patsubst or > m4_bpatsubst > *configure.in:70: warning: do not use m4_regexp: use regexp or > m4_bregexp **** Creating config.h template > *autoheader: `config.h.in' is created > **** Creating Makefile templates > *configure.in:44: warning: do not use m4_patsubst: use patsubst or > m4_bpatsubst > *configure.in:70: warning: do not use m4_regexp: use regexp or > m4_bregexp *configure.in:39: your implementation of AM_INIT_AUTOMAKE > comes from an *configure.in:39: old Automake version. You should > recreate aclocal.m4 *configure.in:39: with aclocal and run automake > again. > */usr/local/share/automake17/am/depend2.am: am__fastdepCXX does not > appear in AM_CONDITIONAL > *gmake[1]: *** [cvs] Error 1 > *gmake: *** [all] Error 2 > **** Exited with status: 2 *** That's because when you made the symlink for automake17 -> automake, you forgot to do the same for aclocal17 -> aclocal Please, remove all the symlinks you created to hack around the system, or better still reinstall your automake(s)/autoconf(s), and try to create a new project again. Incidentally, older projects can be updated to work by just copying one file from a newer project. it's <projectdir>/admin/detect-autoconf.sh Cheers, Andy -- Andy Fawcett | andy@athame.co.uk | tap@kde.org "In an open world without walls and fences, | tap@lspace.org we wouldn't need Windows and Gates." -- anon | tap@fruitsalad.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403040738.36004.andy>