1 |
Daniel Robbins wrote: |
2 |
> |
3 |
> On Wed, Apr 11, 2001 at 06:56:57AM +0200, Achim Gottinger wrote: |
4 |
> |
5 |
> > In situations where we modify aclocal or configure.in, i think it is better |
6 |
> > to run autoconf/... and add a patch for all modified files instead of running |
7 |
> > autoconf from the ebuild. This simplifies package dependencies and makes it |
8 |
> > possible to build all packages without autoconf/automake/m4/perl installed. |
9 |
> |
10 |
> I don't think that this really matters for packages like GNOME (after all, if |
11 |
> you're installing GNOME then you probably also have autoconf/Perl,etc. |
12 |
> installed :), but this technique would be useful for critical system packages, |
13 |
> like those found in sys-*. |
14 |
|
15 |
I had the following problem with glibc-2.2.2. Their configure file was |
16 |
not designed well and some |
17 |
tests failed on a system without perl (build). I liked petes suggestion |
18 |
to modify the root and not the leaf |
19 |
of the configuration, so I patched configure.in. |
20 |
So now I had to compile autoconf/m4/perl/libtool before I could build |
21 |
glibc (very bad). |
22 |
|
23 |
I think it is generally a good idea to add configure to the patch, |
24 |
because it is a bit confusing that |
25 |
the configure in work exists but does not work. So eigther it must be |
26 |
removed if configure.in gets modified |
27 |
or added to the patch. |
28 |
|
29 |
|
30 |
However, "emerge" should be able to sort out the |
31 |
> build/runtime deps perfectly in either case -- as long as the DEPEND and |
32 |
> RDEPEND strings are set correctly. |
33 |
|
34 |
Yes that's true. But in the above example it is a problem. |
35 |
|
36 |
> |
37 |
> Though I'll agree, it would be nice to have a Perl-free system (drobbins hides) |
38 |
|
39 |
Unfortunately xfree requires perl, so it whould be a xfree free system |
40 |
too. |
41 |
|
42 |
BTW: It whould be nice to have a python free runtime system too |
43 |
(nothing personal this time, so no need to run or hide :-)). |
44 |
This is impossible at the moment because of the env-update thing. It |
45 |
might be required on embedded platforms where disc space is rare |
46 |
(spython ~5MB). |
47 |
I suggest recode env-update in bash or c. |
48 |
|
49 |
achim~ |
50 |
|
51 |
> |
52 |
> -- |
53 |
> Daniel Robbins <drobbins@g.o> |
54 |
> President/CEO http://www.gentoo.org |
55 |
> Gentoo Technologies, Inc. |
56 |
> |
57 |
> _______________________________________________ |
58 |
> gentoo-dev mailing list |
59 |
> gentoo-dev@g.o |
60 |
> http://www.gentoo.org/mailman/listinfo/gentoo-dev |