1 |
i'm having troubles with my first ebuild script. it's having troubles |
2 |
installing a library into /usr/lib. i've tried this with both the libs |
3 |
existing and when they're non existant. |
4 |
|
5 |
Here's the src_install from the ebuild : |
6 |
|
7 |
src_install() { |
8 |
make install || die |
9 |
} |
10 |
|
11 |
and here's the errors from running the emerge: |
12 |
|
13 |
make[2]: Entering directory |
14 |
`/var/tmp/portage/sword-1.5.4/work/sword-1.5.4/lib' |
15 |
/bin/sh ../mkinstalldirs /usr/lib |
16 |
/bin/sh ../libtool --mode=install /bin/install -c libsword.la |
17 |
/usr/lib/libswor |
18 |
d.la |
19 |
/bin/install -c .libs/libsword.so.1.0.0 /usr/lib/libsword.so.1.0.0 |
20 |
ACCESS DENIED unlink: /usr/lib/libsword.so.1.0.0 |
21 |
/bin/install: cannot remove `/usr/lib/libsword.so.1.0.0': Permission denied |
22 |
make[2]: *** [install-libLTLIBRARIES] Error 1 |
23 |
make[2]: Leaving directory |
24 |
`/var/tmp/portage/sword-1.5.4/work/sword-1.5.4/lib' |
25 |
make[1]: *** [install-am] Error 2 |
26 |
make[1]: Leaving directory |
27 |
`/var/tmp/portage/sword-1.5.4/work/sword-1.5.4/lib' |
28 |
make: *** [install-recursive] Error 1 |
29 |
|
30 |
!!! ERROR: The ebuild did not complete successfully. |
31 |
!!! Function src_install, Line 1, Exitcode 2 |
32 |
!!! (no error message) |
33 |
|
34 |
--------------------------- ACCESS VIOLATION SUMMARY |
35 |
--------------------------- |
36 |
LOG FILE = "/tmp/sandbox-sword-1.5.4-20851.log" |
37 |
|
38 |
unlink: /usr/lib/libsword.so.1.0.0 |
39 |
-------------------------------------------------------------------------------- |
40 |
|
41 |
|
42 |
thanks! |
43 |
~mark |