Author Topic: installing codeblocks on Solaris  (Read 4724 times)

Offline nsiprof

  • Single posting newcomer
  • *
  • Posts: 4
installing codeblocks on Solaris
« on: December 01, 2010, 05:44:50 pm »
We are having trouble installing Code::Blocks on Solaris 11, on an x86 machine.

We tried following the instructions on

http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Solaris

but it did not compile.

Any help would be appreciated.


Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13165
    • Travis build status
Re: installing codeblocks on Solaris
« Reply #1 on: December 01, 2010, 06:00:32 pm »
Hm, probably you'll have to post the part of the build log containing the errors :)
We don't have magic balls, so we can't guess what is the problem :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline goetz

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: installing codeblocks on Solaris
« Reply #2 on: December 02, 2010, 04:35:24 pm »
Here are details on the install:

This is x86/amd64 Solaris 11 express, which is build 151a on a Sun ultra40 M2.

codeblocks-10.05-release:

./configure produces Makefiles  with -mt flags
  after correcting the Makefiles to change -mt to -pthread

and adding links /usr/lib/libCstd.so => /usr/lib/libCstd.so.1 and
   /usr/lib/amd64/libCstd.so => /usr/lib/amd64/libCstd.so.1


/users1/sysadm/codeblk/codeblocks-10.05-release:

 gmake >  gmake.out  2>&1

gmake.out:

