Hello,
i want compile the MMEX Source Code from SVN under FreeBSD 9. I have all Requirements installed and the configure Script stopped with the follow lines:
checking for dependency tracking method... gcc
configure: error: Versions of Bakefile used to generate makefiles (0.2.9) and configure (0.2.8) do not match.
What mean it?
Regards
Silvio
I've upgraded bakefile but I can't reproduce that issue on my Ubuntu 11.01
>~/Developing/moneymanagerex/trunk/mmex$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C++ preprocessor... g++ -E
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for the --enable-debug option... will be automatically detected
checking for the --enable-unicode option... will be automatically detected
checking for the --enable-shared option... will be automatically detected
checking for the --with-motif option... will be automatically detected
checking for the --with-gtk option... will be automatically detected
checking for the --with-x11 option... will be automatically detected
checking for the --with-mac option... will be automatically detected
checking for the --with-mgl option... will be automatically detected
checking for the --with-msw option... will be automatically detected
checking for the --with-wxshared option... will be automatically detected
checking for gawk... no
checking for mawk... mawk
checking whether ln -s works... yes
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking how to run the C++ preprocessor... g++ -E
checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.8.10... yes (version 2.8.11)
checking for wxWidgets static library... no
checking if wxWidgets was built with UNICODE enabled... yes
checking if wxWidgets was built in DEBUG mode... no
checking if wxWidgets was built in STATIC mode... no
checking if wxWidgets port is wxGTK... yes
checking if wxWidgets port is wxMotif... no
checking if wxWidgets port is wxMac... no
checking if wxWidgets port is wxX11... no
checking if wxWidgets port is wxMGL... no
checking if wxWidgets port is wxMSW... no
checking if wxGTK uses GTK 2.x (instead of GTK 1.x)... yes
checking whether we are using the Intel C compiler... no
checking whether we are using the Intel C++ compiler... no
checking whether we are using the Sun C++ compiler... no
checking for ranlib... (cached) ranlib
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for ar... ar
checking for strip... strip
checking for nm... nm
checking for command to install directories... /usr/bin/install -c -d
checking if make is GNU make... yes
checking for dependency tracking method... gcc
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/tests/Makefile
config.status: creating ./po/Makefile
config.status: creating ./setup/win/Makefile
----------------------------------------------------------------
Configuration for MoneyManagerEx 0.9.8.0 successfully completed.
Summary of main configuration settings for MoneyManagerEx:
- RELEASE build
- UNICODE mode
- SHARED mode
- RELEASE build
- UNICODE mode
- SHARED mode
- VERSION: 2.8.11
- PORT: gtk (with GTK+ 2.x)
The wxWidgets build which will be used by MoneyManagerEx 0.9.8.0
has the following settings:
- RELEASE build
- UNICODE mode
- SHARED mode
- VERSION: 2.8.11
- PORT: gtk (with GTK+ 2.x)
Now, just run make.
----------------------------------------------------------------
Try this solution
http://trac.wxwidgets.org/changeset/69977
Hello,
i have the configure Script change and the ticket from wxwidgets.org i have fixed. Now has problem with the boost libary.
-DSQLITE_CORE -DSQLITE_HAS_CODEC -DSQLITE_ENABLE_COLUMN_METADATA -fPIC -DPIC -g -O2 -g0 -O2 ./lib/sqlite/sqlite3secure.c
rm -f libsqlite.a
ar rcu libsqlite.a sqlite_sqlite3secure.o
ranlib libsqlite.a
/usr/local/src/moneymanagerex/trunk/mmex/bk-deps g++ -c -o mmex_aboutdialog.o -I./lib/sqlite -I./lib/wxsqlite -DNOPCH -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -D_THREAD_SAFE -fPIC -DPIC -g -O2 -g0 -O2 ./src/aboutdialog.cpp
In file included from ./src/aboutdialog.cpp:21:
./src/dbwrapper.h:25:32: warning: boost/shared_ptr.hpp: No such file or directory
In file included from ./src/aboutdialog.cpp:22:
./src/util.h:27:35: warning: boost/static_assert.hpp: No such file or directory
./src/aboutdialog.cpp:30:29: warning: boost/version.hpp: No such file or directory
In file included from ./src/aboutdialog.cpp:21:
./src/dbwrapper.h:41: error: 'boost' has not been declared
./src/dbwrapper.h:41: error: expected constructor, destructor, or type conversion before '<' token
In file included from ./src/util.h:23,
from ./src/aboutdialog.cpp:22:
./src/mmcurrency.h:32: error: 'boost' has not been declared
./src/mmcurrency.h:32: error: expected `)' before '<' token
./src/mmcurrency.h:52: error: 'boost' has not been declared
./src/mmcurrency.h:52: error: ISO C++ forbids declaration of 'shared_ptr' with no type
./src/mmcurrency.h:52: error: expected ';' before '<' token
./src/mmcurrency.h:58: error: 'boost' has not been declared
./src/mmcurrency.h:58: error: expected `)' before '<' token
./src/mmcurrency.h:61: error: 'boost' has not been declared
./src/mmcurrency.h:61: error: expected ',' or '...' before '<' token
./src/mmcurrency.h:64: error: 'boost' has not been declared
./src/mmcurrency.h:64: error: expected ',' or '...' before '<' token
./src/mmcurrency.h:67: error: 'boost' has not been declared
./src/mmcurrency.h:67: error: ISO C++ forbids declaration of 'shared_ptr' with no type
./src/mmcurrency.h:67: error: expected ';' before '<' token
./src/mmcurrency.h:68: error: 'boost' has not been declared
./src/mmcurrency.h:68: error: ISO C++ forbids declaration of 'shared_ptr' with no type
./src/mmcurrency.h:68: error: expected ';' before '<' token
./src/mmcurrency.h:74: error: 'boost' was not declared in this scope
./src/mmcurrency.h:74: error: template argument 1 is invalid
./src/mmcurrency.h:74: error: template argument 2 is invalid
./src/mmcurrency.h:77: error: 'boost' has not been declared
./src/mmcurrency.h:77: error: ISO C++ forbids declaration of 'shared_ptr' with no type
./src/mmcurrency.h:77: error: expected ';' before '<' token
In file included from ./src/aboutdialog.cpp:22:
./src/util.h:252: error: 'MonthsAgoStart' is not a type
./src/util.h:252: error: expected ',' or '...' before '>=' token
./src/util.h:252: error: ISO C++ forbids declaration of 'BOOST_STATIC_ASSERT' with no type
./src/aboutdialog.cpp: In function 'wxString<unnamed>::get_libs_info()':
./src/aboutdialog.cpp:48: error: 'BOOST_VERSION' was not declared in this scope
*** Error code 1
freebsd-mobile# ls /usr/local/include/boost | grep shared
enable_shared_from_this.hpp
make_shared.hpp
shared_array.hpp
shared_container_iterator.hpp
shared_ptr.hpp
freebsd-mobile# pkg_info | grep boost
boost-all-1.45.0 The "meta-port" for boost libraries
boost-docs-1.45.0 Documentation for libraries from boost.org
boost-jam-1.45.0 Build tool from the boost.org
boost-libs-1.45.0_1 Free portable C++ libraries (without Boost.Python)
boost-python-libs-1.45.0_1 Framework for interfacing Python and C++
boost_build-2.0.m12 Extensible cross-platform build tool suite
Has someone a idea?
Regards
Silvio
I've got the same issue on ARCH Linux.
just changed
BAKEFILE_BAKEFILE_M4_VERSION="0.2.9" in configure file