Author Topic: Installing from Source Code  (Read 1094 times)

Offline tigerbeard

  • Multiple posting newcomer
  • *
  • Posts: 89
Re: Installing from Source Code
« Reply #15 on: March 20, 2019, 11:03:32 am »
https://github.com/obfuscated/codeblocks_sf/blob/master/.travis.yml

Doing the steps from this file will give you installable .deb files...It lists all the deps and at the bottom you have the two commands that you have to execute to get them.

Nice. I always learn interesting stuff here. Was not aware that C::B uses "Trevis" for continuous integration (just new Jenkins). Guessing from the file syntax I understood that you mean this (Debian style Linux)

Code: [Select]
[unpack tar.gz sources and go into that folder]
$ apt install libwxgtk3.0-dev libboost-system-dev fakeroot debhelper cdbs libgtk2.0-dev libgamin-dev libboost-dev libhunspell-dev
$ ./bootstrap
$ dpkg-buildpackage -us -uc

Thats dead esay C::B buid. Doesn't address the libwxgtkX.X-dev, though.


Offline sodev

  • Regular
  • ***
  • Posts: 295
Re: Installing from Source Code
« Reply #16 on: March 20, 2019, 07:44:08 pm »
For centos there is wxgtk-devel. For ubuntu libwxgtk-dev.
Nice trick to install the system library to get the requirements, but at least on CentOS 7 this is still wxWidgets 2.8.12 which might not depend on everything that newer releases do. Plus i didn't want the system library on my system.

Quote
Today I've compiled wx-master on a clean ubuntu just by installing libgtk-3-dev...
I don't know the situation on Ubuntu, but me too could get wxWidgets to compile with less than my listed dependencies, but then the configure script spills out warnings about disabling certain components because of missing requirements.