Author Topic: installing nightly builds under ubuntu (amd64)  (Read 4094 times)

kad

  • Guest
installing nightly builds under ubuntu (amd64)
« on: August 12, 2006, 03:44:22 pm »
Don't know if this interests someone but I'll post my solution to get CB binary running under amd64 ubuntu .
this methode may also work with other amd64 distros.

the methode :
 * download the latest codeblocks nightly build
 * install it using : dpkj -i --force-architecture CB_XXXXXXX_revxxxx_Ubuntuxxxx.deb
 * install libia32 (not sure if is really needed )
at this point if you try to run codeblocks you'll get an error message telling you that libcodeblocks.so.0 is missing !

 * to fix this you only have to move libcodeblocks from /usr/lib to /usr/lib32 : mv /usr/lib/libcodeblocks.* /usr/lib32/

now codeblocks will refuse to run and if you type : ldd /usr/bin/codeblocks  you will see some lines telling you that some libraries libwx_xxxx.so.xxx are not found, this is because codeblocks can't find 32bit versions of those libraries

in my case, all libraries named libwx_* was missing, those libraries are part of libwxgtk2 so the solution is to download the 32b version of libwxgtk and install it manually

use google to download libwxgtk2.6-0_2.6.1.2ubuntu2_i386.deb

NOTE : DON'T install this package with dpkj !!!! this may replace your 64b libraries and break applications using wxgtk !

* intalling libwxgtk32:
   - first step you have to install alien (a program that allows you to convert .deb to other package format)
     to install alien just type : sudo apt-get install alien
   - now create a temp directory (lets call it ~/temp) and move libwxgtk2.6-0_2.6.1.2ubuntu2_i386.deb to it
   - move to this directory and type : alien -t libwxgtk2.6-0_2.6.1.2ubuntu2_i386.deb
   - you will get a file called libwxgtk2.6-0-2.6.1.2ubuntu2.tgz
   - type : tar -xvzf libwxgtk2.6-0-2.6.1.2ubuntu2.tgz
   - you'll get a usr directory containing a lib directory and a share directory
   - now type : sudo mv ~/temp/usr/lib/*  /usr/lib32/   

you're done :)


   -

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: installing nightly builds under ubuntu (amd64)
« Reply #1 on: August 12, 2006, 06:39:23 pm »
May I ask why don't you just install the amd64 package?!  :shock:
Be patient!
This bug will be fixed soon...

kad

  • Guest
Re: installing nightly builds under ubuntu (amd64)
« Reply #2 on: August 12, 2006, 07:38:19 pm »
coz I didn't find amd64 packages for nightly builds . . . =/

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: installing nightly builds under ubuntu (amd64)
« Reply #3 on: August 12, 2006, 07:41:20 pm »
The last one is this: http://prdownload.berlios.de/codeblocks/codeblocks_svn-2758-ubuntu_amd64.deb.

They do get updated but not as often as other packages.
Be patient!
This bug will be fixed soon...