Making all in src
gmake[1]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src'
Making all in base
gmake[2]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/base'
Making all in tinyxml
gmake[3]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/base/tinyxml'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/base/tinyxml'
gmake[3]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/base'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/base'
gmake[2]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/base'
Making all in build_tools
gmake[2]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/build_tools'
Making all in autorevision
gmake[3]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/build_tools/autorevision'
./auto_revision +int +wx +t ../../.. ../../../src/include/autorevision.h
svn: Path '../../..' ends in '..', which is unsupported for this operation
gmake[3]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/build_tools/autorevision'
gmake[3]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/build_tools'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/build_tools'
gmake[2]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/build_tools'
Making all in include
gmake[2]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/include'
gmake  all-recursive
gmake[3]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/include'
Making all in scripting
gmake[4]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/include/scripting'
Making all in squirrel
gmake[5]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/include/scripting/squirrel'
gmake[5]: Nothing to be done for `all'.
gmake[5]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/include/scripting/squirrel'
Making all in sqstdlib
gmake[5]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/include/scripting/sqstdlib'
gmake[5]: Nothing to be done for `all'.
gmake[5]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/include/scripting/sqstdlib'
Making all in sqplus
gmake[5]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/include/scripting/sqplus'
gmake[5]: Nothing to be done for `all'.
gmake[5]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/include/scripting/sqplus'
Making all in bindings
gmake[5]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/include/scripting/bindings'
gmake[5]: Nothing to be done for `all'.
gmake[5]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/include/scripting/bindings'
Making all in include
gmake[5]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/include/scripting/include'
gmake[5]: Nothing to be done for `all'.
gmake[5]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/include/scripting/include'
gmake[5]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/include/scripting'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/include/scripting'
gmake[4]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/include/scripting'
Making all in tinyxml
gmake[4]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/include/tinyxml'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/include/tinyxml'
gmake[4]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/include'
gmake[4]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/include'
gmake[3]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/include'
gmake[2]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/include'
Making all in mime
gmake[2]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/mime'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/mime'
Making all in sdk
gmake[2]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk'
Making all in scripting
gmake[3]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk/scripting'
Making all in squirrel
gmake[4]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk/scripting/squirrel'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk/scripting/squirrel'
Making all in sqstdlib
gmake[4]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk/scripting/sqstdlib'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk/scripting/sqstdlib'
Making all in sqplus
gmake[4]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk/scripting/sqplus'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk/scripting/sqplus'
Making all in bindings
gmake[4]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk/scripting/bindings'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk/scripting/bindings'
gmake[4]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk/scripting'
gmake[4]: Nothing to be done for `all-am'.
gmake[4]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk/scripting'
gmake[3]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk/scripting'
Making all in wxscintilla
gmake[3]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk/wxscintilla'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk/wxscintilla'
Making all in resources
gmake[3]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk/resources'
Making all in lexers
gmake[4]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk/resources/lexers'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk/resources/lexers'
gmake[4]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk/resources'
gmake[4]: Nothing to be done for `all-am'.
gmake[4]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk/resources'
gmake[3]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk/resources'
gmake[3]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk'
gmake[2]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/sdk'
Making all in src
gmake[2]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/src'
Making all in resources
gmake[3]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/src/resources'
Making all in icons
gmake[4]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/src/resources/icons'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/src/resources/icons'
Making all in images
gmake[4]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/src/resources/images'
Making all in 16x16
gmake[5]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/src/resources/images/16x16'
gmake[5]: Nothing to be done for `all'.
gmake[5]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/src/resources/images/16x16'
Making all in settings
gmake[5]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/src/resources/images/settings'
gmake[5]: Nothing to be done for `all'.
gmake[5]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/src/resources/images/settings'
gmake[5]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/src/resources/images'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/src/resources/images'
gmake[4]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/src/resources/images'
gmake[4]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/src/resources'
gmake[4]: Nothing to be done for `all-am'.
gmake[4]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/src/resources'
gmake[3]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/src/resources'
gmake[3]: Entering directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/src'
g++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -D_REENTRANT -I../../src/sdk/wxscintilla/include -I../../src/include -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -DENABLE_BINRELOC -DAPP_PREFIX="\"/usr/local\"" -Ulinux -Uunix  -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT app.o -MD -MP -MF .deps/app.Tpo -c -o app.o app.cpp
/usr/gcc/4.3/lib/gcc/i386-pc-solaris2.11/4.3.3/../../../../include/c++/4.3.3/bits/boost_concept_check.h: In member function 'void __gnu_cxx::_SGIAssignableConcept<_Tp>::__constraints() [with _Tp = const wxString]':
/usr/gcc/4.3/lib/gcc/i386-pc-solaris2.11/4.3.3/../../../../include/c++/4.3.3/bits/stl_map.h:103:   instantiated from 'std::map<int, const wxString, std::less<int>, std::allocator<std::pair<const int, const wxString> > >'
main.h:327:   instantiated from here
/usr/gcc/4.3/lib/gcc/i386-pc-solaris2.11/4.3.3/../../../../include/c++/4.3.3/bits/boost_concept_check.h:209: error: passing 'const wxString' as 'this' argument of 'wxString& wxString::operator=(const wxString&)' discards qualifiers
/usr/gcc/4.3/lib/gcc/i386-pc-solaris2.11/4.3.3/../../../../include/c++/4.3.3/bits/boost_concept_check.h: In member function 'void __gnu_cxx::_SGIAssignableConcept<_Tp>::__const_constraints(const _Tp&) [with _Tp = const wxString]':
/usr/gcc/4.3/lib/gcc/i386-pc-solaris2.11/4.3.3/../../../../include/c++/4.3.3/bits/boost_concept_check.h:210:   instantiated from 'void __gnu_cxx::_SGIAssignableConcept<_Tp>::__constraints() [with _Tp = const wxString]'
/usr/gcc/4.3/lib/gcc/i386-pc-solaris2.11/4.3.3/../../../../include/c++/4.3.3/bits/stl_map.h:103:   instantiated from 'std::map<int, const wxString, std::less<int>, std::allocator<std::pair<const int, const wxString> > >'
main.h:327:   instantiated from here
/usr/gcc/4.3/lib/gcc/i386-pc-solaris2.11/4.3.3/../../../../include/c++/4.3.3/bits/boost_concept_check.h:214: error: passing 'const wxString' as 'this' argument of 'wxString& wxString::operator=(const wxString&)' discards qualifiers
gmake[3]: *** [app.o] Error 1
gmake[3]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/users1/sysadm/codeblk/codeblocks-10.05-release/src'
gmake: *** [all-recursive] Error 1

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13165
    • Travis build status
Re: installing codeblocks on Solaris
« Reply #3 on: December 02, 2010, 04:53:46 pm »
What is your wxGTK version?
Also, please use code tags for long pastes
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline goetz

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: installing codeblocks on Solaris
« Reply #4 on: December 02, 2010, 07:26:48 pm »
pkg-config --version wxGTK
0.23

wx-config --version
2.8.10

Thanks

Offline frollo

  • Single posting newcomer
  • *
  • Posts: 2
Re: installing codeblocks on Solaris
« Reply #5 on: January 09, 2011, 11:22:56 am »
Is there any progress in you installation ? Last week I solved similar problems with Codeblocks on my OpenSolaris installation. Yesterday I finally managed to finalize compilation.

Offline goetz

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: installing codeblocks on Solaris
« Reply #6 on: January 10, 2011, 04:11:38 pm »
No progress yet. How did you solve your problem?

Lawrence