Author Topic: How to install 17.12 on Debian Jessie or Stretch?  (Read 273 times)

Offline dfatcb

  • Multiple posting newcomer
  • *
  • Posts: 52
How to install 17.12 on Debian Jessie or Stretch?
« on: August 09, 2018, 08:15:26 am »
Hi,

I had a Debian Jessie 32-bit system and it was running the 16.01 version.  I wanted to update to the latest stable release 17.12, but no option, when I setup the "https://apt.jenslody.de/stable jessie main" it doesn't exist, but "https://apt.jenslody.de/stable stretch main" does, so I went through the hassle of upgrading from Jessie to Stretch.  Only to find out the version at jenslody is the same one already installed.   

How do I update to the 17.12 version on Debian with 16.01 installed from the repository?

I tried the .deb files via "dpkg -i *17.12*.deb" on Jessie but everything fails.

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7264
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: How to install 17.12 on Debian Jessie or Stretch?
« Reply #1 on: August 09, 2018, 09:07:29 am »
Instead of "main" try "release" :
Code: [Select]
deb [arch=amd64,i386] https://apt.jenslody.de/stable stretch release
deb-src https://apt.jenslody.de/stable stretch release

Offline dfatcb

  • Multiple posting newcomer
  • *
  • Posts: 52
Re: How to install 17.12 on Debian Jessie or Stretch?
« Reply #2 on: August 09, 2018, 06:40:26 pm »
that was it.

how can i get a jessie version if needed (do I have to build?).  Have to check dependencies on the created binaries, if no problem, i can just use stretch to do the builds.


Update:  I was able to build from the source.   However the ./configure missed that I needed libboost-dev (lucky searching for the missing file, there was already answers in general).   It also be nice to tell us it's the -dev packages needed as I was confused for some packages needed, they looked installed, until searching online finding you need the -dev package.

Thanks.

« Last Edit: August 09, 2018, 07:20:40 pm by dfatcb »

Offline dfatcb

  • Multiple posting newcomer
  • *
  • Posts: 52
Re: How to install 17.12 on Debian Jessie or Stretch?
« Reply #3 on: August 09, 2018, 07:24:32 pm »
Well, I built it and installed it, but when I try to run it I get:

codeblocks: symbol lookup error: codeblocks: undefined symbol: _ZTI32IncrementalSelectIteratorIndexed

any idea?


Update:  I went to the package manager and removed the 16.01 version, now 17.12 starts up no problem.



« Last Edit: August 09, 2018, 07:29:07 pm by dfatcb »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11130
    • Travis build status
Re: How to install 17.12 on Debian Jessie or Stretch?
« Reply #4 on: August 09, 2018, 07:30:57 pm »
You're mixing old and new codeblocks installations. The best option in my opinion is to build packages manually. It is simple and reliable way to install codeblocks. We ship the required files in the sources, so it should be easy. You have to run dpkg-buildpackage -us -uc in the appropriate folder and fix all the errors it reports (at least this is what I do when I'm on ubuntu).
(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!]