User forums > Using Code::Blocks

Buidling from CVS - bootstrap error

<< < (3/6) > >>

tiwag:

--- Quote from: mandrav ---What did you do with these files? :P

--- End quote ---
maybe it was no good idea to use a fresh codeblocks cvs -update copy from windows (which i already had) !

this time i have checked out a fresh codeblocks copy using ubuntu cvs and now it builds smoothly :)
thanks for your hints !

...some coffees later...
My CodeBlocks.CVS.HEAD is running fine now under Ubuntu :)


WHAT HAPPENED ?

explanation:
when i built my last Code::Blocks version under Ubuntu ( RC1 ,  using the older makefile.unix build system),
i just copied the fresh cvs-files from windows to unix and then it was building fine using gcc-make.
This time time i thought, i can do it the same way, but the new autotools config is obviously not working
with DOS line-ending conventions.

conclusio:
i'll go and write a warning in the install-wiki that it's vital for using the autotools, that C::B was checked out from CVS
using the linux-cvs (at least when using ubuntu, don't know if other linux distrib's have the same problems).

right?

mandrav:

--- Quote ---right?
--- End quote ---

Right  8)
This is true for all Linux distros. Autotools expect unix line endings in their configuration files.

yop:
I just opened the file after also copying from windows with an editor in Linux, made a do nothing change (like adding a linefeed) and saved again and voila no LF/CR endings. But I am dealing with another problem here. I just succesfully compiled code::blocks in my Linux box (Suse 9.3, gcc3.3.5, wxWidgets 2.6.2, code::blocks 1.0 CVS) but when I run the app the compiler plugin does not load. The plugin has been build (I can see it in the plugins directory an the resources zip in the share/codeblocks/ directory) but it's nowhere to be seen in the actual app
--- Quote ---Found 8 plugins: AStylePlugin CodeStatistics ToDoList DefaultMimeHandler PluginWizard DebuggerGDB ClassWizard CodeCompletion
--- End quote ---
Any ideas?

Ceniza:
I was having the problem of "AM_OPTIONS_WXCONFIG and AM_PATH_WXCONFIG not found in library" and none of the help here worked for me on Kubuntu.

I just tried installing another wx package called wx-common and it solved it.

I hope it be of any use.

rathapolk:
Hello,
I have tried to build C::B from CVS on my Fedora Core 4 by the direction in the WiKi. I successfully built wxWidgets 2.6.1. When I try rpmbuild, it runs until bootstrap and it has errors like...

./bootstrap
You should update your `aclocal.m4' by running aclocal.
src/plugins/astyle/Makefile.am:10: Libtool library used but `LIBTOOL' is undefined
src/plugins/astyle/Makefile.am:10:
src/plugins/astyle/Makefile.am:10: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/astyle/Makefile.am:10: to `configure.in' and run `aclocal' and `autoconf' again.
src/plugins/classwizard/Makefile.am:9: Libtool library used but `LIBTOOL' is undefined
src/plugins/classwizard/Makefile.am:9:
src/plugins/classwizard/Makefile.am:9: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/classwizard/Makefile.am:9: to `configure.in' and run `aclocal' and `autoconf' again.
(there are more... )

I tried to update the latest version of gcc and libtool, but that didnt help.
Please help me. I am very new to Linux.

thanks,
rathapolk

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version