Code::Blocks Forums
User forums => Help => Topic started by: tehybh on April 14, 2010, 05:54:53 pm
-
hello,
i'm using linux and trying to install svn. I typed svn checkout svn://svn.berlios.de/codeblocks/trunk and then ./trunk/bootstrap
the result is
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
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: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
what should i do?
-
./trunk/bootstrap
or
cd trunk
./bootstrap
If the latter, please specify the distro you're using.
-
what ??
again, you mean?
-
I was asking what exact commands you have executed?
I think ./trunk/bootstrap is not going to work.
-
export ACLOCAL_FLAGS="-I `wx-config --prefix`/share/aclocal"
From the directions
http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux
Note: You should verify wx-config works right.
Tim S.
-
Make sure you have wxWidgets development packages installed.
How they are called depends on your linux distribution.
-
I have ubuntu.
I have libwxgtk2.8-dev, is that enough ?
-
I have ubuntu.
I have libwxgtk2.8-dev, is that enough ?
You need to install wx-common also, to have wx-config and the needed automake macros.
-
okay, I did it and now bootstrap ended, though some warnings appeared :
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
I then typed ./configure. The last lines of the output were :
checking for GTK2... configure: error: Package requirements (gtk+-2.0 >= 2.0.0) were not met:
No package 'gtk+-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GTK2_CFLAGS
and GTK2_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
What now ?
-
What now ?
Are you kidding?
checking for GTK2... configure: error: Package requirements (gtk+-2.0 >= 2.0.0) were not met:
No package 'gtk+-2.0' found
What about simply installing this dependency?
-
And don't forget, if a configure-script asks you to install a package, you normally need the development pacakages, not just the binaries .
-
Well I'm new to linux so forgive me for asking what to do.
I typed sudo apt-cache search gtk+-2.0 and this gave no results. I don't really know what to do. Can you tell me exactly what to type in please ?
-
Why not using a package manager (I prefer synaptic) ?
That makes searching much easier.
You need libgtk2.0-dev and it's dependencies.
Be aware, that this is not a linux forum, "just" a C::B forum.
We can not know the names of all needed packages on each and any distro, you should learn to search and find answers yourself.
A search with google would also lead you to the correct package-name ( http://www.google.com/search?q=gtk%2B-2.0+ubuntu (http://www.google.com/search?q=gtk%2B-2.0+ubuntu) ).