Building kst from svn errors ?

View: New views
3 Messages — Rating Filter:   Alert me  

Building kst from svn errors ?

by Bugzilla from eric.estievenart@free.fr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I recently submitted a bug which was so promptly corrected
that I wanted to test it, so compiling from svn was needed.

I tried to follow the instructions from
http://kst.kde.org/download.html
And checked out the 1.9 dev branch from
svn://anonsvn.kde.org/home/kde/branches/extragear/kde3/graphics/kst

Of course It missed the makefile.cvs, and after a bit of googling I
found
http://mail.kde.org/pipermail/kst/2005-June/006861.html
telling to checkout graphics and run a make -f Makefile.cvs

I eventually patched admin/cvs.sh:
-  automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* |
automake*1.10*)
+  automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* |
automake*1.10* | automake*1.11*)
To support building with am 1.11 which I have installed
(and even tried with am 1.10 & 1.7, without success)

I always get many (~100) warnings :
*** automake (GNU automake) 1.10.2 found.
...
acinclude.m4:3724: the serial number must appear before any macro definition
acinclude.m4:3769: the serial number must appear before any macro definition
...
configure.in:51: warning: AC_REQUIRE: `AC_PROG_CC' was expanded before
it was required
...
and finally an error:
------------
configure.in:480: warning: KDE_ENABLE_HIDDEN_VISIBILITY was called
before AC_PATH_QT_1_3
acinclude.m4:3419: KDE_ENABLE_HIDDEN_VISIBILITY is expanded from...
configure.in:480: the top level
configure:35773: error: possibly undefined macro: AH_CHECK_HEADERS
       If this token and others are legitimate, please use m4_pattern_allow.
       See the Autoconf documentation.
make[1]: *** [cvs] Error 1

I tried with various versions of autoconf, automake, but without
success (seeing some reports saying that autoconf 2.64 was not
compatible with kde 3.5, I tested 2.59, no more success).

Could you tell me what are the exact requirements to build kst ?
(Note that I am on debian unstable, but I also have kde 3.5 libs
installed, qt3 & 4 so there should not be any problems, except
fixing these horrors of autoconf & automake I particularly hate...

Cheers,
--
Eric




_______________________________________________
Kst mailing list
Kst@...
https://mail.kde.org/mailman/listinfo/kst

Re: Building kst from svn errors ?

by Bugzilla from arwalker@sumusltd.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Eric,

I'm using the following:

automake 1.10.1
autoconf 2.60

Hope that helps.

Thanks for the feedback on the download instructions.
I'll make some changes to try and render things a little less opaque.

Andrew

----- Original Message -----
From: "Eric Estievenart" <eric.estievenart@...>
To: <kst@...>
Sent: Friday, November 06, 2009 1:11 PM
Subject: [Kst] Building kst from svn errors ?


> Hello,
>
> I recently submitted a bug which was so promptly corrected
> that I wanted to test it, so compiling from svn was needed.
>
> I tried to follow the instructions from
> http://kst.kde.org/download.html
> And checked out the 1.9 dev branch from
> svn://anonsvn.kde.org/home/kde/branches/extragear/kde3/graphics/kst
>
> Of course It missed the makefile.cvs, and after a bit of googling I
> found
> http://mail.kde.org/pipermail/kst/2005-June/006861.html
> telling to checkout graphics and run a make -f Makefile.cvs
>
> I eventually patched admin/cvs.sh:
> -  automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* |
> automake*1.10*)
> +  automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* |
> automake*1.10* | automake*1.11*)
> To support building with am 1.11 which I have installed
> (and even tried with am 1.10 & 1.7, without success)
>
> I always get many (~100) warnings :
> *** automake (GNU automake) 1.10.2 found.
> ...
> acinclude.m4:3724: the serial number must appear before any macro
> definition
> acinclude.m4:3769: the serial number must appear before any macro
> definition
> ...
> configure.in:51: warning: AC_REQUIRE: `AC_PROG_CC' was expanded before
> it was required
> ...
> and finally an error:
> ------------
> configure.in:480: warning: KDE_ENABLE_HIDDEN_VISIBILITY was called
> before AC_PATH_QT_1_3
> acinclude.m4:3419: KDE_ENABLE_HIDDEN_VISIBILITY is expanded from...
> configure.in:480: the top level
> configure:35773: error: possibly undefined macro: AH_CHECK_HEADERS
>       If this token and others are legitimate, please use
> m4_pattern_allow.
>       See the Autoconf documentation.
> make[1]: *** [cvs] Error 1
>
> I tried with various versions of autoconf, automake, but without
> success (seeing some reports saying that autoconf 2.64 was not
> compatible with kde 3.5, I tested 2.59, no more success).
>
> Could you tell me what are the exact requirements to build kst ?
> (Note that I am on debian unstable, but I also have kde 3.5 libs
> installed, qt3 & 4 so there should not be any problems, except
> fixing these horrors of autoconf & automake I particularly hate...
>
> Cheers,
> --
> Eric
>
>
>
>
> _______________________________________________
> Kst mailing list
> Kst@...
> https://mail.kde.org/mailman/listinfo/kst
>
>
> _______________________________________________________
> Unlimited Disk, Data Transfer, PHP/MySQL Domain Hosting
>              http://www.doteasy.com 


_______________________________________________
Kst mailing list
Kst@...
https://mail.kde.org/mailman/listinfo/kst

Parent Message unknown Re: Building kst from svn errors ?

by Bugzilla from eric.estievenart@free.fr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 > Hi Eric,
 >
 > I'm using the following:
 > automake 1.10.1
 > autoconf 2.60
 >
 > Hope that helps.
 >
 > Thanks for the feedback on the download instructions.
 > I'll make some changes to try and render things a little less opaque.

Thanks, the issue was autoconf 2.64.

So bad that the admin/cvs.sh did not warn on autoconf2.64,
which seems known to be incompatible with kde 3.5 libs as
described in:
http://trac.macports.org/ticket/20513

Now it's building with ac 2.59 and automake 1.9.

---- for debian (unstable) users -----
install autoconf 2.59 and automake 1.9
update alternatives automake=> automake 1.9
have symlinks for example in usr/local/bin
pointing to autoconf tools:
$ for f in autoconf autoupdate ifnames autoscan autoheader autoreconf
autom4te; do ln -sf /usr/bin/${f}2.59 /usr/local/bin/$f; done

(Note that this is not straightforward, so a bug was logged:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554960)
--------------------

Cheers

_______________________________________________
Kst mailing list
Kst@...
https://mail.kde.org/mailman/listinfo/kst