View previous topic :: View next topic |
Author |
Message |
sebbb Guru
Joined: 08 Oct 2003 Posts: 400 Location: [FR] - Paris
|
Posted: Fri Aug 20, 2004 4:15 pm Post subject: [emerge] - Modification d'un ./configure |
|
|
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 |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Fri Aug 20, 2004 4:23 pm Post subject: |
|
|
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 |
|
|
sebbb Guru
Joined: 08 Oct 2003 Posts: 400 Location: [FR] - Paris
|
Posted: Fri Aug 20, 2004 4:25 pm Post subject: |
|
|
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 |
|
|
Argian l33t
Joined: 01 May 2004 Posts: 682 Location: Nîmes
|
Posted: Fri Aug 20, 2004 4:49 pm Post subject: |
|
|
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 |
|
|
sebbb Guru
Joined: 08 Oct 2003 Posts: 400 Location: [FR] - Paris
|
Posted: Fri Aug 20, 2004 4:53 pm Post subject: |
|
|
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 |
|
|
Argian l33t
Joined: 01 May 2004 Posts: 682 Location: Nîmes
|
Posted: Fri Aug 20, 2004 4:56 pm Post subject: |
|
|
sebbb wrote: | Je suis en ~x86, ça vient peut-etre de là...
Je vais vérifier le fichier... | php5 alors ? Ceci explique cela |
|
Back to top |
|
|
sebbb Guru
Joined: 08 Oct 2003 Posts: 400 Location: [FR] - Paris
|
Posted: Fri Aug 20, 2004 4:58 pm Post subject: |
|
|
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 |
|
|
ghoti Advocate
Joined: 30 Dec 2002 Posts: 3636 Location: Belgium
|
Posted: Fri Aug 20, 2004 5:18 pm Post subject: Re: [emerge] - Modification d'un ./configure |
|
|
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 |
|
|
sebbb Guru
Joined: 08 Oct 2003 Posts: 400 Location: [FR] - Paris
|
Posted: Fri Aug 20, 2004 5:25 pm Post subject: |
|
|
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 |
|
|
|