Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] How to install the doc of a kde program
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
leon_73
Guru
Guru


Joined: 13 Mar 2003
Posts: 505
Location: Milano

PostPosted: Tue Jan 16, 2007 6:02 pm    Post subject: [SOLVED] How to install the doc of a kde program Reply with quote

Hi all,

I'm trying to to write a couple of ebuilds for the programs :
  • ksshagent
  • ksshaskpass

I've already proposed them on the bugs site
ksshagent
ksshaskpass
but I cannot finish them because I'm experiencig the following problem (this is an example but is the same for both):
Code:

make[3]: Entering directory `/var/tmp/portage/ksshagent-0.6/work/ksshagent-0.6/doc/en'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../admin/mkinstalldirs /usr/share/doc/kde/HTML/en/ksshagent
mkdir -p -- /usr/share/doc/kde/HTML/en/ksshagent
ACCESS DENIED  mkdir:     /usr/share/doc/kde
mkdir: cannot create directory `/usr/share/doc/kde': Permission denied
make[3]: *** [install-nls] Error 1
make[3]: Leaving directory `/var/tmp/portage/ksshagent-0.6/work/ksshagent-0.6/doc/en'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/ksshagent-0.6/work/ksshagent-0.6/doc/en'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ksshagent-0.6/work/ksshagent-0.6/doc'
make: *** [install-recursive] Error 1

!!! ERROR: net-misc/ksshagent-0.6 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_install
  ebuild.sh, line 1020:   Called src_install
  ksshagent-0.6.ebuild, line 28:   Called die

!!! make failed to install
!!! If you need support, post the topmost build error, and the call stack if relevant.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-net-misc_-_ksshagent-0.6-16711.log"

mkdir:     /usr/share/doc/kde
--------------------------------------------------------------------------------
!!! This ebuild is from an overlay: '/usr/local/portage/lsd'


Could you help me please.

Thnx

Leo


Last edited by leon_73 on Thu Jan 18, 2007 12:10 am; edited 1 time in total
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Tue Jan 16, 2007 9:40 pm    Post subject: Reply with quote

Uh, remove the src_* functions. Have a look at kde.eclass and other KDE related ebuilds, how and why. The reason you see the access viaolation is, that you try to install something directly on the live system and the sandbox catches it.
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
leon_73
Guru
Guru


Joined: 13 Mar 2003
Posts: 505
Location: Milano

PostPosted: Thu Jan 18, 2007 12:10 am    Post subject: Reply with quote

Carlo wrote:
Uh, remove the src_* functions. Have a look at kde.eclass and other KDE related ebuilds, how and why. The reason you see the access viaolation is, that you try to install something directly on the live system and the sandbox catches it.


Cool... tnx ... now it works... !!!

Leo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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