View previous topic :: View next topic |
Author |
Message |
Untux Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/126488675247b645b7f3e36.gif)
Joined: 10 Apr 2006 Posts: 285
|
Posted: Wed Dec 20, 2006 2:57 am Post subject: [ebuild] spécifier un chemin à econf ? (résolu) |
|
|
Salut à tous,
Est-il possible de spécifier un chemin pour la fonction econf ? Je m'explique : dans les instructions d'installation des sources ion-3ds-20061029 il est indiqué
Readme For ION-3DS wrote: |
go to the directory build/ac, run autoreconf and then ./configure. Switch back to the top directory afterwards. |
Dans le nouvel ebuild que j'essaie de créer, en me basant sur x11-wm/ion3/ion3-20060326.ebuild, il y a
Code: |
...
src_compile() {
autoreconf -i build/ac
...
econf \
--sysconfdir=/etc/X11 \
`use_enable iontruetype xft` \
`use_enable xinerama` \
${myconf} || die
...
}
...
|
Mais lorsque je lance l'emerge, il échoue puisqu'il ne trouve pas les fichiers pour ./configure. J'ai résolu temporairement le problème en copiant, à la racine du répertoire, tous les fichiers contenus dans build/... Mais j'aimerais bien savoir si il est possible de spécifier à econf que les fichiers sont dans build/ac. J'ai jeté un oeil sur Gentoo development guide et sur Ebuild HOWTO mais je n'ai pas trouvé de réponse (C'est mon premier ebuild, alors soyez indulgents si j'ai loupé la phrase qui explique tout ;)
Merci d'avance pour votre aide.
Last edited by Untux on Wed Dec 20, 2006 11:50 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
netfab Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 03 Mar 2005 Posts: 1966 Location: 127.0.0.1
|
Posted: Wed Dec 20, 2006 10:58 am Post subject: |
|
|
Salut,
Si les fichiers présents dans build/ac sont prévus pour être exécutés depuis cet endroit, alors il suffit de te déplacer dans ce répertoire avant de lancer l'autoreconf :
Code: |
src_compile() {
cd ${S}/ac
...
autoreconf
econf \
--sysconfdir=/etc/X11 \
...
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Untux Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/126488675247b645b7f3e36.gif)
Joined: 10 Apr 2006 Posts: 285
|
Posted: Wed Dec 20, 2006 11:07 am Post subject: |
|
|
Salut netfab. Impec, merci beaucoup.
PS ta « Localisation » m'a bien fait marrer :) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|