1 |
Todd Heim wrote: |
2 |
|
3 |
>in you ebuild, instead of plain './configure'; try this: |
4 |
> |
5 |
>./configure --host=${CHOST} || die |
6 |
> |
7 |
>-- |
8 |
>Todd Heim |
9 |
> |
10 |
>On Tuesday 23 July 2002 10:42 am, Tibor Rudas wrote: |
11 |
><snip> |
12 |
> |
13 |
> |
14 |
>>src_compile() { |
15 |
>> ./configure || die |
16 |
>> |
17 |
>> make || die |
18 |
>>} |
19 |
>><snip> |
20 |
>>make stops with an "unknown target" error in some subdir. |
21 |
>>If I then enter '/scratch/tmp/portage/mpich-1.2.4/work/mpich-1.2.4' and |
22 |
>>type "make" it works fine. |
23 |
>> |
24 |
>> |
25 |
>... |
26 |
>_______________________________________________ |
27 |
>gentoo-dev mailing list |
28 |
>gentoo-dev@g.o |
29 |
>http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
30 |
> |
31 |
> |
32 |
> |
33 |
> |
34 |
The proper way would be |
35 |
|
36 |
src_compile() { |
37 |
econf || die |
38 |
emake || die |
39 |
} |
40 |
|
41 |
-- |
42 |
Doug Goldstein |
43 |
Developer (Laptops, WiFi, GCC-3.1) |
44 |
Gentoo Linux http://www.gentoo.org/~cardoe/ |