Gentoo Archives: gentoo-dev

From: Henti Smith <bain@×××××××.za>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] wierd problem with ebuild
Date: Mon, 16 Dec 2002 04:45:34
Message-Id: 20021216084915.62cc5e01.bain@tcsn.co.za
In Reply to: [gentoo-dev] wierd problem with ebuild by Henti Smith
1 On Mon, 16 Dec 2002 08:45:03 +0200
2 Henti Smith <bain@×××××××.za> wrote:
3
4 > Hi there
5 >
6 > I'm busy writing an ebuild for moonlight 3d modeler .. it's pretty cool :)
7 > anyway ..
8 >
9 > when executing ebuild /path/moonlight-0.5.5.ebuild install I get this
10 >
11 > >>> Install moonlight-0.5.5 into /var/tmp/portage/moonlight-0.5.5/image/ category media-gfx
12 > /bin/sh: -c: line 1: syntax error near unexpected token `32563(D'
13 > /bin/sh: -c: line 1: `mkdir -p 32563(DESTDIR)/usr/lib/moonlight'
14 > make: *** [/usr/lib/moonlight] Error 2
15 >
16 > !!! ERROR: media-gfx/moonlight-0.5.5 failed.
17 > !!! Function src_install, Line 2, Exitcode 2
18 > !!! (no error message)
19 >
20 > I'm not sure at all what the token "32562" stuff is ... anybody have a clue ?
21
22 on closer inspection of the Makefile ... this is where the problem seems to come in
23
24 installdata:
25 @mkdir -p $(DESTDIR)$(prefix)/bin
26 @mkdir -p $(DESTDIR)$(prefix)/etc
27 @mkdir -p $(DESTDIR)$(prefix)/share/moonlight/database/GEOMETRIES
28 @mkdir -p $(DESTDIR)$(prefix)/share/moonlight/database/HIERARCHIES
29 @mkdir -p $(DESTDIR)$(prefix)/share/moonlight/database/IMAGES
30 @mkdir -p $(DESTDIR)$(prefix)/share/moonlight/database/MATERIALS
31 @mkdir -p $(DESTDIR)$(prefix)/share/moonlight/database/PROJECTS
32 @mkdir -p $(DESTDIR)$(prefix)/share/moonlight/database/SCENES
33 @mkdir -p $(DESTDIR)$(prefix)/share/moonlight/database/TT_FONTS
34 cp moonlightrc $(DESTDIR)$(prefix)/etc/
35 cp moonlight $(DESTDIR)$(prefix)/bin/
36 chmod +x $(DESTDIR)$(prefix)/bin/moonlight
37 cp $(VPATH)/../tt_fonts/*.txt $(VPATH)/../tt_fonts/*.ttf $(DESTDIR)$(prefix)/share/moonlight/database/TT_FONTS
38
39 I'm still not sure how that translates to 32562 ..
40
41 anybody else wanna have a crack at this ... ?
42
43 mail me .. I'll send you my current ebuikd .. it's dirty .. but it compiles at least ;PPPP ehe
44
45 another question .. if the source untar's into a straight diretoiry without version info ..
46 is it ok if I change S=${WORKDIR}/moonlight ?
47
48 Henti
49
50 --
51 gentoo-dev@g.o mailing list