Author Topic: [Solved] [Linux Mint Ubuntu based] Installing Nightlies from JENS repo  (Read 6858 times)

Offline Unrealist

  • Single posting newcomer
  • *
  • Posts: 5
****  This problem has been solved, please check the 5th post.

I previously had a working installation of CodeBlocks but I wanted to use one of the recent Nightlies (7932 DEBUGGER BRANCH).
1. I acquired the *.deb files for pasgui PPA site (not using apt, downloaded manually).
2. Removed CB (apt-get remove codeblocks)
3. sudo dpkg -i *.deb   in the directory where I downloaded the debs.
4. The program didn't start gave some crash reports.
5. I removed it using sudo dpkg -r *codeblocks*
6. sudo dpkg -P *codeblocks*
7. libcodeblocks0 was not going, because some wx[I forgot] depended on it so I purged that too and then purged *codeblocks* again.
8. The SVN 7932 wasn't working after that too. So I removed it again in the same way I described in steps 5-7.
9. Then installed normal 10.05 from Universe/Multiverse repo and this is what it looks like now.

I don't care anymore whether I get to use the Nightly (though I really want to :( ) but I at least need CB to run whether it's 10.05.

I've tried debugging it with GDB. Gives out the following
Code: [Select]
Starting program: /usr/bin/codeblocks
[Thread debugging using libthread_db enabled]
Initialize EditColourSet .....
[New Thread 0x7fffea3a8700 (LWP 24606)]
[New Thread 0x7fffe9ba7700 (LWP 24607)]
[New Thread 0x7fffe93a6700 (LWP 24608)]
[New Thread 0x7fffe8ba5700 (LWP 24609)]
Initialize EditColourSet: done.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5decc9f in wxArrayString::Add(wxString const&, unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
(gdb) continue
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff77349c1 in cbAuiNotebook::OnIdle(wxIdleEvent&) ()
   from /usr/lib/libcodeblocks.so.0
(gdb) continue
Continuing.
[Thread 0x7fffe8ba5700 (LWP 24609) exited]
[Thread 0x7fffe93a6700 (LWP 24608) exited]
[Thread 0x7fffe9ba7700 (LWP 24607) exited]
[Thread 0x7fffea3a8700 (LWP 24606) exited]

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.

If you want the crash report, I can give you that. Didn't post it because it exceeds your character limits.
« Last Edit: May 14, 2012, 04:22:36 pm by Unrealist »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11939
    • Travis build status
You've probably messed the libs.
Remove everything and make sure there are no codeblocks files in /usr.
Then make a clean install.
(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 Unrealist

  • Single posting newcomer
  • *
  • Posts: 5
Yeah, I think exactly the same. But I don't know the command to remove everything. Please can you help with that?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11939
    • Travis build status
#find /usr | grep codeblocks

Then search google to find the command used to find the project a file belongs to.
I'm not using ubuntu/debilian, so I don't know the exact command, but google is your friend.
(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 Unrealist

  • Single posting newcomer
  • *
  • Posts: 5
I figured my setup got too messed up for trying anything new with this. So I clean installed my OS and did the following. Successfully running Code::Blocks Nightly Debugger Branch 7919 on Linux Mint 12 (Ubuntu base)

The only repository is Jens', period. But this guy doesn't bother updating his repo-homepage. So, I had a crashed Lisa installation trying to be smarty pants. In the end, found several scattered threads where he helped install the nightlies. I summed them up and it worked. If there's any full instruction he posted anywhere here, I'm sorry Jens. Just thought should help some people

Now.

1. First of all you have to add these 2 lines to your sources.list

   deb http://apt.jenslody.de/ any main
   deb-src http://apt.jenslody.de/ any main

But wait, there are some modifications for diffrent types of versions.
   Replace main with:
            release [For the usual releases]
            Don't do this, kept for the reference only. jens has merged this back in the trunk [     dbg [For debugger brance]      ]

 2. Add another line for wxWidgets to your sources.list
   
   deb http://apt.wxwidgets.org/ squeeze-wx main

3. sudo apt-get update

4. Now install using command: sudo apt-get install codeblocks codeblocks-contrib
« Last Edit: May 14, 2012, 05:43:22 pm by Unrealist »

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
[...]
But wait, there are some modifications for diffrent types of versions.
   Replace main with:
[...]
            dbg [For debugger brance]
[...]
Don't do that !!!

The debugger-branch has been merged back into trunk and is no longer active !!

All the other stuff you have written can be found on my website, except the "apt-get install"-steps, but I did not put it there, because it's the users choice which package-manager she/he wants to use.

Offline Unrealist

  • Single posting newcomer
  • *
  • Posts: 5
@jens
Ok but can u make something clear? What if I want to upgrade the nightly? Do I put the same command?
Thanks a lot by the way. I can't stay without the nightlies. Love 'em. Whenever I can't see svn on the splash, it's almost a heart attack :P
« Last Edit: May 14, 2012, 05:48:47 pm by Unrealist »

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
@jens
Ok but can u make something clear? What if I want to upgrade the nightly? Do I put the same command?
Thanks a lot by the way. I can't stay without the nightlies. Love 'em. Whenever I can't see svn on the splash, it's almost a heart attack :P
Just use your favourite package-manager to update your software, as you do it for all other software installed from a repo (I suggest using synaptic on debian based systems, it's the best package-manager from my point of view).

Offline Unrealist

  • Single posting newcomer
  • *
  • Posts: 5
Well anybody can do this using his/her favorite method, mine is apt-get (kind of used to it) so here's how you update Code::Blocks nightlies.

Code: [Select]
sudo apt-get update
sudo apt-get remove codeblocks codeblocks-contrib
sudo apt-get install codeblocks codeblocks-contrib

jens, you rock man! :D