Hi there,
I'm having some troubles when installing the rc2 on debian sarge from sources and I did'nt find solutions on the forum. :?
I'm doing exactly what's in this tutorial (http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29 (http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29)) .
Despite the use of "fromdos" for ./boostrap, ./configure.in, Makefile.in and .am, I unfortunately get this message when running ./boostrap:
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
configure.in: installing `./install-sh'
configure.in: installing `./missing'
src/plugins/astyle/Makefile.am: installing `./depcomp'
When I tried to execute ./boostrap usind libwxgtk2* instead of compiling it by myself, there were less warnings.
However, the reason I compiled libwxgtk2* is that I wanted to do exactly what is said in the tutorial, because the following is the error I get when running a ./configure (just after ./boostrap):
(here is only the end of the log of course)
checking for wx-config... /opt/wx/2.6/bin/wx-config
checking for wxWidgets version >= 2.4.2... yes (version 2.6.2)
checking for wxWidgets static library... no
configure: Configuring Code::Blocks...
configure: creating ./config.status
.infig.status: error: cannot find input file: Makefile
It's really driving me crazy because I spend all my day on trying to install the rc2...
I'm going to try the rc1 instead, but that not a solution... :(
If you can help me, please do
(I'm not a guru linux but I think I'm enough smart to helpmyself :) )
Last but not least, sorry for my english, I'm only a French IT student... :D
First of all, I tried to clean up my system, removing all things I tried to install.
Then I took your advise and get the last version from the svn repository, and used my distro's wx binaries.
First impression when runing ./boostrap, no need to use fromdos or other stuff, a good start :)
Unfortunately, errors are remaining, even if libglib*-dev and libwxgtk*-dev are installed (from debian's packages):
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
configure.in: installing `./install-sh'
configure.in: installing `./missing'
src/plugins/astyle/Makefile.am: installing `./depcomp'
And sorry but I don't really undestand this messages, so I d'ont know what to do... :(
./configure works just fine, but then make comes with this errors:
In file included from cbproject.cpp:37:
projectoptionsdlg.h:43: error: `wxSpinEvent' was not declared in this scope
projectoptionsdlg.h:43: error: `event' was not declared in this scope
projectoptionsdlg.h:43: error: invalid data member initialization
projectoptionsdlg.h:43: error: (use `=' to initialize static data members)
projectoptionsdlg.h:43: error: variable or field `OnScriptMoveUp' declared void
projectoptionsdlg.h:44: error: `wxSpinEvent' was not declared in this scope
projectoptionsdlg.h:44: error: `event' was not declared in this scope
projectoptionsdlg.h:44: error: invalid data member initialization
projectoptionsdlg.h:44: error: variable or field `OnScriptMoveDown' declared
Is it possible there is a such bug in the repository? who did commit that? :P
Seriously, I really need your help on this.
I beging to see the light thanks to you... :D