Author Topic: instaling cb svn  (Read 5697 times)

Offline tehybh

  • Single posting newcomer
  • *
  • Posts: 5
instaling cb svn
« 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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: instaling cb svn
« Reply #1 on: April 14, 2010, 06:05:42 pm »
./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!]

Offline tehybh

  • Single posting newcomer
  • *
  • Posts: 5
Re: instaling cb svn
« Reply #2 on: April 14, 2010, 06:30:26 pm »
what ??
again, you mean?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: instaling cb svn
« Reply #3 on: April 14, 2010, 07:10:38 pm »
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!]

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: instaling cb svn
« Reply #4 on: April 14, 2010, 07:21:58 pm »
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.
« Last Edit: April 14, 2010, 08:10:21 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: instaling cb svn
« Reply #5 on: April 14, 2010, 08:39:04 pm »
Make sure you have wxWidgets development packages installed.
How they are called depends on your linux distribution.

Offline tehybh

  • Single posting newcomer
  • *
  • Posts: 5
Re: instaling cb svn
« Reply #6 on: April 14, 2010, 11:50:34 pm »
I have ubuntu.
I have libwxgtk2.8-dev, is that enough ?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: instaling cb svn
« Reply #7 on: April 15, 2010, 12:22:51 am »
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.

Offline tehybh

  • Single posting newcomer
  • *
  • Posts: 5
Re: instaling cb svn
« Reply #8 on: April 15, 2010, 05:43:29 am »
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 ?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: instaling cb svn
« Reply #9 on: April 15, 2010, 06:51:47 am »
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?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: instaling cb svn
« Reply #10 on: April 15, 2010, 08:00:19 am »
And don't forget, if a configure-script asks you to install a package, you normally need the development pacakages, not just the binaries .

Offline tehybh

  • Single posting newcomer
  • *
  • Posts: 5
Re: instaling cb svn
« Reply #11 on: April 16, 2010, 04:44:22 am »
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 ?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: instaling cb svn
« Reply #12 on: April 16, 2010, 07:11:10 am »
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 ).