[Box Backup] Boxi 651 fails because of wxchart

Achim boxbackup@boxbackup.org
Sun, 02 Aug 2009 22:41:29 +0200


Hello Chris:

wxchart is definitely the problem with the latest builds: its Makefile.am
causes problems with automake (see details below), and therefore
boxi/Makefile.in is never generated: automake stops before because of
errors with wxchart. 

I found a way around that wxchart problem (details below, basically: create
po/Makefile.in, remove references to wxchart from boxi/Makefile[.am],
generate boxi/Makefile.in via CLI with automake), but even then 651
compilation fails with the following error

In file included from ComparePanel.cc:35:
../include/CompareProgressPanel.h:317: error: `virtual void
CompareProgressPanel::NotifyDirComparing(const std::string&, const
std::string&)' and `virtual
voidCompareProgressPanel::NotifyDirComparing(const std::string&, const
std::string&)' cannot be overloaded

DETAILS
=======
$ svn co https://svn.sourceforge.net/svnroot/boxi/trunk/boxi boxi.651
$ cd boxi.651
$ ./make-image-headers.pl
$ ./configure-mingw.sh 
[..]
configure: creating ./config.status
config.status: creating Makefile

 ----------------------------------------------------------------
  Configuration for wxchart 1.0 successfully completed.
  Summary of main configuration settings for wxchart:
  - DEBUG build
  - UNICODE mode
  - STATIC mode

  The wxWidgets build which will be used by wxchart 1.0
  has the following settings:
  - DEBUG build
  - UNICODE mode
  - STATIC mode
  - VERSION: 2.8.10
  - PORT: msw

  Now, just run make.
 ----------------------------------------------------------------

configure: creating ./config.status
config.status: error: cannot find input file: Makefile.in
Error: configure failed, aborting.


$ automake -v
wxchart/Makefile.am:16: whitespace following trailing backslash
wxchart/Makefile.am:39: `sources_DATA' is used but `sourcesdir' is
undefined
wxchart/Makefile.am:10: `other_DATA' is used but `otherdir' is undefined
wxchart/Makefile.am:16: `includes_HEADERS' is used but `includesdir' is
undefined
automake-1.11: thread 0: not writing ./wxchart/Makefile.in because of
earlier errors
automake-1.11: thread 0: reading Makefile.am
configure.in:226: required file `po/Makefile.in' not found
automake-1.11: thread 0: reading /usr/share/automake-1.11/am/subdirs.am
automake-1.11: thread 0: not writing ./Makefile.in because of earlier
errors

$ cp po/Makefile.in.in po/Makefile.in

$ automake -v Makefile
automake-1.11: thread 0: reading /usr/share/automake-1.11/am/header-vars.am
automake-1.11: thread 0: reading Makefile.am
automake-1.11: thread 0: reading /usr/share/automake-1.11/am/configure.am
automake-1.11: thread 0: reading /usr/share/automake-1.11/am/remake-hdr.am
automake-1.11: thread 0: reading /usr/share/automake-1.11/am/clean-hdr.am
Makefile.am:6: AM_GNU_GETTEXT used but `po' not in SUBDIRS
Makefile.am:6: AM_GNU_GETTEXT used but `intl' not in SUBDIRS
automake-1.11: thread 0: reading /usr/share/automake-1.11/am/libtool.am
automake-1.11: thread 0: reading /usr/share/automake-1.11/am/texinfos.am
automake-1.11: thread 0: reading /usr/share/automake-1.11/am/data.am
automake-1.11: thread 0: reading /usr/share/automake-1.11/am/inst-vars.am
automake-1.11: thread 0: reading /usr/share/automake-1.11/am/subdirs.am
automake-1.11: thread 0: reading /usr/share/automake-1.11/am/tags.am
automake-1.11: thread 0: reading /usr/share/automake-1.11/am/distdir.am
automake-1.11: thread 0: reading /usr/share/automake-1.11/am/footer.am
automake-1.11: thread 0: reading /usr/share/automake-1.11/am/install.am
automake-1.11: thread 0: reading /usr/share/automake-1.11/am/clean.am
automake-1.11: thread 0: creating ./Makefile.in

$ ./configure-mingw.sh 
[..]
configure: creating ./config.status
config.status: creating Makefile

 ----------------------------------------------------------------
  Configuration for wxchart 1.0 successfully completed.
  Summary of main configuration settings for wxchart:
  - DEBUG build
  - UNICODE mode
  - STATIC mode

  The wxWidgets build which will be used by wxchart 1.0
  has the following settings:
  - DEBUG build
  - UNICODE mode
  - STATIC mode
  - VERSION: 2.8.10
  - PORT: msw

  Now, just run make.
 ----------------------------------------------------------------

configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile
config.status: creating include/Makefile
config.status: creating intl/Makefile
config.status: WARNING:  'intl/Makefile.in' seems to ignore the
--datarootdir setting
config.status: creating src/Makefile
config.status: creating wxchart/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands

$ make
Making all in wxchart
make[2]: Entering directory `/usr/src/boxi.651/wxchart'
Makefile:8: *** missing separator.  Stop.
make[2]: Leaving directory `/usr/src/boxi.651/wxchart'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/boxi.651'
make: *** [all] Error 2


$ automake -v wxchart/Makefile
[..]
wxchart/Makefile.am:16: whitespace following trailing backslash
wxchart/Makefile.am:39: `sources_DATA' is used but `sourcesdir' is
undefined
wxchart/Makefile.am:10: `other_DATA' is used but `otherdir' is undefined
wxchart/Makefile.am:16: `includes_HEADERS' is used but `includesdir' is
undefined
[..]
automake-1.11: thread 0: not writing ./wxchart/Makefile.in because of
earlier errors


Now I remove all references to wxchart from boxi/Makefile and re-run make 

$ make
[..]
In file included from ComparePanel.cc:35:
../include/CompareProgressPanel.h:317: error: `virtual void
CompareProgressPanel::NotifyDirComparing(const std::string&, const
std::string&)' and `virtual
voidCompareProgressPanel::NotifyDirComparing(const std::string&, const
std::string&)' cannot be overloaded
make[2]: *** [ComparePanel.o] Error 1
make[2]: Leaving directory `/usr/src/boxi.651/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/boxi.651'
make: *** [all] Error 2