Hello, I'm trying to compile CB 8.02 on debian 4.0. I built wxwidgets 2.8.7 from source and installed it to /usr/local. In the CB source dir I do "mkdir build; cd build", there I do ../configure --enable-contribs, which seems to work fine, but make aborts with the following error message:
...
g++ -DHAVE_CONFIG_H -I. -I../../src/include -I../../../src/sdk -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -I../../../src/include -I../../../src/include/wxscintilla/include -I../../../src/include/tinyxml -I../../../src/include/scripting/include -I../../../src/include/scripting/sqplus -I../../../src/include/wxFlatNotebook/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT configmanager-revision.lo -MD -MP -MF .deps/configmanager-revision.Tpo -c ../../../src/sdk/configmanager-revision.cpp -fPIC -DPIC -o .libs/configmanager-revision.o
../../src/include/autorevision.h:15: error: expected primary-expression before ';' token
make[3]: *** [configmanager-revision.lo] Error 1
make[3]: Leaving directory `/home/daniel/soft_codeblocks/codeblocks-8.02/build/src/sdk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/daniel/soft_codeblocks/codeblocks-8.02/build/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/daniel/soft_codeblocks/codeblocks-8.02/build/src'
make: *** [all-recursive] Error 1
I already found some posts on the forum related to autorevision where setting LANG=C in autorevision.ccp:108 is suggested, but that doesn't seem to apply to the current version any more. I guess my system isn't properly configured ...
Ah, and gcc -v:
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
regards
Daniel