User forums > General (but related to Code::Blocks)

Compiling Code::Blocks: ./bootstrap command errors.

(1/7) > >>

spflanze:
I am attempting to follow the instructions at:
https://wiki.wxwidgets.org/Installing_and_configuring_under_Ubuntu
I already have wxGTK installed (see my final post in the thread: http://forums.codeblocks.org/index.php/topic,23067.new.html). So I skipped to the heading "Code::Blocks installation".

In the development directory I did this command sequence:

--- Code: ---svn checkout http://svn.code.sf.net/p/codeblocks/code/trunk
cd trunk
./bootstrap
--- End code ---
and got these errors:

--- Code: ---...
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:141: warning: macro 'AM_OPTIONS_WXCONFIG' not found in library
configure.ac:142: warning: macro 'AM_PATH_WXCONFIG' not found in library
...
src/base/tinyxml/Makefile.am: installing './depcomp'
configure.ac:141: error: possibly undefined macro: AM_OPTIONS_WXCONFIG
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:142: error: possibly undefined macro: AM_PATH_WXCONFIG

--- End code ---
What is to be done about these errors?
I attempted to ignore those errors and proceed with the commands:

--- Code: ---./configure
 make
--- End code ---
But got the error:

--- Code: ---make: *** No targets specified and no makefile found.  Stop.

--- End code ---

oBFusCATed:
You need to have at least one version of wxgtk-dev/devel package installed system wide. Or you need to set the am path to point to the wxwin.m4 file.

spflanze:
I have this file in the path:
/home/me/Packages/wxWidgets-3.0.3/wxwin.m4
This is not system wide.

What is this "am path" and how is it set?

stahta01:
I am guessing on this
http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Linux


--- Quote ---...then aclocal is having trouble finding the wxWidgets .m4 files. You can do one of two things: To just get bootstrap to find the path this time do:

export ACLOCAL_FLAGS="-I `wx-config --prefix`/share/aclocal"
To change the aclocal search path more permanently do:

echo `wx-config --prefix`/share/aclocal >> /usr/share/aclocal/dirlist

--- End quote ---

Tim S.

Krice:
I have the same problem, but also wx-config isn't found, should it be added to path or something like that? I think wxwidgets compiled ok. I'm trying to compile C::B on OSX (latest version). By the way, why it is this difficult? I already had tons of problems trying to compile wxwidgets, because the readme instructions were not correct.

Navigation

[0] Message Index

[#] Next page

Go to full version