You are not logged in.

soul_rebel

Beginner

  • "soul_rebel" started this thread

Posts: 21

Location: Germany

  • Send private message

1

Wednesday, June 1st 2005, 4:59pm

automake and autoconf... how to get rid off?

i developed a project in kdevelop and i realised when trying to install the app manually i always need to

Source code

1
WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -f Makefile.cvs
before i can configure... this is a) rather unhandy and its not the standard ./configure + gmake + gmake install but most importantly b) it wont work on platforms that dont have (the apropriate versions of) the tools installed.
other than being a new dependancy this is especially uncool considering that openbsd (a target platform of the project) does not have automake 1.6 in its ports tree AT ALL...
i would be grateful if someone told me how to remove this dependancy or at least create compatibility with older versions of automake (and autoconf).
thanks
"As long as there is private property and while money is the standard of all things, I do not think that a nation can be governed either justly or happily..." - Raphael Hythloday in Utopia by Thomas More, 15th Century

2

Thursday, June 2nd 2005, 6:59am

RE: automake and autoconf... how to get rid off?

Does Makefile.cvs not simple create a configure-script? I think the way it should be is that a configure script is genenerated on your computer and that that file is distributed with your package. That way, no dependency for automake and autoconf is neccesairy.

soul_rebel

Beginner

  • "soul_rebel" started this thread

Posts: 21

Location: Germany

  • Send private message

3

Thursday, June 2nd 2005, 4:42pm

hm seems like he does need them later...
i did do the gmake Makefile.cvs on mz freebsd machine, but when i do gmake after a succesful configure on mz openbsd box i get:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
bash-3.00$ gmake
cd . && rm -f configure
cd . && gmake -f admin/Makefile.common configure
gmake[1]: Entering directory `/home/hannes/kports'
configure.in:39: error: Autoconf version 2.58 or higher is required

aclocal.m4:446: AM_INIT_AUTOMAKE is expanded from...

configure.in:39: the top level

autom4te-2.54: /usr/bin/m4 failed with exit status: 1
gmake[1]: *** [configure] Error 1
gmake[1]: Leaving directory `/home/hannes/kports'
gmake: *** [configure] Error 2

btw autoconf 2.58 is isntalled on the obsd box
thanks for zour help
"As long as there is private property and while money is the standard of all things, I do not think that a nation can be governed either justly or happily..." - Raphael Hythloday in Utopia by Thomas More, 15th Century

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

4

Friday, June 3rd 2005, 12:00pm

Maybe it sets that as a minimum requirement somewhere.

Check the main Makefile.am or the files in admin/ for AUTOMAKE or something similar.

Cheers,
_
Qt/KDE Developer
Debian User

soul_rebel

Beginner

  • "soul_rebel" started this thread

Posts: 21

Location: Germany

  • Send private message

5

Friday, June 3rd 2005, 8:17pm

argh.... after a long while i figured out that the program just needs automake and autoconf... i even made it to get automake-1.6.2 working on obsd ...just to realise that my program dpends on kde3.4 afterall (kde3.4 is not yet available on obsd X( )
thanks fopr the help anyway
"As long as there is private property and while money is the standard of all things, I do not think that a nation can be governed either justly or happily..." - Raphael Hythloday in Utopia by Thomas More, 15th Century