[osgeo4w-dev] Setup fails to build [SEC=UNCLASSIFIED]

Pinner, Luke Luke.Pinner at environment.gov.au
Wed Sep 26 21:42:01 PDT 2012


As a workaround to #304 (http://trac.osgeo.org/osgeo4w/ticket/304) I'm trying to build the OSGeo4W installer with a modified manifest (<requestedExecutionLevel level="asInvoker").  I've followed the instructions in http://trac.osgeo.org/osgeo4w/wiki/SetupDevelopment and tried to build with an unmodified svn checkout of the setup source and a completely fresh cygwin with all toolchain requirements installed (I think) but I fall at the first hurdle:

        $ pwd
        /cygdrive/C/OSGeo4W/setup
        $ ./bootstrap.sh
        Running bootstrap.sh in libgetopt++
        autoheader-2.68: error: AC_CONFIG_HEADERS not found in configure.in
        autoheader failed
        Autotool bootstrapping failed. You will need to investigate and correct
        before you can develop on this source tree

I got past that by downloading a source tarball of libgetopt++ and replacing the version checked from the osgeo4w setup svn repo with it. Running bootstrap again and I get the following:

        $ ./bootstrap.sh
        configure.in: error: no proper invocation of AM_INIT_AUTOMAKE was found.
        configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
        configure.in: that aclocal.m4 is present in the top-level directory,
        configure.in: and that aclocal.m4 was recently regenerated (using aclocal)
        Makefile.am:72: error: MINGWTARGET does not appear in AM_CONDITIONAL
        Makefile.am:113: error: library used but 'RANLIB' is undefined
        Makefile.am:113:   The usual way to define 'RANLIB' is to add 'AC_PROG_RANLIB'
        Makefile.am:113:   to 'configure.in' and run 'autoconf' again.
        /usr/share/automake-1.12/am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL
        /usr/share/automake-1.12/am/depend2.am:   The usual way to define 'am__fastdepCC' is to add 'AC_PROG_CC'
        /usr/share/automake-1.12/am/depend2.am:   to 'configure.in' and run 'aclocal' and 'autoconf' again
        /usr/share/automake-1.12/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL
        /usr/share/automake-1.12/am/depend2.am:   The usual way to define 'AMDEP' is to add one of the compiler tests
        /usr/share/automake-1.12/am/depend2.am:     AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,
        /usr/share/automake-1.12/am/depend2.am:     AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
        /usr/share/automake-1.12/am/depend2.am:   to 'configure.in' and run 'aclocal' and 'autoconf' again
        Makefile.am: error: C source seen but 'CC' is undefined
        Makefile.am:   The usual way to define 'CC' is to add 'AC_PROG_CC'
        Makefile.am:   to 'configure.in' and run 'autoconf' again.
        /usr/share/automake-1.12/am/depend2.am: error: am__fastdepCXX does not appear in AM_CONDITIONAL
        /usr/share/automake-1.12/am/depend2.am:   The usual way to define 'am__fastdepCXX' is to add 'AC_PROG_CXX'
        /usr/share/automake-1.12/am/depend2.am:   to 'configure.in' and run 'aclocal' and 'autoconf' again
        Makefile.am: error: Lex (C++) source seen but 'LEX' is undefined
        Makefile.am:   The usual way to define 'LEX' is to add 'AM_PROG_LEX'
        Makefile.am:   to 'configure.in' and run 'aclocal' and 'autoconf' again.
        automake failed
        Autotool bootstrapping failed. You will need to investigate and correct
        before you can develop on this source tree

Any ideas?

Regards
Luke Pinner


If you have received this transmission in error please notify us immediately by return e-mail and delete all copies. If this e-mail or any attachments have been sent to you in error, that error does not constitute waiver of any confidentiality, privilege or copyright in respect of information in the e-mail or attachments.

Please consider the environment before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/osgeo4w-dev/attachments/20120927/84e79ae2/attachment.html>


More information about the osgeo4w-dev mailing list