Hi !
Sorry if it's the wrong place to ask this question. I'm searching everywhere on the web, but I can't find the right answer for my problem...
This is the first time I try to install Code::Blocks on Mandriva Linux 2008.0 (CB SVN 4734). I'm following the instructions found on CB Wiki and on the "BUILD" file found inside the SVN directory.
The first step, the bootstrap, fails.
$ ./bootstrap
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
./bootstrap: line 64: aclocal: command not found
I did what the Wiki says about DOS line endings:
$ dos2unix bootstrap acinclude.m4 codeblocks.pc.in configure.in Makefile.am
But this time it gives a new error message when doing the bootstrap:
$ ./bootstrap
bash: ./bootstrap: /bin/sh^M: bad interpreter: No such file or directory
Is there something I missing, or doing wrong ?
Just for reference, here is the list of tools I'm using:
autoconf 2.61
automake 1.7.9
libtool 1.5.22
m4 1.4.10
make 3.81
gcc 4.2.2.0
...and others...
Hi, long time no see yep? Well i'm here because i have a suggestion to your NB relases. I have passed to Linux these two last months and i found it very beautifull, much more than Windows(IMHO) anyway why don't you give a tar.gz with sources in? So users that don't know what is SVN can anyway build their own NB in their own system.
I hope you'll get it from the next relase ;)
Best regards, GTOnizuka
You can download the sources as tarball from my repo.
You find it under http://jens.lody.name/debian/pool/sources/ (http://jens.lody.name/debian/pool/sources/)
It normally only contains tarballs from svn-versions that exist as nightly build.
But using svn is quite simple:
install the svn (aka subversion) package belonging to your distro, create a directory for the C::B sources and run:svn co svn://svn.berlios.de/codeblocks/trunk <path/where/codeblocks/source/should/go/to>
and you get the latest available svn sources.
I think if someone is able to build C::B from source, he (or she) should also be able to run just one command from commandline.
I tried again, and now there is a completely different error:
$ ./bootstrap
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
configure.in:77: warning: macro `AM_OPTIONS_WXCONFIG' not found in library
configure.in:78: warning: macro `AM_PATH_WXCONFIG' not found in library
configure.in:9: installing `./missing'
configure.in:9: installing `./install-sh'
src/base/tinyxml/Makefile.am: installing `./depcomp'
configure.in:77: error: possibly undefined macro: AM_OPTIONS_WXCONFIG
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:78: error: possibly undefined macro: AM_PATH_WXCONFIG
I believe the problem is in my configurations, but I don't know what to do.
EDIT: I noticed that the wiki was edited...thanks for that ! I'm starting again from the beginning, let's see what happens.
Which repository do you use ?
I don't know how to force "apt" not to use dependency checking. If "dpkg" is installed you can force installation of a special .deb-file with dpkg -i --force-depends </path/and/name/of/deb>
.
The cleaner way is to install more recent versions of wxWidgets.
Look here (http://wiki.wxpython.org/InstallingOnUbuntuOrDebian).