User forums > Help

Going through hell trying to compile codeblocks

(1/2) > >>

nehpilim:
Hi guys. I'm trying to compile codeblocks 1.0rc2 for slackware (the binary is broken).

First, the bootstrap gave errors...searching, I had to use dos2unix. Then aclocal gave me issues, so I searched some more, and exported my aclocal path.

Now, configure is giving me a hard time!

checking if the compiler supports precompiled headers... yes
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
config.status: creating Makefile
.infig.status: error: cannot find input file: Makefile

I cannot imagine what its problem is, or what this means. I've deleted the directory twice and tried to start over, both times the same result.

Argh, somebody help me :(

rickg22:
nehpilim: Perhaps you might be interested in downloading the latest SVN builds / sources, RC2 had a lot of problems wth the build. Sorry I can't be of any more help, but it's because I don't have Linux :-P

Can anyone else help nehpilim with his compiling troubles?

Michael:
Hello,

I would like to suggest a search in the forum for, e.g., slackware. There are some posts which might be helpful.

And also, as rickg22 suggests, give a try to the SVN sources.

Best wishes,
Michael

polkick:
Take a look a this topic: http://forums.codeblocks.org/index.php?topic=2079.msg16330#msg16330
Even if a compile CB under debian sarge, I know a little bit slackaware, so I think it's going to work for you
-> Get the last version from SVN (http://www.codeblocks.org/source_code.shtml) then just

--- Code: ---./bootstrap
./configure
make
su
make install
exit

--- End code ---

Don't care if you get the errors reported in my last post on the topic...

And be sure you have the following installed (debian packages' names):

--- Code: ---    * libwxgtk2.6-dev
    * zip / unzip (I remember the makefile use it)
    * subversion (to get the sources)
    * autoconf
    * automake
    * autotools-dev
    * libtool (can't rebember if really necessary or not)

--- End code ---

I hope it'll work...

cyberkoa:
the RC2 source was developed under CVS , a lot of LF/NR problem, you need to use dos2unix to convert the bootstrap , configure and all the source file .

Therefore, I highly recommend you download the latest SVN which does not have all this problem, and the building process is just like mentioned
make sure your wxGTK is installed and compiled , and wx-config location is in the PATH


./bootstrap
./configure
make
make install

that's all

cheer
cyberkoa

Navigation

[0] Message Index

[#] Next page

Go to full version