News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Building C::B from SVN is a problem.

Started by Ptomaine, February 23, 2007, 04:08:42 AM

Previous topic - Next topic

Ptomaine

1) I've downloaded the latest SVN.
2) ran a ./bootstrap (it completed with no errors).
3) ran ./configure ... and in a few moments it's displayed an error: "cannot find file: Makefile"

I've checked it out and found Makefile.in and Makefile.am at its places. No "Makefile"s were generated.

any solutions will be appreciated.

killerbot

are the autotools and automake installed ??

Ptomaine

Quote from: killerbot on February 23, 2007, 07:30:30 AM
are the autotools and automake installed ??

Sure, they are. Otherwise bootstrap should print an error.
(I'm using openSuSE Linux 10.2 x86_64)

Ptomaine

This is the exact term output:
...
checking for pkg-config... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK2... yes
checking for wx-config... /usr/local/bin/wx-config
checking for wxWidgets version >= 2.6.0... yes (version 2.8.0)
checking for wxWidgets static library... no
configure: Configuring Code::Blocks...
configure: SVN revision trunk-r3639 (2007-02-23 23:40:54)
configure: creating ./config.status
.infig.status: error: cannot find input file: Makefile


Biplab

I'm not sure whether this could be the cause or not but your pc has wx-2.8.0 by default. Officially C::B does not support wx-2.8.0.

You can try typing the following command (Based on the solution posted in http://forums.next.codeblocks.org/index.php?topic=5247.msg40910#msg40910 )-
./configure --enable-contrib --with-wx-config=wx-config-2.6

Don't flame me if that doesn't work. ;)
Be a part of the solution, not a part of the problem.

mandrav

.infig.status: error: cannot find input file: Makefile

Your files have DOS line endings instead of unix. This is the problem. Did you copy the source code from a windows machine? If yes, it doesn't work that way. Checkout a new copy from svn...
Be patient!
This bug will be fixed soon...

Ptomaine

Quote from: mandrav on February 25, 2007, 12:52:17 AM
.infig.status: error: cannot find input file: Makefile

Your files have DOS line endings instead of unix. This is the problem. Did you copy the source code from a windows machine? If yes, it doesn't work that way. Checkout a new copy from svn...

Yes, you're absolutely right!
Thank you ever so much!

Ptomaine

Quote from: Biplab on February 24, 2007, 09:36:32 PM
I'm not sure whether this could be the cause or not but your pc has wx-2.8.0 by default. Officially C::B does not support wx-2.8.0.

C::B perfectly compiles under wx-2.8.0 with a few corrections of some files in the wxSmith plugin.
wx-2.8.0 has backward compatibility macro definitions for wx-2.6. C::B compiles almost flawlessly even without setting that macro.