[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: autogen.sh and automake 1.10.1 does not mix, and make clean insane!!!



  $ ./autogen.sh 
  checking for ./configure.ac ... yes
  checking for ./build-tools/desktop-i18n ... yes
  checking for autoconf ... /usr/bin/autoconf
  checking for autoheader ... /usr/bin/autoheader
  checking for automake ... /usr/bin/automake
  checking for aclocal ... /usr/bin/aclocal
  checking for libtoolize ... /usr/bin/libtoolize
  checking for autopoint ... /usr/bin/autopoint
  checking for automake >= 1.6.0 ... 1.10.1
  autogen.sh: running /usr/bin/autopoint ...
  Copying file ABOUT-NLS
...
  autogen.sh: running /usr/bin/automake ...
  configure.ac:19: version mismatch.  This is Automake 1.10.1,
  configure.ac:19: but the definition used by this AM_INIT_AUTOMAKE
  configure.ac:19: comes from Automake 1.9.6.  You should recreate
  configure.ac:19: aclocal.m4 with aclocal and run automake again.
  configure.ac:19: installing `build-tools/install-sh'
  gattrib/src/Makefile.am: installing `build-tools/depcomp'
  libgeda/docs/images/Makefile.am:24: `%'-style pattern rules are a GNU make extension
  libgeda/docs/images/Makefile.am:27: `%'-style pattern rules are a GNU make extension
  configure.ac: installing `build-tools/ylwrap'
  Makefile.am: installing `./INSTALL'
  ***Error*** autogen.sh: /usr/bin/automake failed with exit status 63
  $

Then ln -s automake-1.9 autogen, and all seems well:

  $ ./autogen.sh 
  checking for ./configure.ac ... yes
  checking for ./build-tools/desktop-i18n ... yes
  checking for autoconf ... /usr/bin/autoconf
  checking for autoheader ... /usr/bin/autoheader
  checking for automake ... /home/karl/bin/automake
  checking for aclocal ... /usr/bin/aclocal
  checking for libtoolize ... /usr/bin/libtoolize
  checking for autopoint ... /usr/bin/autopoint
  checking for automake >= 1.6.0 ... 1.9.6
...
  autogen.sh: running /usr/bin/autoconf ...
  $

configure as ususal:

  $ ./configure 
  checking for a BSD-compatible install... /usr/bin/install -c
  checking whether build environment is sane... yes
  checking for gawk... gawk
  checking whether make sets $(MAKE)... yes
...
  config.status: creating libgeda/po/Makefile
  config.status: creating gschem/po/POTFILES
  config.status: creating gschem/po/Makefile
  config.status: creating gattrib/po/POTFILES
  config.status: creating gattrib/po/Makefile
  $

I am interested in libgeda, let's go there:

  $ cd libgeda
  $ make
  Making all in po
  make[1]: Entering directory `/home/karl/Net/git/gaf/libgeda/po'
...
  touch stamp-po
  make[1]: MKDIR_P@: Command not found
  make[1]: *** [../../.desktop-i18n] Error 127
  make[1]: Leaving directory `/home/karl/Net/git/gaf/libgeda/po'
  make: *** [all-recursive] Error 1
  $

Hmm, maybe I should run make in main dir. instead:

  $ cd ..
  $ make
  Now at git commit a7c7e96e17937ea0780261101a4c45383df71134...
...
  make[3]: MKDIR_P@: Command not found
  make[3]: *** [../../.desktop-i18n] Error 127
  make[3]: Leaving directory `/home/karl/Net/git/gaf/libgeda/po'
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory `/home/karl/Net/git/gaf/libgeda'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/home/karl/Net/git/gaf'
  make: *** [all] Error 2
  $

No, it still fails. Maybe a make clean?

  $ make clean
  Making clean in examples
  make[1]: Entering directory `/home/karl/Net/git/gaf/examples'
  Making clean in TwoStageAmp
......
  make[2]: Leaving directory `/home/karl/Net/git/gaf/gnetlist/examples'
  Making clean in scheme
  make[2]: Entering directory `/home/karl/Net/git/gaf/gnetlist/scheme'
  test -z "*.log *~ gnet-gsch2pcb.scm" || rm -f *.log *~ gnet-gsch2pcb.scm
  rm -rf .libs _libs
  if test "." != "" ; then \
		  echo "cleaning scheme files" ; \
=>		  rm -f /*.scm ; \
	  else \
		  echo "source directory = build directory" ; \
	  fi
  cleaning scheme files
  rm: cannot remove `/*.scm': Read-only file system
  make[2]: *** [clean-local] Error 1
  make[2]: Leaving directory `/home/karl/Net/git/gaf/gnetlist/scheme'
  make[1]: *** [clean-recursive] Error 1
  make[1]: Leaving directory `/home/karl/Net/git/gaf/gnetlist'
  make: *** [clean-recursive] Error 1
  $

What the heck, why should it want to do "rm -f /*.scm ;" ????
make clean is insane.

Regards,
/Karl

-----------------------------------------------------------------------
Karl Hammar                    Aspö Data               karl@xxxxxxxxxxx
Lilla Aspö 148                                                 Networks
S-742 94 Östhammar          +46  173 140 57                   Computers
Sweden                     +46  70 511 97 84                 Consulting
-----------------------------------------------------------------------


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user