User forums > Using Code::Blocks

Missing files to compile with Autotools

(1/6) > >>

fiammy:
Hello,

I checked out the latest version from CVS, and tried the different steps to use the Autotools =

autoconf
automake
./configure

but when I do the automake, I get these error messages:

fiammy@dx6100-003:~/Programming/codeblocks> automake
configure.in: required file `./install-sh' not found
configure.in: required file `./missing' not found
src/plugins/astyle/Makefile.am: required file `./depcomp' not found
Makefile.am: required file `./INSTALL' not found


could it be that some files are missing at the moment from CVS?

Thanks

mandrav:
Nothing 's missing, AFAIK.
As soon as you check out from CVS, you must run ./bootstrap ;)

fiammy:
That's right. Sorry.
That part works now.
I seem to have another problem. When I try to execute make with the standard vanilla SuSE 9.3 wxWidgets (2.5.3), I guess it is compiled with unicode included. Is there a way to tell the configure script to add (experimental, I know) support for unicode?

Thank you,
David

mandrav:
It should detect it automatically. To guess wxWidgets settings, it's using wx-config after all...
If you 're having trouble, please post the output of 'configure' or 'make', whichever gives you problems.

fiammy:
Well, I did make a 2.6.1 version, but I 'deinstalled' it, because I want to see what a vanilla SuSE installation can do with Code::Blocks. If it installs easily in that environment, you're more likely to get users that when you need to do some strange voodoo ritual to have 2 coexisting wxWidgets releases...

I think I removed all the files the wxWidgets 2.6.1 installation added to my system (sorry, 'our' system as my girlfriend expects me to say :-) ), so there's no wx-config any more... It detects the wxWidgets release 2.5.3 during configure :
---- snip ----
checking for vsnprintf... yes
checking whether to enable debugging... no
checking whether to build the source formatter plugin... yes
checking whether to build the class wizard plugin... yes
checking whether to build the code completion plugin... yes
checking whether to build the compiler plugin... yes
checking whether to build the debugger plugin... yes
checking whether to build the default MIME handler plugin... yes
checking whether to build the plugin wizard plugin... yes
checking whether to build the to-do plugin... yes
checking for wx-config... /usr/bin/wx-config
checking for wxWindows version >= 2.4.2... ls: wx*-2.4-config: No such file or directory
ls: wx*-2.4-config: No such file or directory

  Warning: No config found to match: /usr/bin/wx-config --static --libs
           in /usr/lib64/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

yes (version 2.5.3)
configure: Configuring Code::Blocks...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/sdk/Makefile
config.status: creating src/sdk/tinyxml/Makefile
config.status: creating src/sdk/wxscintilla/Makefile
config.status: creating src/sdk/resources/Makefile
config.status: creating src/sdk/resources/lexers/Makefile
config.status: creating src/src/wxDockit/Makefile
config.status: creating src/src/resources/Makefile
config.status: creating src/src/resources/icons/Makefile
config.status: creating src/src/resources/images/Makefile
config.status: creating src/src/resources/images/16x16/Makefile
config.status: creating src/src/Makefile
config.status: creating src/plugins/Makefile
---- snip ----

But, alas, it still fails :-(
-- snip ---
LES -MT wxscintilla.lo -MD -MP -MF ".deps/wxscintilla.Tpo" -c -o wxscintilla.lo `test -f 'src/wxscintilla.cpp' || echo './'`src/wxscintilla.cpp; \
then mv -f ".deps/wxscintilla.Tpo" ".deps/wxscintilla.Plo"; else rm -f ".deps/wxscintilla.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/sdk -I/usr/lib64/wx/include/gtk2-unicode-release-2.5 -I/usr/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I./include -I./src/scintilla/include -I./src/scintilla/src -DSCI_LEXER -DLINK_LEXERS -DGTK -I/usr/lib64/wx/include/gtk2-unicode-release-2.5 -I/usr/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -g -O2 -O2 -ffast-math -I/usr/lib64/wx/include/gtk2-unicode-release-2.5 -I/usr/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -MT wxscintilla.lo -MD -MP -MF .deps/wxscintilla.Tpo -c src/wxscintilla.cpp  -fPIC -DPIC -o .libs/wxscintilla.o
src/wxscintilla.cpp: In member function `wxCharBuffer
   wxScintilla::GetCurLineRaw(int*)':
src/wxscintilla.cpp:2815: error: no matching function for call to `wxCharBuffer
   ::wxCharBuffer()'
/usr/include/wx-2.5/wx/buffer.h:96: error: candidates are:
   wxCharBuffer::wxCharBuffer(const wxCharBuffer&)
/usr/include/wx-2.5/wx/buffer.h:96: error:
   wxCharBuffer::wxCharBuffer(long unsigned int)
/usr/include/wx-2.5/wx/buffer.h:96: error:
   wxCharBuffer::wxCharBuffer(const char*)
src/wxscintilla.cpp: In member function `wxCharBuffer
   wxScintilla::GetLineRaw(int)':
src/wxscintilla.cpp:2827: error: no matching function for call to `wxCharBuffer
   ::wxCharBuffer()'
/usr/include/wx-2.5/wx/buffer.h:96: error: candidates are:
   wxCharBuffer::wxCharBuffer(const wxCharBuffer&)
/usr/include/wx-2.5/wx/buffer.h:96: error:
   wxCharBuffer::wxCharBuffer(long unsigned int)
/usr/include/wx-2.5/wx/buffer.h:96: error:
   wxCharBuffer::wxCharBuffer(const char*)
src/wxscintilla.cpp: In member function `wxCharBuffer
   wxScintilla::GetSelectedTextRaw()':
src/wxscintilla.cpp:2841: error: no matching function for call to `wxCharBuffer
   ::wxCharBuffer()'
/usr/include/wx-2.5/wx/buffer.h:96: error: candidates are:
   wxCharBuffer::wxCharBuffer(const wxCharBuffer&)
/usr/include/wx-2.5/wx/buffer.h:96: error:
   wxCharBuffer::wxCharBuffer(long unsigned int)
/usr/include/wx-2.5/wx/buffer.h:96: error:
   wxCharBuffer::wxCharBuffer(const char*)
src/wxscintilla.cpp: In member function `wxCharBuffer
   wxScintilla::GetTextRangeRaw(int, int)':
src/wxscintilla.cpp:2857: error: no matching function for call to `wxCharBuffer
   ::wxCharBuffer()'
/usr/include/wx-2.5/wx/buffer.h:96: error: candidates are:
   wxCharBuffer::wxCharBuffer(const wxCharBuffer&)
/usr/include/wx-2.5/wx/buffer.h:96: error:
   wxCharBuffer::wxCharBuffer(long unsigned int)
/usr/include/wx-2.5/wx/buffer.h:96: error:
   wxCharBuffer::wxCharBuffer(const char*)
make[4]: *** [wxscintilla.lo] Error 1
make[4]: Leaving directory `/home/fiammy/Programming/codeblocks/src/sdk/wxscintilla'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/fiammy/Programming/codeblocks/src/sdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/fiammy/Programming/codeblocks/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fiammy/Programming/codeblocks/src'
make: *** [all-recursive] Error 1
--- snip ---

Any help would be appreciated :-)

Thanks

Navigation

[0] Message Index

[#] Next page

Go to full version