tjol / emperor

Orthodox file manager for GNOME — DEAD, recommended alternative: MeanEYE/sunflower
GNU General Public License v3.0
11 stars 0 forks source link

Error building on Ubuntu 12.04 oneric #26

Closed drmikecrowe closed 12 years ago

drmikecrowe commented 12 years ago

Installed libgee-0.7.2 manually (couldn't install from apt for some reason).

When compiling, I get these errors:

CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/bin/valac --pkg=gio-2.0 --pkg=gio-unix-2.0 --pkg=posix --pkg=gtk+-3.0 --pkg=gee-0.8 --vapidir=/home/mcrowe/Downloads/emperor-0.2/emperor-0.2/src/config --pkg=emperor_config --vapidir=/home/mcrowe/Downloads/emperor-0.2/emperor-0.2/src/application -g --pkg=gmodule-2.0 --pkg=libxml-2.0 --vapi=emperor.vapi --header=emperor.h --pkg=gio-2.0 --pkg=gio-unix-2.0 --pkg=posix --pkg=gtk+-3.0 --pkg=gee-0.8 --vapidir=/home/mcrowe/Downloads/emperor-0.2/emperor-0.2/src/config --pkg=emperor_config --vapidir=/home/mcrowe/Downloads/emperor-0.2/emperor-0.2/src/application -g -C emperor_core.vala file_pane.vala module_delegates.vala file_info_column.vala main_window.vala module_registry.vala user_interface_manager.vala input_dialog.vala external_applications.vala prefs_machine.vala mountwait.vala mountwait-dialog.vala archive_types.vala file_pane.vala:1369.37-1369.39: error: The name Key' does not exist in the context ofEmperor.Application.FilePane.edit_title.lambda1' if (e.keyval == Key.Escape) { // Escape ^^^ file_pane.vala:908.25-908.57: warning: Gee.Map.contains is deprecated file_pane.vala:698.55-698.67: error: The name FileAttribute' does not exist in the context ofEmperor.Application.FilePane.chdir' parent_info.set_attribute_boolean(FileAttribute.STANDARD_IS_BACKUP, false); ^^^^^^^^^^^^^ file_pane.vala:1570.41-1570.53: error: The name FileAttribute' does not exist in the context ofEmperor.Application.FilePane.activate_file' FileAttribute.STANDARD_TARGET_URI); ^^^^^^^^^^^^^ file_pane.vala:1480.22-1480.24: error: The name Key' does not exist in the context ofEmperor.Application.FilePane.on_key_event' case Key.Tab: ^^^ file_pane.vala:1480.22-1480.28: error: Expression must be constant case Key.Tab: ^^^^^^^ file_pane.vala:1484.22-1484.24: error: The name Key' does not exist in the context ofEmperor.Application.FilePane.on_key_event' case Key.space: ^^^ file_pane.vala:1484.22-1484.30: error: Expression must be constant case Key.space: ^^^^^^^^^

tjol commented 12 years ago

Unless you are building the git sources, the Vala compiler shouldn't be invoked at all. Make sure you have libnotify-dev installed. If you wish to build without notification support, or directly from the Vala sources for some other reason, you will need Vala 0.17.3.

after installing libnotify-dev, you may have to unpack the emperor sources again for a clean start. If that doesn't help, I'll need more information (I.e. full configure and make output)

drmikecrowe commented 12 years ago

Ah, I was missing libnotify-dev. Sorry, running it now.