Install Problems - VALA

Asked by Shawn Caudill

So I just tried to install this using the text in the INSTALL file and I made it as far as the "make" command and I got the following error just before that:
-- The CXX compiler identification is unknown
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- checking for modules 'gtk+-3.0;pantheon'
-- package 'gtk+-3.0' not found
-- package 'pantheon' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:283 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:337 (_pkg_check_modules_internal)
  CMakeLists.txt:31 (pkg_check_modules)

CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find Vala (missing: VALA_EXECUTABLE)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindVala.cmake:55 (find_package_handle_standard_args)
  CMakeLists.txt:37 (find_package)

-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found. Stop.

I'm running Elementary OS Luna with the latest updates installed and had to install cmake and bzr just to get as far as I did...
Can someone please tell me what I'm missing? I love EOS but have a real need to be able to change what happens when I close the lid. Currently it goes into suspend mode and for some reason my laptop does not want to wake from that sleep. The monitor just stays black. I'm running an HP Compaq 8510p.

Thank you all in advance!

Question information

Language:
English Edit question
Status:
Answered
For:
Switchboard Power Plug Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
kay van der Zander (kay20) said :
#1

Hello shawn,

i have 2 things for you. first thing is install freya, because this way everything will work when you compile from trunk.
this will fix the compiler error. because luna doesn't has the right compiler to compile new code from trunk. please install valac compiler version 0.28.0 (at least 0.26.0 but for freya and loki code valac 0.28.0 is needed). to be as clear as possible it is NOT possible to compile trunk branches (main development code) on luna ONLY on loki. freya has there own branches.

the second thins is when you want to compile software you need to take in to account that software can use libraries.
for every User interface (UI) element it is normal to have gtk library. to do this is by having the right ppa and make use of the build-deps option in apt-get. example: sudo apt-get build-dep witchboard-plug-power to download and install the right depencenties of power plug in switchboard.

now your real problem you want to change the lid close action. there are 2 ways. i don't know which one works for luna but this is work in progress for loki.

you can useing dconf-editor, navigate to org -> gnome -> settings daemon -> plugins -> power. and you will see the option for close-lid-action (battery and on power)

for FREYA this is the right solution : http://askubuntu.com/questions/15520/how-can-i-tell-ubuntu-to-do-nothing-when-i-close-my-laptop-lid

I hope i have informed you enough. if there are any more question about this matter please comment back :).
thank you for using elementary OS.

kind regards,
Kay van der Zander

Can you help with this problem?

Provide an answer of your own, or ask Shawn Caudill for more information if necessary.

To post a message you must log in.