Author Topic: Ubuntu reports relocation error  (Read 12467 times)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9508
Re: Ubuntu reports relocation error
« Reply #15 on: September 02, 2010, 09:09:29 pm »
Is the condescension really necessary, Morten?  I need to use Linux because it is the primary operating system used in the research that I do.
I meant this seriously (as I usually ALWAYS mean things seriously). You didn't tell you are forced to use Linux. With that in mind I wouldn't have said that.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Ubuntu reports relocation error
« Reply #16 on: September 02, 2010, 09:23:08 pm »
Is the condescension really necessary, Morten?  I need to use Linux because it is the primary operating system used in the research that I do.
I meant this seriously (as I usually ALWAYS mean things seriously). You didn't tell you are forced to use Linux. With that in mind I wouldn't have said that.
I personally would never use windows, if I would not be forced to use some tools (on work) that are not abvailable for linux.
I never ever had any windows version that runs flawlessly.

The same is for linux, but on linux, I can fix everything so it fits my needs.

Offline kencamargo

  • Multiple posting newcomer
  • *
  • Posts: 110
Re: Ubuntu reports relocation error
« Reply #17 on: September 03, 2010, 12:31:05 am »
Would (some of) this confusion be removed by adding an INSTALL into the tarball of debs stating exactly which version of the wx libs the package has been built with? There does not seem to be any easy way of extracting this information from the debs themselves - they just report a dependency against wx version 2.8.0.) A similar statement in the Windows versions would also be welcome.

I believe that the exact version of the wx libs can be specified in the .deb packages. But the very simple rule of thumb is: enable the wxwidgets official repository (apt.wxwidgets.org) and use the official C::B release.

From the next version (10.10) onwards, things should be much easier, since C::B is being added to the official Ubuntu repository.

HTH,
Ken

Offline kencamargo

  • Multiple posting newcomer
  • *
  • Posts: 110
Re: Ubuntu reports relocation error
« Reply #18 on: September 03, 2010, 12:32:36 am »
I personally would never use windows, if I would not be forced to use some tools (on work) that are not abvailable for linux.
I never ever had any windows version that runs flawlessly.

The same is for linux, but on linux, I can fix everything so it fits my needs.

<APPLAUSE>

Ken

Offline danh

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: Ubuntu reports relocation error
« Reply #19 on: September 03, 2010, 02:15:24 am »
For anyone else who is getting this problem and is using pasgui's repository, I have found a workaround that only involves using the Synaptic Package Manager.

1) Go to Settings -> Repositories -> Other Software and disable pasgui's repository
2) Reload
3) Go to Settings -> Repositories -> Other Software and re-enable pasgui's repository
4) Reload

This will (I think) force pasgui's version of wx, which is compatible with his version of Code::Blocks.  For me, at least, this will be a sufficient workaround until Code::Blocks v10 is added to the Ubuntu repository.

Thanks again for all the info and advice.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9508
Re: Ubuntu reports relocation error
« Reply #20 on: September 03, 2010, 12:49:56 pm »
<APPLAUSE>
Please, let's not start a OS discussion/flame war here. Choosing the right OS is a personal thing and everyone has different objectives on that topic. For us it's clearly a benefit to have both (all) worlds on board.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Ubuntu reports relocation error
« Reply #21 on: September 03, 2010, 02:29:56 pm »
I might setup a repo with C::B 10.05 release the next days. If I do so, I will post the link here.

Here it is:
entry to /etc/apt/sources.list :
Code: [Select]
deb http://apt.jenslody.de/ any release
deb-src http://apt.jenslody.de/ any release
or see my server.

Offline kencamargo

  • Multiple posting newcomer
  • *
  • Posts: 110
Re: Ubuntu reports relocation error
« Reply #22 on: September 04, 2010, 01:33:37 am »
Please, let's not start a OS discussion/flame war here. Choosing the right OS is a personal thing and everyone has different objectives on that topic. For us it's clearly a benefit to have both (all) worlds on board.

Morten, I am all for it. Would you agree with me that telling a C::B user to stick to Windows is a direct violation of that principle?

Regards,
Ken


Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9508
Re: Ubuntu reports relocation error
« Reply #23 on: September 04, 2010, 09:22:58 pm »
Would you agree with me that telling a C::B user to stick to Windows is a direct violation of that principle?
If the user wants to develop using C::B and cannot get the IDE to run on Linux, then: No. Otherwise: Yes. But that wasn't my intention, obviously. I like and use Linux, too. But when it comes to a quick setup I personally believe Windows is easier to handle. So all I wanted to do is offering a quick solution which seems to offend some users. So I can also just shut up.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline kencamargo

  • Multiple posting newcomer
  • *
  • Posts: 110
Re: Ubuntu reports relocation error
« Reply #24 on: September 04, 2010, 09:34:25 pm »
Would you agree with me that telling a C::B user to stick to Windows is a direct violation of that principle?
If the user wants to develop using C::B and cannot get the IDE to run on Linux, then: No. Otherwise: Yes. But that wasn't my intention, obviously. I like and use Linux, too. But when it comes to a quick setup I personally believe Windows is easier to handle. So all I wanted to do is offering a quick solution which seems to offend some users. So I can also just shut up.

Not really necessary, is it? Let's declare a truce and agree that unless someone wants to run C::B on a Commodore 64, OS choice is off limits. :)

Offline pir

  • Multiple posting newcomer
  • *
  • Posts: 48
Re: Ubuntu reports relocation error
« Reply #25 on: September 15, 2010, 05:26:49 pm »
If this is so, can the message at the bottom of http://www.codeblocks.org/downloads/26 be updated so as not to confuse others.

Yes, I will remove it, after I tested it myself.
[/quote]

Jens, Any chance of removing this (now incorrect) message?

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Ubuntu reports relocation error
« Reply #26 on: September 15, 2010, 06:43:38 pm »
If this is so, can the message at the bottom of http://www.codeblocks.org/downloads/26 be updated so as not to confuse others.

Yes, I will remove it, after I tested it myself.
[ /quote]

Jens, Any chance of removing this (now incorrect) message?
Done, thanks for reminding.

What's about ubuntu 9.10 ?
Does it still not work with ubuntu's packages, or is there an update available also ?

Offline pir

  • Multiple posting newcomer
  • *
  • Posts: 48
Re: Ubuntu reports relocation error
« Reply #27 on: September 15, 2010, 11:22:48 pm »
If this is so, can the message at the bottom of http://www.codeblocks.org/downloads/26 be updated so as not to confuse others.

Yes, I will remove it, after I tested it myself.
[ /quote]

Jens, Any chance of removing this (now incorrect) message?
Done, thanks for reminding.

What's about ubuntu 9.10 ?
Does it still not work with ubuntu's packages, or is there an update available also ?

Ah! Good point! libwx* version 2.8.11.0 is available for Lucid as part of the Ubuntu repository but for Karmic, you still need to get this version from apt.wxwidgets.org. (I have Lucid at work and Karmic at home.) So the guidance to use the wxwidgets source still holds for Karmic...

Peter