Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[emerge] - Modification d'un ./configure
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
sebbb
Guru
Guru


Joined: 08 Oct 2003
Posts: 400
Location: [FR] - Paris

PostPosted: Fri Aug 20, 2004 4:15 pm    Post subject: [emerge] - Modification d'un ./configure Reply with quote

Bonjour,

J'ai besoin d'ajouter une ou deux options à php et mod_php, (il faudrai que j'ajoute --with-ttf)
Comment faire sans modifier l'ebuild ?

Apparament aucune optionUSE ne fait...
_________________
Sebbb

De tous les gens qui n'ont rien à dire,
les plus agréables sont ceux qui se taisent...
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Fri Aug 20, 2004 4:23 pm    Post subject: Reply with quote

ttf c'est les fonts truetype ?

dans ce cas, ya la variable use truetype
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
sebbb
Guru
Guru


Joined: 08 Oct 2003
Posts: 400
Location: [FR] - Paris

PostPosted: Fri Aug 20, 2004 4:25 pm    Post subject: Reply with quote

non, c'est bien ce que je dis, le flag truetype ne parrait pas suffisant...
_________________
Sebbb

De tous les gens qui n'ont rien à dire,
les plus agréables sont ceux qui se taisent...
Back to top
View user's profile Send private message
Argian
l33t
l33t


Joined: 01 May 2004
Posts: 682
Location: Nîmes

PostPosted: Fri Aug 20, 2004 4:49 pm    Post subject: Reply with quote

Code:
 if use truetype; then
  myconf="${myconf} --with-freetype-dir=/usr"
  myconf="${myconf} --with-ttf=/usr"
  myconf="${myconf} --with-t1lib=/usr"
Voila ce qu'il fait avec le USE truetype (Tiré de l'eclass php-sapi). "--with-ttf=/usr", ça te va pas ?
Back to top
View user's profile Send private message
sebbb
Guru
Guru


Joined: 08 Oct 2003
Posts: 400
Location: [FR] - Paris

PostPosted: Fri Aug 20, 2004 4:53 pm    Post subject: Reply with quote

et voila ce que donne phpinfo :
Code:
Configure Command     './configure' '--prefix=/usr' '--host=i386-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--with-apxs2=/usr/sbin/apxs2' '--with-config-file-path=/etc/php/apache2-php5' '--without-pear' '--disable-bcmath' '--without-bz2' '--disable-calendar' '--without-jpeg-dir' '--without-cpdflib' '--disable-ctype' '--without-curl' '--without-curlwrappers' '--disable-dbase' '--disable-dio' '--disable-exif' '--without-fam' '--without-fbsql' '--without-fdftk' '--disable-filepro' '--enable-ftp' '--with-gettext' '--without-gmp' '--without-hwapi' '--without-iconv' '--without-informix' '--without-ingres' '--without-interbase' '--enable-mbstring' '--with-mcrypt' '--without-openssl-dir' '--without-mcve' '--disable-memory-limit' '--without-mhash' '--without-mime-magic' '--without-ming' '--without-mnogosearch' '--without-msql' '--without-mssql' '--with-ncurses' '--without-oci8' '--without-oracle' '--with-openssl' '--without-ovrimos' '--disable-pcntl' '--without-pcre-regx' '--without-pfpro' '--with-pgsql' '--disable-posix' '--with-pspell' '--without-recode' '--disable-simplexml' '--disable-shmop' '--without-snmp' '--disable-soap' '--disable-sockets' '--disable-spl' '--without-sybase' '--without-sybase-ct' '--disable-sysvmsg' '--disable-sysvsem' '--disable-sysvshm' '--without-tidy' '--disable-tokenizer' '--disable-wddx' '--without-xsl' '--without-xmlrpc' '--disable-yp' '--with-zlib' '--without-cdb' '--with-db4' '--without-dbm' '--without-flatfile' '--with-gdbm' '--without-inifile' '--without-qdbm' '--with-gd' '--enable-gd-jis-conf' '--enable-gd-native-ttf' '--with-mysql' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--without-mm' '--without-msession' '--without-sqlite' '--enable-dba' '--with-readline' '--without-libedit'


Je vois bien le :
Code:
'--enable-gd-native-ttf'
mais pas le reste

Je suis en ~x86, ça vient peut-etre de là...
Je vais vérifier le fichier...
_________________
Sebbb

De tous les gens qui n'ont rien à dire,
les plus agréables sont ceux qui se taisent...
Back to top
View user's profile Send private message
Argian
l33t
l33t


Joined: 01 May 2004
Posts: 682
Location: Nîmes

PostPosted: Fri Aug 20, 2004 4:56 pm    Post subject: Reply with quote

sebbb wrote:
Je suis en ~x86, ça vient peut-etre de là...
Je vais vérifier le fichier...
php5 alors ? Ceci explique cela :P
Back to top
View user's profile Send private message
sebbb
Guru
Guru


Joined: 08 Oct 2003
Posts: 400
Location: [FR] - Paris

PostPosted: Fri Aug 20, 2004 4:58 pm    Post subject: Reply with quote

Donc tu vois quelle solution ?

(a part passer en x86...)
_________________
Sebbb

De tous les gens qui n'ont rien à dire,
les plus agréables sont ceux qui se taisent...
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3634
Location: Belgium

PostPosted: Fri Aug 20, 2004 5:18 pm    Post subject: Re: [emerge] - Modification d'un ./configure Reply with quote

sebbb wrote:
J'ai besoin d'ajouter une ou deux options à php et mod_php, (il faudrai que j'ajoute --with-ttf)
Comment faire sans modifier l'ebuild ?

Il y a une possibilité en utilisant directement des commandes "ebuild".
C'est l'objet d'une des questions de la FAQ : Je veux effectuer l'étape ./configure moi-même. Est-ce possible ?
Back to top
View user's profile Send private message
sebbb
Guru
Guru


Joined: 08 Oct 2003
Posts: 400
Location: [FR] - Paris

PostPosted: Fri Aug 20, 2004 5:25 pm    Post subject: Reply with quote

oki, merci ghoti, je teste
_________________
Sebbb

De tous les gens qui n'ont rien à dire,
les plus agréables sont ceux qui se taisent...
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