User forums > Help

Building on Debian

(1/2) > >>

darthdespotism:
Hi

I know there is an unoffical Repos for Debian but I prefer building Codeblocks on my own (don't know what this is good for, but ...) and the build is currently failing at ./bootstrap:

You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
./bootstrap: line 64: aclocal: command not found

however there is no aclocal.m4 and when I copy the above mentioned file in codeblocksfolder the second error remains.

Any thoughts / packages?

Auria:
Messages about copying .m4 files happen all the time and i alway ignored them with no problem (on OS X at least but anyway autotools is the same on all platforms). try installing autotools (autoconf, automake, etc.)

darthdespotism:
OK I really was missing autotools. Trying to build it now :)


--- Code: --- debian/rules build
gdb_tipwindow.cpp:40:25: error: gtk/gtk.h: No such file or directory
gdb_tipwindow.cpp: In constructor 'GDBTipWindow::GDBTipWindow(wxWindow*, const wxString&, const wxString&, const wxString&, const wxString&, wxCoord, GDBTipWindow**, wxRect*)':
gdb_tipwindow.cpp:190: error: 'GTK_WIDGET_HAS_GRAB' was not declared in this scope
gdb_tipwindow.cpp:191: error: 'gtk_grab_add' was not declared in this scope
gdb_tipwindow.cpp: In destructor 'virtual GDBTipWindow::~GDBTipWindow()':
gdb_tipwindow.cpp:207: error: 'GTK_WIDGET_HAS_GRAB' was not declared in this scope
gdb_tipwindow.cpp:208: error: 'gtk_grab_remove' was not declared in this scope
gdb_tipwindow.cpp: In member function 'void GDBTipWindow::Close()':
gdb_tipwindow.cpp:261: error: 'GTK_WIDGET_HAS_GRAB' was not declared in this scope
gdb_tipwindow.cpp:262: error: 'gtk_grab_remove' was not declared in this scope
make[5]: *** [gdb_tipwindow.lo] Fehler 1
make[4]: *** [all-recursive] Fehler 1
make[3]: *** [all-recursive] Fehler 1
make[2]: *** [all-recursive] Fehler 1
make[1]: *** [all-recursive] Fehler 1
make: *** [build-stamp] Fehler 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
--- End code ---

wxgtk + gtk2 ist installiert (-dev Pakete!)

Auria:
Check that the header exists and where it is... if it's actually there, help the program find it by symlinking or passing additional search flags to configure perhaps

mandrav:
You need the gtk-devel package.
(Sigh, one of these days we should add a dependency check for this in configure.in...)

Navigation

[0] Message Index

[#] Next page

Go to full version