Re: Problem with kdenetwork build for unstable

2002-12-08 Thread Scott James Remnant
On Sat, 2002-12-07 at 20:39, Martin Schulze wrote:

 Guillem Jover wrote:
 
  Uhh, admin/Makefile.common is checking for '#MIN_CONFIG' in the first two
  lines to include there admin/configure.in.min.
 
 I'd love to have it work but now the build complains about:
 
 make[1]: Entering directory `/tmp/joey/kdenetwork-2.2.2'
 *** Creating acinclude.m4
 make[2]: Entering directory `/tmp/joey/kdenetwork-2.2.2'
 make[2]: Leaving directory `/tmp/joey/kdenetwork-2.2.2'
 !!! If you get recursion errors from autoconf, it is advisable to set the
 environment variable M4 to something including --nesting-limit=500
 *** Creating list of subdirectories
 make[2]: Entering directory `/tmp/joey/kdenetwork-2.2.2'
 make[3]: Entering directory `/tmp/joey/kdenetwork-2.2.2'
 make[3]: Leaving directory `/tmp/joey/kdenetwork-2.2.2'
 make[2]: Leaving directory `/tmp/joey/kdenetwork-2.2.2'
 *** Creating configure.in
 make[2]: Entering directory `/tmp/joey/kdenetwork-2.2.2'
 make[3]: Entering directory `/tmp/joey/kdenetwork-2.2.2'
 make[3]: Leaving directory `/tmp/joey/kdenetwork-2.2.2'
 make[2]: Leaving directory `/tmp/joey/kdenetwork-2.2.2'
 *** Creating aclocal.m4
 *** Creating configure
 autoconf: Undefined macros:
 configure.in:22:AC_LANG_PUSH(C)
 configure.in:24:AC_LANG_POP
 make[1]: *** [cvs] Error 1
 make[1]: Leaving directory `/tmp/joey/kdenetwork-2.2.2'
 make: *** [build-stamp] Error 2
 
You're using autoconf2.13 aren't you -- autoconf2.50 doesn't have that
Undefined macros output.

autoconf2.13 doesn't have the AC_LANG_PUSH or AC_LANG_POP macros.

Scott
-- 
Scott James Remnant Have you ever, ever felt like this?  Had strange
http://netsplit.com/  things happen?  Are you going round the twist?


signature.asc
Description: This is a digitally signed message part


Re: Problem with kdenetwork build for unstable

2002-12-07 Thread Guillem Jover
On Thu, Dec 05, 2002 at 09:40:56AM +0100, Martin Schulze wrote:
 I have problems fixing kdenetwork for unstable.  With gcc 3
 get/setenv aren't detected through C but through C++ which doesn't
 work.  That's a bug in automake.  It should be fixed with a patch
 in the following source:
 
 http://master.debian.org/~joey/NMU/kdenetwork_2.2.2-14.21.diff.gz
 http://master.debian.org/~joey/NMU/kdenetwork_2.2.2-14.21.dsc
 http://ftp.debian.org/debian/pool/main/k/kdenetwork/kdenetwork_2.2.2.orig.tar.gz
 
 but that doesn't compile.  Ray told me that the first line of configure.in.in
 needs to be AC_INIT(1) but that also doesn't get us far.

Uhh, admin/Makefile.common is checking for '#MIN_CONFIG' in the first two
lines to include there admin/configure.in.min.

regards,
guillem
diff -Naur kdenetwork-2.2.2/admin/configure.in.min 
kdenetwork-2.2.2-patched/admin/configure.in.min
--- kdenetwork-2.2.2/admin/configure.in.min 2001-11-16 06:54:21.0 
+0100
+++ kdenetwork-2.2.2-patched/admin/configure.in.min 2002-12-07 
21:23:33.0 +0100
@@ -22,6 +22,7 @@
 
 dnl Process this file with autoconf to produce a configure script.
 
+AC_PREREQ(2.50)
 AC_INIT(acinclude.m4) dnl a source file from your sub dir
 
 dnl This is so we can use kde-common
diff -Naur kdenetwork-2.2.2/configure.in.in 
kdenetwork-2.2.2-patched/configure.in.in
--- kdenetwork-2.2.2/configure.in.in2002-12-07 20:57:57.0 +0100
+++ kdenetwork-2.2.2-patched/configure.in.in2002-12-07 21:22:40.0 
+0100
@@ -1,10 +1,8 @@
-AC_PREREQ(2.50)
-
 #MIN_CONFIG
 dnl Image readers/writers
 KDE_CHECK_KIMGIO
 
-AC_LANG_CPLUSPLUS
+AC_LANG(C++)
 dnl Checks for header files.
 AC_CHECK_HEADERS(linux/tcp.h linux/if_ppp.h)
 AC_CHECK_HEADERS(net/errno.h net/if_ppp.h)


