Bug 747493 - RFE: vala needs to be configured with --enable-vapigen
Summary: RFE: vala needs to be configured with --enable-vapigen
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: vala
Version: 15
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
Assignee: Michel Lind
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-20 03:24 UTC by Ranjan Maitra
Modified: 2013-08-12 20:09 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-30 23:05:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ranjan Maitra 2011-10-20 03:24:35 UTC
Description of problem:

I am trying to compile plank with a view to eventually make into a rpm but I get the following:

checking for valac... /usr/bin/valac
checking /usr/bin/valac is at least version 0.10.0... yes
checking for vapigen... no
configure: error: Vala must be built with --enable-vapigen




Version-Release number of selected component (if applicable):

0.12.0

See above for details.

Comment 1 Michel Lind 2012-01-30 23:05:40 UTC
You'd want to install vala-tools, that's where vapigen is located.

Comment 2 Michel Lind 2012-01-30 23:05:40 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Add libwnck-3.0 bindings.
Many bug fixes and binding updates.

Comment 3 Michel Lind 2012-01-30 23:08:36 UTC
accidentally committed the notes meant for the F16 vala update; just ignore.

Comment 4 Michel Lind 2012-01-30 23:08:36 UTC
Deleted Technical Notes Contents.

Old Contents:
Add libwnck-3.0 bindings.
Many bug fixes and binding updates.

Comment 5 Steve Tyler 2013-08-12 19:58:26 UTC
I just ran into this mysterious vapigen while trying to build gnome-boxes.

There is indeed a bug -- "yum search" cannot find the package that has it.

Please reopen -- people shouldn't have to search BZ to find vapigen is in vala-tools.

$ ./configure
...
checking for vapigen... no
configure: error: Cannot find the "vapigen compiler in your PATH

$ sudo yum search vapigen
Loaded plugins: changelog, langpacks
Warning: No matches found for: vapigen
No matches found

$ sudo yum search all vapigen
Loaded plugins: changelog, langpacks
Warning: No matches found for: vapigen
No matches found

$ sudo repoquery --arch=x86_64 'vala*'
vala-0:0.20.1-1.fc19.x86_64
vala-compat-0:0.16.1-2.fc19.x86_64
vala-compat-devel-0:0.16.1-2.fc19.x86_64
vala-compat-tools-0:0.16.1-2.fc19.x86_64
vala-devel-0:0.20.1-1.fc19.x86_64
vala-tools-0:0.20.1-1.fc19.x86_64

$ sudo yum info vala-tools
Loaded plugins: changelog, langpacks
Available Packages
Name        : vala-tools
Arch        : x86_64
Version     : 0.20.1
Release     : 1.fc19
Size        : 124 k
Repo        : fedora/19/x86_64
Summary     : Tools for creating projects and bindings for vala
URL         : http://live.gnome.org/Vala
License     : LGPLv2+
Description : Vala is a new programming language that aims to bring modern programming
            : language features to GNOME developers without imposing any additional
            : runtime requirements and without using a different ABI compared to
            : applications and libraries written in C.
            : 
            : This package contains tools to generate Vala projects, as well as API
            : bindings from existing C libraries, allowing access from Vala programs.

$ sudo repoquery vala-tools --list | grep vapigen
/usr/bin/vapigen
/usr/bin/vapigen-0.20
/usr/share/aclocal/vapigen.m4
/usr/share/man/man1/vapigen-0.20.1.gz
/usr/share/man/man1/vapigen.1.gz
/usr/share/pkgconfig/vapigen-0.20.pc
/usr/share/pkgconfig/vapigen.pc

Comment 6 Steve Tyler 2013-08-12 20:09:01 UTC
The simplest solution might be to make vala-tools a requirement for vala-devel:

$ sudo repoquery --requires --resolve vala-devel
pkgconfig-1:0.27.1-1.fc19.x86_64
glib2-devel-0:2.36.3-3.fc19.i686
pkgconfig-1:0.27.1-1.fc19.i686
glib2-devel-0:2.36.3-3.fc19.x86_64
vala-0:0.20.1-1.fc19.x86_64

$ sudo repoquery --whatrequires --recursive vala-tools
folks-devel-1:0.9.2-3.fc19.i686
folks-devel-1:0.9.2-3.fc19.x86_64


Note You need to log in before you can comment on or make changes to this bug.