Author Topic: CodeBlocks 10.05 can't be sucessfully compiled on Ubuntu 10.04 server(64bit)  (Read 4180 times)

Offline eweb2009

  • Multiple posting newcomer
  • *
  • Posts: 14
C:B10.05 svn 6285 was successfully built on Ubuntu 9.10 desktop (32bit). But it failed in compilation on Ubuntu 10.04 server (64 bit).

The following are partial messages during "make":

make[3]: Entering directory `/home/.../Downloads/CodeBlocks-10.05-svn6454/src/tools'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/.../Downloads/CodeBlocks-10.05-svn6454/src/tools'
make[2]: Leaving directory `/home/.../Downloads/CodeBlocks-10.05-svn6454/src/tools'
Making all in templates
make[2]: Entering directory `/home/.../Downloads/CodeBlocks-10.05-svn6454/src/templates'
Making all in common
make[3]: Entering directory `/home/.../Downloads/CodeBlocks-10.05-svn6454/src/templates/common'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/.../Downloads/CodeBlocks-10.05-svn6454/src/templates/common'
Making all in unix

The version of wxGTK is 2.8.10 that was built-in with Ubuntu 10.04 server. Do I miss some libraries of wxGTK or something else? it was compiled successfully on ubuntu 9.10 desktop (32 bit).

Your kind help is greatly appreciated.
  


« Last Edit: August 08, 2010, 04:50:00 pm by eweb2009 »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Is it a fresh svn source-tree ?
If not, did you run make clean before make ?
Do you have the wxwidgets dev-packages (including wx-common) installed ?

Offline eweb2009

  • Multiple posting newcomer
  • *
  • Posts: 14

Jens; Thank you for your response.


Is it a fresh svn source-tree ?
Yes.  I downloaded revisions 6285 and 6454, and also your posted clean release source package. Neither can be compiled and similar error during compilation.

If not, did you run make clean before make ?
I run make clean and make distclean when re-compiling the source.

Do you have the wxwidgets dev-packages (including wx-common) installed ?

I strictly followed the installation procedure as described on "install C:B from source on Linux", installed wxwidget dev-packages including wx-common. The version is 2.8.10.




















« Last Edit: August 08, 2010, 04:50:45 pm by eweb2009 »

Offline eweb2009

  • Multiple posting newcomer
  • *
  • Posts: 14
Is it a fresh svn source-tree ?
If not, did you run make clean before make ?
Do you have the wxwidgets dev-packages (including wx-common) installed ?

I just installed C:B using "sudo make install", there is an error when running C:B in terminal:

codeblocks: error while loading shared libraries: libcodeblocks.so.0: cannot open shared object file: No such file or directory

although I believe this is due to something wrong during C:B compilation, I can't find the reason of the error.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
That can happen if C::B is not installed in system-default folder, but below /usr/local (happens, if configured if --prefix is not /usr).
 You should read this: http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29#Resolving_issues.