Re: Problem with kdenetwork build for unstable

2002-12-07 Thread Martin Schulze
Guillem Jover wrote:
 On Thu, Dec 05, 2002 at 09:40:56AM +0100, Martin Schulze wrote:
  I have problems fixing kdenetwork for unstable.  With gcc 3
  get/setenv aren't detected through C but through C++ which doesn't
  work.  That's a bug in automake.  It should be fixed with a patch
  in the following source:
  
  http://master.debian.org/~joey/NMU/kdenetwork_2.2.2-14.21.diff.gz
  http://master.debian.org/~joey/NMU/kdenetwork_2.2.2-14.21.dsc
  http://ftp.debian.org/debian/pool/main/k/kdenetwork/kdenetwork_2.2.2.orig.tar.gz
  
  but that doesn't compile.  Ray told me that the first line of 
  configure.in.in
  needs to be AC_INIT(1) but that also doesn't get us far.
 
 Uhh, admin/Makefile.common is checking for '#MIN_CONFIG' in the first two
 lines to include there admin/configure.in.min.

I'd love to have it work but now the build complains about:

make[1]: Entering directory `/tmp/joey/kdenetwork-2.2.2'
*** Creating acinclude.m4
make[2]: Entering directory `/tmp/joey/kdenetwork-2.2.2'
make[2]: Leaving directory `/tmp/joey/kdenetwork-2.2.2'
!!! If you get recursion errors from autoconf, it is advisable to set the
environment variable M4 to something including --nesting-limit=500
*** Creating list of subdirectories
make[2]: Entering directory `/tmp/joey/kdenetwork-2.2.2'
make[3]: Entering directory `/tmp/joey/kdenetwork-2.2.2'
make[3]: Leaving directory `/tmp/joey/kdenetwork-2.2.2'
make[2]: Leaving directory `/tmp/joey/kdenetwork-2.2.2'
*** Creating configure.in
make[2]: Entering directory `/tmp/joey/kdenetwork-2.2.2'
make[3]: Entering directory `/tmp/joey/kdenetwork-2.2.2'
make[3]: Leaving directory `/tmp/joey/kdenetwork-2.2.2'
make[2]: Leaving directory `/tmp/joey/kdenetwork-2.2.2'
*** Creating aclocal.m4
*** Creating configure
autoconf: Undefined macros:
configure.in:22:AC_LANG_PUSH(C)
configure.in:24:AC_LANG_POP
make[1]: *** [cvs] Error 1
make[1]: Leaving directory `/tmp/joey/kdenetwork-2.2.2'
make: *** [build-stamp] Error 2

Regards,

Joey

-- 
Those who don't understand Unix are condemned to reinvent it, poorly.

Please always Cc to me when replying to me on the lists.




Re: Problem with kdenetwork build for unstable

2002-12-07 Thread Guillem Jover
On Sat, Dec 07, 2002 at 09:39:36PM +0100, Martin Schulze wrote:
 I'd love to have it work but now the build complains about:
 
 make[1]: Entering directory `/tmp/joey/kdenetwork-2.2.2'
 *** Creating acinclude.m4
 make[2]: Entering directory `/tmp/joey/kdenetwork-2.2.2'
 make[2]: Leaving directory `/tmp/joey/kdenetwork-2.2.2'
 !!! If you get recursion errors from autoconf, it is advisable to set the
 environment variable M4 to something including --nesting-limit=500
 *** Creating list of subdirectories
 make[2]: Entering directory `/tmp/joey/kdenetwork-2.2.2'
 make[3]: Entering directory `/tmp/joey/kdenetwork-2.2.2'
 make[3]: Leaving directory `/tmp/joey/kdenetwork-2.2.2'
 make[2]: Leaving directory `/tmp/joey/kdenetwork-2.2.2'
 *** Creating configure.in
 make[2]: Entering directory `/tmp/joey/kdenetwork-2.2.2'
 make[3]: Entering directory `/tmp/joey/kdenetwork-2.2.2'
 make[3]: Leaving directory `/tmp/joey/kdenetwork-2.2.2'
 make[2]: Leaving directory `/tmp/joey/kdenetwork-2.2.2'
 *** Creating aclocal.m4
 *** Creating configure
 autoconf: Undefined macros:
 configure.in:22:AC_LANG_PUSH(C)
 configure.in:24:AC_LANG_POP
 make[1]: *** [cvs] Error 1
 make[1]: Leaving directory `/tmp/joey/kdenetwork-2.2.2'
 make: *** [build-stamp] Error 2

It works for me. Do you have autoconf 2.5x installed?
This symbols were not available in autoconf 2.13.

regards,
guillem