Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bitte um Hilfe mit ebuild fuer disko
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
disi
Veteran
Veteran


Joined: 28 Nov 2003
Posts: 1354
Location: Out There ...

PostPosted: Sun May 24, 2009 4:03 pm    Post subject: Bitte um Hilfe mit ebuild fuer disko Reply with quote

Aus einem Grund, den ich nicht kenne, hat scons keine Rechte die Dateien zu installieren.

Hier was ich so weit habe dev-libs/disko-9999.ebuild:
Code:

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit git eutils

DESCRIPTION="Application framework for DirectFB"
HOMEPAGE="http://www.diskohq.org/"
EGIT_REPO_URI="git://www.diskohq.org/disko.git"
EGIT_BRANCH="master"

LICENSE="GPL"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="alsa oss"

RDEPEND="media-libs/libpng
dev-libs/libxml2
dev-db/sqlite
net-misc/curl
media-libs/freetype
media-libs/xine-lib
dev-libs/libsigc++
dev-cpp/libvmime
dev-libs/openssl
media-libs/swfdec
dev-libs/DirectFB
media-libs/libmms
dev-cpp/libxmlpp
alsa? ( media-libs/alsa-lib )
oss? ( media-libs/alsa-oss )"

DEPEND="dev-util/scons
   ${RDEPEND}"

src_compile() {
        export CCFLAGS=${CFLAGS}
        local myconf="use_env=yes graphics=all"
        scons ${MAKEOPTS} ${myconf} || die
}

src_install() {
   scons install
}


Es laeuft alles super, bis auf das kopieren der Dateien ins System:
Code:

scons: done reading SConscript files.
scons: Building targets ...
ACCESS DENIED  mkdir:        /usr/include/disko
scons: *** [/usr/include/disko] /usr/include/disko: Permission denied
scons: building terminated because of errors.
>>> Completed installing disko-9999 into /var/tmp/portage/dev-libs/disko-9999/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-7630.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkdir
S: deny
P: /usr/include/disko
A: /usr/include/disko
R: /usr/include/disko
C: python /usr/bin/scons install
--------------------------------------------------------------------------------


scons-1.2.0 ist installiert, es gab da wohl mit 0.9 Versionen Rechte Probleme was ich auf bugzilla finden konnte.
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5161

PostPosted: Sun May 24, 2009 4:57 pm    Post subject: Reply with quote

mit ner suche nach "ebuild with scons" bin ich auf folgendes gestoßen:
http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg11938.html
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Mr. Anderson
l33t
l33t


Joined: 22 Apr 2004
Posts: 762

PostPosted: Sun May 24, 2009 5:04 pm    Post subject: Reply with quote

src_install muss alles unterhalb von ${D} installieren. Beim effektiven mergen wird das dann nach ${ROOT} verschoben (meist /). Je nach Anwendung funktioniert es anders, das Zielverzeichnis zu bestimmen. Die Dokumentation der Software sollte in der Regel den entscheidenden Hinweis geben. :)
Back to top
View user's profile Send private message
disi
Veteran
Veteran


Joined: 28 Nov 2003
Posts: 1354
Location: Out There ...

PostPosted: Sun May 24, 2009 5:38 pm    Post subject: Reply with quote

Mr. Anderson wrote:
src_install muss alles unterhalb von ${D} installieren. Beim effektiven mergen wird das dann nach ${ROOT} verschoben (meist /). Je nach Anwendung funktioniert es anders, das Zielverzeichnis zu bestimmen. Die Dokumentation der Software sollte in der Regel den entscheidenden Hinweis geben. :)


Danke, sorry das war doof. Habe nun:
Code:
scons prefix="${D}/usr" install


Funktioniert jetzt :)
Back to top
View user's profile Send private message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1914
Location: Schweiz

PostPosted: Wed Oct 31, 2012 3:14 pm    Post subject: Reply with quote

Sag mal, gibt es dein ebuild für "disko" auch in irgendeinem overlay?
_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW
Back to top
View user's profile Send private message
disi
Veteran
Veteran


Joined: 28 Nov 2003
Posts: 1354
Location: Out There ...

PostPosted: Wed Oct 31, 2012 4:11 pm    Post subject: Reply with quote

Ne, nur den Bug Report mit ebuild:
https://bugs.gentoo.org/show_bug.cgi?id=271056

Ich habe da aber nichts mehr mit gemacht, das war mehr aus einem Anfall von Neugier heraus :D
Keine Ahnung, ob das noch tut...
_________________
Gentoo on Uptime Project - Larry is a cow
Back to top
View user's profile Send private message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1914
Location: Schweiz

PostPosted: Thu Nov 01, 2012 7:00 am    Post subject: Reply with quote

disi wrote:
Ich habe da aber nichts mehr mit gemacht, das war mehr aus einem Anfall von Neugier heraus :D

Und was hältst du persönlich so von dem kleinen GUI?
_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum 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