FreeBSD Port: kdevelop-3.0.0

Andy Fawcett andy at athame.co.uk
Wed Mar 3 21:38:31 PST 2004


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 at athame.co.uk
                                                 | tap at kde.org
"In an open world without walls and fences,      | tap at lspace.org
  we wouldn't need Windows and Gates."  -- anon  | tap at fruitsalad.org


More information about the freebsd-ports mailing list