Author Topic: [debian sarge] help for installation of c::b rc2 needed  (Read 6060 times)

polkick

  • Guest
[debian sarge] help for installation of c::b rc2 needed
« on: January 21, 2006, 09:47:15 pm »
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) .
Despite the use of "fromdos" for ./boostrap, ./configure.in, Makefile.in and .am, I unfortunately get this message when running ./boostrap:
Code
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):
Code
(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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: [debian sarge] help for installation of c::b rc2 needed
« Reply #1 on: January 21, 2006, 10:05:39 pm »
The wiki needs to be corrected...
Your distro's binary wx library is just fine, no need to build it yourself. The reason it's failing is because of some DOS line-endings in configure.in. Do a search for ".infig.status" and you 'll find the solution.

Although I must say you should really prefer to install current SVN HEAD. It is much more stable and has many more new features ;).
Be patient!
This bug will be fixed soon...

polkick

  • Guest
Re: [debian sarge] help for installation of c::b rc2 needed
« Reply #2 on: January 22, 2006, 01:00:11 am »
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):
Code
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:
Code
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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: [debian sarge] help for installation of c::b rc2 needed
« Reply #3 on: January 22, 2006, 09:10:04 am »
Revision 1827 has the fix.
Be patient!
This bug will be fixed soon...

polkick

  • Guest
Re: [debian sarge] help for installation of c::b rc2 needed
« Reply #4 on: January 22, 2006, 12:53:33 pm »
Works just fine  :D :D :D
I'm going to post on my IT school's forum to explain how make it works  :)

Thanks for your help!

neoclust

  • Guest
Re: [debian sarge] help for installation of c::b rc2 needed
« Reply #5 on: March 03, 2008, 11:48:00 pm »
The wiki needs to be corrected...
Your distro's binary wx library is just fine, no need to build it yourself. The reason it's failing is because of some DOS line-endings in configure.in. Do a search for ".infig.status" and you 'll find the solution.

Although I must say you should really prefer to install current SVN HEAD. It is much more stable and has many more new features ;).

i encounter this problem, i done :

dos2unix configure.in      but  i still have the problem


 /bin/sh ./config.status
.infig.status: error: cannot find input file: Makefile
make: *** [Makefile] Error 1