Re: [Vala] Can't compile ValaIde from source...




Hi,

On Thu, 16 Dec 2010 02:02:31 +0300, Alexey Savartsov
<asavartsov gmail com> wrote:
Hi!

I can't compile valaide too.

I built glib/gtk+/vala etc. from sources, installed to /usr/local on
Mac OS X 10.6.5

All the stuff I have:

atk-1.30.0
gettext-0.17
gtk+-2.20.1
libglade-2.6.4
libpng-1.2.44
pango-1.28.3
tiff-3.9.4
bzr-2.2.2
gtksourceview-2.11.2
libsvg-0.1.4
vala-0.11.2
glib-2.24.2
intltool-0.41.0
gdl-2.28.2
jpeg-8b
libiconv-1.13.1
libxml2-2.7.7
pkg-config-0.25

Then I got valaide from bzr

./waf configure
Checking for program gcc or cc           : /usr/bin/gcc 
Checking for program cpp                 : /usr/bin/cpp 
Checking for program ar                  : /usr/bin/ar 
Checking for program ranlib              : /usr/bin/ranlib 
Checking for gcc                         : ok  
Checking for program valac               : /usr/local/bin/valac 
Checking for gobject-2.0                 : yes 
Checking for gthread-2.0                 : yes 
Checking for program version valac >= 0.1.6 : ok 0.11.2 
Checking for program msgfmt                 : /usr/local/bin/msgfmt 
Checking for program intltool-merge         : /usr/local/bin/intltool-merge 
Checking for header locale.h                : yes 
Checking for program valadoc                : not found 
Checking for glib-2.0 >= 2.18.0             : yes 
Checking for gio-2.0 >= 2.18.0              : yes 
Checking for gobject-2.0 >= 2.18.0          : yes 
Checking for gmodule-2.0 >= 2.18.0          : yes 
Checking for gtk+-2.0 >= 2.18.0             : yes 
Checking for libxml-2.0 >= 2.5.0            : yes 
Checking for gtksourceview-2.0 >= 2.10.0    : yes 
Checking for libvala-0.12 >= 0.11.0         : yes 
Checking for gdl-1.0 >= 2.28                : yes 
Checking for unique-1.0 >= 1.0.0            : no 
'configure' finished successfully (0.603s)

When i run ./waf I get this error:

error: Package `vala-0.12' not found in specified Vala API
directories or GObject-Introspection GIR directories


./waf
Waf: Entering directory `/usr/local/src/build/valide/_build_'
[  1/189] valac: libvalide/frame.vala libvalide/encoding.vala
libvalide/document-close-dialog.vala libvalide/searching.vala
libvalide/compiler.vala libvalide/valac.vala
libvalide/recent-manager-ui.vala libvalide/uimanager.vala
libvalide/template-manager.vala libvalide/document-manager.vala
libvalide/builder-manager.vala libvalide/split-source-view.vala
libvalide/template.vala libvalide/project-dialog-options.vala
libvalide/statusbar.vala libvalide/project-dialog.vala
libvalide/plugin.vala libvalide/libyaml-glib/src/loader.vala
libvalide/libyaml-glib/src/buildable.vala
libvalide/libyaml-glib/src/writer.vala
libvalide/libyaml-glib/src/libyaml-glib.vala
libvalide/libyaml-glib/src/builder.vala
libvalide/libyaml-glib/src/error.vala libvalide/project.vala
libvalide/plugin-registrar.vala libvalide/document-message.vala
libvalide/utils.vala libvalide/plugin-manager.vala
libvalide/plugin-preferences.vala
libvalide/abstract-config-manager.vala
libvalide/preferences-dialog.vala libvalid
 e/document.vala libvalide/goto-dialog.vala
libvalide/config-manager.vala libvalide/project-dialog-remove.vala
libvalide/source-buffer.vala libvalide/aboutdialog.vala
libvalide/project-manager.vala libvalide/builder.vala
libvalide/fullscreen-toolbar.vala libvalide/window.vala
libvalide/executable-manager.vala
libvalide/ui/abstract-preferences-dialog.vala
libvalide/ui/abstract-executable-preferences.vala
libvalide/ui/abstract-project-dialog-options.vala
libvalide/ui/abstract-project-dialog-remove.vala
libvalide/ui/abstract-project-dialog.vala
libvalide/ui/abstract-native-builder-preferences.vala
libvalide/ui/abstract-close-dialog.vala libvalide/native-builder.vala
libvalide/source-view.vala libvalide/executable.vala ->
_build_/default/libvalide/frame.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/encoding.c
_build_/default/libvalide/valide-0.0.h _build_/default/libvalide/val
 ide-0.0.vapi _build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/document-close-dialog.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/searching.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/compiler.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/valac.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/recent-manager-ui.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/uimanager.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.
 vapi _build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/template-manager.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/document-manager.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/builder-manager.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/split-source-view.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/template.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/project-dialog-options.c
_build_/default/libvalide/valide-0.0.h _build_/default/libv
 alide/valide-0.0.vapi _build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/statusbar.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/project-dialog.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/plugin.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/libyaml-glib/src/loader.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/libyaml-glib/src/buildable.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/libyaml-glib/src/writer.c
