Author Topic: Ubuntu 8.10 crashed - How resume updates via Ubuntu 10.04?  (Read 5255 times)

Offline resander

  • Multiple posting newcomer
  • *
  • Posts: 49
My Ubuntu 8.10 got corrupted and I had to recover by installing the brand new Ubuntu 10.04.
The updates via Ubuntu 8.10 worked extremely well, but I have not managed to get a fresh codeblocks via the Ubuntu 10.04 update manager.

I added this to the etc/apt/sources.list:

 deb http://apt.jenslody.de/ any main
 deb-src http://apt.jenslody.de/ any main
 deb http://apt.wxwidgets.org/ lenny-wx main

and executed this from the command line:

 sudo apt-get update
 sudo apt-get install jens-lody-debian-keyring
 wget -q http://apt.wxwidgets.org/key.asc -O-  | sudo apt-key add -

and then invoked the Update Manager from the GUI menu.  I also tried sudo apt-get update from the command line. They both responded that the system is uptodate.

How can I get the latest codeblocks binary to arrive via the Ubuntu 10.04 update manager?


Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Ubuntu 8.10 crashed - How resume updates via Ubuntu 10.04?
« Reply #1 on: May 03, 2010, 04:37:58 pm »
Even if it's not the cause for your problems: my packages do not work with the wxwidgets-packages shipped with ubuntu 9.10 and most likely aslo not wit the ones shipped with 10.04, because of incompatible changes in ubuntu's wxwidgets libs.

You can try pasgui's repo: http://lgp203.free.fr/spip/spip.php?article1 .

Offline resander

  • Multiple posting newcomer
  • *
  • Posts: 49
Re: Ubuntu 8.10 crashed - How resume updates via Ubuntu 10.04?
« Reply #2 on: May 03, 2010, 09:47:17 pm »
Thank you Jens,

As far as I can see and understand Ubuntu 10.04 is not supported in pasgui's repository.

I also tried to get codeblocks from the Synaptic in 10.04 (it refers to codeblocks 8.02 which I think is quite old). I can get the splash screen to appear, but then it just exits.

I have been using codeblocks for nearly two years and I need it now.
What can I do to get it running on 10.04? If it comes to a crunch I could even recompile it from source (which I have never done before), but is that going to work?

If not, what other options do I have to get codeblocks back?

Offline Folco

  • Regular
  • ***
  • Posts: 343
    • Folco's blog (68k lover)
Re: Ubuntu 8.10 crashed - How resume updates via Ubuntu 10.04?
« Reply #3 on: May 03, 2010, 09:53:26 pm »
I don't know if a build from sources will work, but you can use this page to help you : http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux

I am not skilled in compilation, but this page makes the operation really easy, and I succeed in compiling C::B for Fedora.

Another option should be a virtual machine, but it's a lot of work to use an IDE...
Kernel Extremist - PedroM power ©

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Ubuntu 8.10 crashed - How resume updates via Ubuntu 10.04?
« Reply #4 on: May 03, 2010, 10:22:57 pm »
As far as I can see and understand Ubuntu 10.04 is not supported in pasgui's repository.

I think you are not right. See here: http://lgp203.free.fr/ubuntu/ .

I don't know if a build from sources will work, but you can use this page to help you : http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux

I am not skilled in compilation, but this page makes the operation really easy, and I succeed in compiling C::B for Fedora.

Another option should be a virtual machine, but it's a lot of work to use an IDE...

Compiling C::B is quite simple, but VM's are not really hard to setup (depends on the OS, of course).
I have actually 9 linux VM's, one not fully working bsd VM and three windows VM's on my external hdd.
All can be run easily with a simple starting-script on my laptop (debian unstable 64 bit) with kvm, and they all are fast enough to compile C::B and work with it (we have much slower pc's to run the webinterfaces of our controllers at work) .

But I suggest to have a look at pasgui's repo first and if that does not fit your needs try to self-compile C::B.
A VM is only needed if nothing else works (or for testing purposes as I have it here).

Offline kencamargo

  • Multiple posting newcomer
  • *
  • Posts: 110
Re: Ubuntu 8.10 crashed - How resume updates via Ubuntu 10.04?
« Reply #5 on: May 05, 2010, 10:32:19 pm »

As far as I can see and understand Ubuntu 10.04 is not supported in pasgui's repository.

I also tried to get codeblocks from the Synaptic in 10.04 (it refers to codeblocks 8.02 which I think is quite old). I can get the splash screen to appear, but then it just exits.

I have been using codeblocks for nearly two years and I need it now.
What can I do to get it running on 10.04? If it comes to a crunch I could even recompile it from source (which I have never done before), but is that going to work?

If not, what other options do I have to get codeblocks back?


FWIW, I have it running under Lucid (10.4) 64 bits with no problems. I am using the official wxWidgets repository, setting the distribution to "jaunty" (the latest ubuntu there). From what I read you are using "lenny", which is a Debian version, I believe the problem might be there.

Ken

Offline pasgui

  • Almost regular
  • **
  • Posts: 165
    • LGP
Re: Ubuntu 8.10 crashed - How resume updates via Ubuntu 10.04?
« Reply #6 on: May 06, 2010, 01:14:28 am »
As far as I can see and understand Ubuntu 10.04 is not supported in pasgui's repository.

Codeblocks for lucid works fine for me even if the http://lgp203.free.fr/spip/ is not up to date.

Installed with the wxWidgets provided into ubuntu lucid.

best regards, pasgui

Offline resander

  • Multiple posting newcomer
  • *
  • Posts: 49
Re: Ubuntu 8.10 crashed - How resume updates via Ubuntu 10.04?
« Reply #7 on: May 07, 2010, 08:49:57 am »
I managed to install version 6181 from Ubuntu's synaptic. It did not work at first because a library component had been pulled in from Jens's 6206 repository (don't know when and how) and clashed with the same component from 6181. I uninstalled the 6206 component and then repeated the synaptic codeblocks installation. It installed ok.

However, the current project did not link. A strange message like '-pthread is not a valid option' came up and one of the W compiler warnings was also in the link options list. I backup my entire project to CD daily and the last backup was for 6206 and that was the one I used with 6181. I respecified sources and options manually and then compile and link worked. Maybe there have been some changes to the internal data structures of the build options after 6181.