Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ebuild] spécifier un chemin à econf ? (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Untux
Apprentice
Apprentice


Joined: 10 Apr 2006
Posts: 285

PostPosted: Wed Dec 20, 2006 2:57 am    Post subject: [ebuild] spécifier un chemin à econf ? (résolu) Reply with quote

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
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1966
Location: 127.0.0.1

PostPosted: Wed Dec 20, 2006 10:58 am    Post subject: Reply with quote

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
View user's profile Send private message
Untux
Apprentice
Apprentice


Joined: 10 Apr 2006
Posts: 285

PostPosted: Wed Dec 20, 2006 11:07 am    Post subject: Reply with quote

Salut netfab. Impec, merci beaucoup.

PS ta « Localisation » m'a bien fait marrer :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
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