_build_/default/libvalide/valide-0.
 0.h _build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/libyaml-glib/src/libyaml-glib.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/libyaml-glib/src/builder.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/libyaml-glib/src/error.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/project.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/plugin-registrar.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/document-message.
 c _build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/utils.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/plugin-manager.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/plugin-preferences.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/abstract-config-manager.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/preferences-dialog.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps _build_/default/libvalide/
 document.c _build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/goto-dialog.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/config-manager.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/project-dialog-remove.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/source-buffer.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/aboutdialog.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps _build_/default/libvalide
 /project-manager.c _build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/builder.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/fullscreen-toolbar.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/window.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/executable-manager.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/ui/abstract-preferences-dialog.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps _build_/
 default/libvalide/ui/abstract-executable-preferences.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/ui/abstract-project-dialog-options.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/ui/abstract-project-dialog-remove.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/ui/abstract-project-dialog.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/ui/abstract-native-builder-preferences.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/ui/abstract-close-dialog.c
_build_/default/lib
 valide/valide-0.0.h _build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/native-builder.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/source-view.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
_build_/default/libvalide/executable.c
_build_/default/libvalide/valide-0.0.h
_build_/default/libvalide/valide-0.0.vapi
_build_/default/libvalide/valide-0.0.deps
error: Package `vala-0.12' not found in specified Vala API
directories or GObject-Introspection GIR directories
Waf: Leaving directory `/usr/local/src/build/valide/_build_'
Build failed:  -> task failed (err #1): 
      {task: valac_task
frame.vala,encoding.vala,document-close-dialog.vala,searching.vala,compiler.vala,valac.vala,recent-manager-ui.vala,uimanager.vala,template-manager.vala,document-manager.vala,builder-manager.vala,split-source-view.vala,template.vala,project-dialog-options.vala,statusbar.vala,project-dialog.vala,plugin.vala,loader.vala,buildable.vala,writer.vala,libyaml-glib.vala,builder.vala,error.vala,project.vala,plugin-registrar.vala,document-message.vala,utils.vala,plugin-manager.vala,plugin-preferences.vala,abstract-config-manager.vala,preferences-dialog.vala,document.vala,goto-dialog.vala,config-manager.vala,project-dialog-remove.vala,source-buffer.vala,aboutdialog.vala,project-manager.vala,builder.vala,fullscreen-toolbar.vala,window.vala,executable-manager.vala,abstract-preferences-dialog.vala,abstract-executable-preferences.vala,abstract-project-dialog-options.vala,abstract-project-dialog-remove.vala,abstract-project-dialog.vala,abstract-native-builder-preferences.va

la,abstract-close-dialog.vala,native-builder.vala,source-view.vala,executable.vala
->
frame.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,encoding.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,document-close-dialog.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,searching.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,compiler.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,valac.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,recent-manager-ui.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,uimanager.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,template-manager.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,document-manager.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,builder-manager.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,split-source-view.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,template.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,project-dialog-options.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,statusbar.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.dep

s,project-dialog.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,plugin.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,loader.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,buildable.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,writer.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,libyaml-glib.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,builder.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,error.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,project.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,plugin-registrar.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,document-message.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,utils.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,plugin-manager.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,plugin-preferences.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,abstract-config-manager.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,preferences-dialog.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,document.c,valide-0.0.h,valide-0.0.v
 a

pi,valide-0.0.deps,goto-dialog.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,config-manager.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,project-dialog-remove.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,source-buffer.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,aboutdialog.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,project-manager.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,builder.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,fullscreen-toolbar.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,window.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,executable-manager.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,abstract-preferences-dialog.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,abstract-executable-preferences.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,abstract-project-dialog-options.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,abstract-project-dialog-remove.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,abstract-project-dialog.c,valide-0.0.h,valid
 e

-0.0.vapi,valide-0.0.deps,abstract-native-builder-preferences.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,abstract-close-dialog.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,native-builder.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,source-view.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps,executable.c,valide-0.0.h,valide-0.0.vapi,valide-0.0.deps}

I tried valaide 0.7.0 sources, but it even can't find vala properly:

./waf configure
Checking for program gcc,cc              : ok /usr/bin/gcc 
Checking for program cpp                 : ok /usr/bin/cpp 
Checking for program ar                  : ok /usr/bin/ar 
Checking for program ranlib              : ok /usr/bin/ranlib 
Checking for program valac               : ok /usr/local/bin/valac 
Checking for gthread-2.0                 : ok 
Checking for program version valac >= 0.1.6 : ok 0.11.2 
Checking for program msgfmt                 : ok /usr/local/bin/msgfmt 
Checking for program intltool-merge         : ok
/usr/local/bin/intltool-merge
Checking for header locale.h                : ok 
Checking for program valadoc                : not found 
Checking for glib-2.0 >= 2.18.0             : ok 
Checking for gio-2.0 >= 2.18.0              : ok 
Checking for gobject-2.0 >= 2.18.0          : ok 
Checking for gmodule-2.0 >= 2.18.0          : ok 
Checking for gtk+-2.0 >= 2.18.0             : ok 
Checking for libxml-2.0 >= 2.5.0            : ok 
Checking for gtksourceview-2.0 >= 2.10.0    : ok 
Checking for vala-1.0 >= 0.8.1              : Package vala-1.0 was
not found in the pkg-config search path.
Perhaps you should add the directory containing `vala-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vala-1.0' found 
error: the configuration failed (see
'/usr/local/src/build/valide-0.7.0/_build_/config.log')


What I'm doing wrong?


We work on this issue: https://bugs.launchpad.net/valide/+bug/690382

--
Alexey Savartsov

_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]