Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems with vapigen while install gtk-vnc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
tanviet12
n00b
n00b


Joined: 06 Apr 2013
Posts: 4

PostPosted: Sat Apr 06, 2013 2:04 am    Post subject: problems with vapigen while install gtk-vnc Reply with quote

Hi every body,

I'm a newbie. I am trying to install gnome and it fails because can't install gtk-vnc

Output from log:

Quote:
checking for inflate in -lz... yes
checking for GTHREAD... yes
checking for perl5... no
checking for perl... /usr/bin/perl
checking for GOBJECT_INTROSPECTION... yes
checking for vapigen... no
configure: error: Cannot find the "vapigen" binary in your PATH

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-libs/gtk-vnc-0.5.1/work/gtk-vnc-0.5.1_gtk3/config.log
* ERROR: net-libs/gtk-vnc-0.5.1 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 4994: Called econf '--with-examples' '--enable-introspection' '--with-pulseaudio' '--with-sasl' '--with-coroutine=gthread' '--without-libview' '--disable-static' '--disable-vala' '--enable-introspection' '--enable-vala' 'VAPIGEN=' '--with-python=no' '--with-gtk=3.0'
* phase-helpers.sh, line 521: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of `emerge --info '=net-libs/gtk-vnc-0.5.1'`,
* the complete build log and the output of `emerge -pqv '=net-libs/gtk-vnc-0.5.1'`.
* The complete build log is located at '/var/tmp/portage/net-libs/gtk-vnc-0.5.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-libs/gtk-vnc-0.5.1/temp/environment'.
* Working directory: '/var/tmp/portage/net-libs/gtk-vnc-0.5.1/work/gtk-vnc-0.5.1_gtk3'
* S: '/var/tmp/portage/net-libs/gtk-vnc-0.5.1/work/gtk-vnc-0.5.1'

>>> Failed to emerge net-libs/gtk-vnc-0.5.1, Log file:

>>> '/var/tmp/portage/net-libs/gtk-vnc-0.5.1/temp/build.log'

* Messages for package net-libs/gtk-vnc-0.5.1:

* ERROR: net-libs/gtk-vnc-0.5.1 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 4994: Called econf '--with-examples' '--enable-introspection' '--with-pulseaudio' '--with-sasl' '--with-coroutine=gthread' '--without-libview' '--disable-static' '--disable-vala' '--enable-introspection' '--enable-vala' 'VAPIGEN=' '--with-python=no' '--with-gtk=3.0'
* phase-helpers.sh, line 521: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of `emerge --info '=net-libs/gtk-vnc-0.5.1'`,
* the complete build log and the output of `emerge -pqv '=net-libs/gtk-vnc-0.5.1'`.
* The complete build log is located at '/var/tmp/portage/net-libs/gtk-vnc-0.5.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-libs/gtk-vnc-0.5.1/temp/environment'.
* Working directory: '/var/tmp/portage/net-libs/gtk-vnc-0.5.1/work/gtk-vnc-0.5.1_gtk3'
* S: '/var/tmp/portage/net-libs/gtk-vnc-0.5.1/work/gtk-vnc-0.5.1'


I installed the lava,, but cannot install gtk-vnc. Please help me!!!

Thanks
Back to top
View user's profile Send private message
stephenwlin
n00b
n00b


Joined: 07 Apr 2013
Posts: 2

PostPosted: Sun Apr 07, 2013 6:03 am    Post subject: Reply with quote

I have the same issue, I added the following:
Code:
net-libs/gtk-vnc -vala

to etc/portage/packages.use and everything went ok.
Back to top
View user's profile Send private message
tanviet12
n00b
n00b


Joined: 06 Apr 2013
Posts: 4

PostPosted: Sun Apr 07, 2013 5:08 pm    Post subject: Reply with quote

Hi stephenwlin,

Thanks you for help. I added the following

=net-libs/gtk-vnc-0.5.1

to /etc/portage/package.mask and emerge will skip gtk-vnc... :)
Back to top
View user's profile Send private message
stephenwlin
n00b
n00b


Joined: 07 Apr 2013
Posts: 2

PostPosted: Mon Apr 08, 2013 10:27 pm    Post subject: Reply with quote

Yeah, that works, too--disabling vala for that package is probably a more minimal fix though.
Back to top
View user's profile Send private message
HayarobiPark
n00b
n00b


Joined: 17 Apr 2013
Posts: 5

PostPosted: Wed Apr 17, 2013 9:43 am    Post subject: Reply with quote

The simplest walkaround is below;
Code:
cd /usr/bin && ln -s vapigen-0.16 vapigen && emerge gtk-vnc

within root user.

The cause was gtk-vnc instller couldn't find vapigen executable (, which is part of vala).
See the part of output;
Code:

...
checking for GOBJECT_INTROSPECTION... yes
checking for vapigen... no
configure: error: Cannot find the "vapigen" binary in your PATH
...

The installer looks for vapigen executable by only name vapigen, but vala-0.16 portage install that file with name vapigen-0.16. I'm not sure which one (gnome gtk-vnc developer team, portage porting team, or vala portage porting team) is responsible to solve this problem.

I'm not so good to use English. It take over an hour to post this reply. Could anyone report this issue to developer of gtk-vnc, or gentoo portage manager?
Back to top
View user's profile Send private message
kingcoras
n00b
n00b


Joined: 26 Jun 2007
Posts: 47

PostPosted: Fri Jun 28, 2013 1:10 am    Post subject: Reply with quote

HayarobiPark,

I was having the same issue, and I resolved it with your fix. When I was researching the problem on my own box, I was thinking the same thing you were, but I wanted to check and see if someone else had run into it as well.

Thank you!
_________________
<bocz> i think ill be stuck to getting 2 sticks of 128
<bocz> thats 310 mb for a server
<Guilty> Kudos on finding the elusive 54MB DIMM

gentoo boot time: 25 seconds, Windows boot time: 1:30. Why, Bill, why?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum