1 |
mark lybarger <mlybarge@××××××××××.com> writes: |
2 |
|
3 |
> i'm having troubles with my first ebuild script. it's having troubles |
4 |
> installing a library into /usr/lib. i've tried this with both the |
5 |
> libs existing and when they're non existant. |
6 |
> |
7 |
> Here's the src_install from the ebuild : |
8 |
> |
9 |
> src_install() { |
10 |
> make install || die |
11 |
> } |
12 |
> |
13 |
> and here's the errors from running the emerge: |
14 |
> |
15 |
> make[2]: Entering directory |
16 |
> `/var/tmp/portage/sword-1.5.4/work/sword-1.5.4/lib' |
17 |
> /bin/sh ../mkinstalldirs /usr/lib |
18 |
> /bin/sh ../libtool --mode=install /bin/install -c libsword.la |
19 |
> /usr/lib/libswor |
20 |
> d.la |
21 |
|
22 |
You need to get it to install into ${D}/usr not /usr. The ebuild.skel |
23 |
discusses the two approaches to this. |
24 |
|
25 |
-- |
26 |
Matthew Kennedy |
27 |
Gentoo Linux Developer |
28 |
|
29 |
Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6C25B0A2 |
30 |
Finger Print: 0C61 0CBC C669 5F26 8DBF 006D FBAB 30EA 6C25 B0A2 |