News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

instaling cb svn

Started by tehybh, April 14, 2010, 05:54:53 PM

Previous topic - Next topic

tehybh

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?

oBFusCATed

./trunk/bootstrap
or
cd trunk
./bootstrap

If the latter, please specify the distro you're using.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

tehybh


oBFusCATed

I was asking what exact commands you have executed?

I think ./trunk/bootstrap is not going to work.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

stahta01

#4
Quote
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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Jenna

Make sure you have wxWidgets development packages installed.
How they are called depends on your linux distribution.

tehybh

I have ubuntu.
I have libwxgtk2.8-dev, is that enough ?

Jenna

Quote from: tehybh on April 14, 2010, 11:50:34 PM
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.

tehybh

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 ?

MortenMacFly

Quote from: tehybh on April 15, 2010, 05:43:29 AM
What now ?
Are you kidding?

Quote from: tehybh on April 15, 2010, 05:43:29 AM
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?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Jenna

And don't forget, if a configure-script asks you to install a package, you normally need the development pacakages, not just the binaries .

tehybh

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 ?

Jenna

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 ).