News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Can't compile, Debian testing

Started by Sayd, November 07, 2007, 01:26:25 PM

Previous topic - Next topic

Sayd

I can't even compile C::B:
make[3]: Entering directory `/usr/src/code::blocks/trunk/src/sdk/propgrid'
if /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA   -I../../../src/include/propgrid/include -DWXMAKINGLIB_PROPGRID -DwxPG_USE_WXMODULE=0 -Ulinux -Uunix  -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT propgrid.lo -MD -MP -MF ".deps/propgrid.Tpo" -c -o propgrid.lo `test -f './src/propgrid/propgrid.cpp' || echo './'`./src/propgrid/propgrid.cpp; \
        then mv -f ".deps/propgrid.Tpo" ".deps/propgrid.Plo"; else rm -f ".deps/propgrid.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../../src/include/propgrid/include -DWXMAKINGLIB_PROPGRID -DwxPG_USE_WXMODULE=0 -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT propgrid.lo -MD -MP -MF .deps/propgrid.Tpo -c ./src/propgrid/propgrid.cpp  -fPIC -DPIC -o .libs/propgrid.o
./src/propgrid/propgrid.cpp:411:21: error: gtk/gtk.h: No such file or directory
./src/propgrid/propgrid.cpp: In function 'bool wxPGIsWindowBuffered(const wxWindow*)':
./src/propgrid/propgrid.cpp:414: error: 'GTK_WIDGET_DOUBLE_BUFFERED' was not declared in this scope
make[3]: *** [propgrid.lo] Error 1




It seems every needed dev packages are installed (configure says no error).
Command below compiles (i added `pkg-config --cflags gtk+-2.0`):
g++ `pkg-config --cflags gtk+-2.0` -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../../src/include/propgrid/include -DWXMAKINGLIB_PROPGRID -DwxPG_USE_WXMODULE=0 -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT propgrid.lo -MD -MP -MF .deps/propgrid.Tpo -c ./src/propgrid/propgrid.cpp -fPIC -DPIC -o .libs/propgrid.o


But I can't understand why libtool don't use it. I think that is an error somethere with autoconf, automake, configure and etc ...

Jenna

You can download the tarball of svn4596 from my repo (see sig) with a slightly fixed "debian/control"-file.

It should ask for all needed (and actual) build-deps.

It works for me on clean "stable", "testing" and "unstable".

I have also a tarball (and packages) for svn4599 and svn4600 on the server, but not moved to the repo, because there is no new nightly out since svn4596.