Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLEASE tell people how to set the CXX environment variable #44

Open
jlnxr opened this issue Sep 1, 2016 · 0 comments
Open

PLEASE tell people how to set the CXX environment variable #44

jlnxr opened this issue Sep 1, 2016 · 0 comments

Comments

@jlnxr
Copy link

jlnxr commented Sep 1, 2016

As a non programmer this took me forever to figure out on Debian stable. Unless the CXX environment variable is already set to gcc-4.9 then simply installing all the dependencies listed in debian/controls and then following the INSTALL instructions will not work. Debian users will need to install gcc-4.9 and then set it as the environment variable CXX using 'CXX=/path/to/gcc-4.9' and then 'export CXX'. Only then does cmake actually work. This is on a fresh installation of Debian stable.

This is an absolutely terrific application but its documentation is completely inadequate, especially to non-programmers- which is a problem seeing as outside of the AUR and a Ubuntu PPA most people have to compile it from source. Installation instructions should be in the main README and be exact about how to compile and install the application.

Here's the actual steps required to install indicator-kdeconnect on Debian Jessie:

  1. Install dependencies. The actual list of dependencies for debian is kdeconnect, cmake, debhelper, libgtk-3-dev, libappindicator3-dev, pkg-config, valac, gcc-4.9.
  2. Clone or download extract the source, then cd into indicator-kdeconnect-master
  3. Set the CXX variable, compile and install.
    mkdir build
    cd build
    CXX=/path/to/gcc-4.9 (the path is probably /usr/bin/gcc.4.9)
    export CXX
    cmake .. -DCMAKE_INSTALL_PREFIX=/usr
    make
    su -c 'make install'

That should be in the main README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant