View previous topic :: View next topic |
Author |
Message |
Heinzelmännchen Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 11 Mar 2004 Posts: 179 Location: MV, Germany
|
Posted: Tue Aug 10, 2004 1:46 pm Post subject: PHP mit Zip (ZZIPlib) compiliert |
|
|
Hi,
ich habe ganz normal emerge php gemacht. Doch jetzt würde ich gerne noch die ZIP Lesefunktion haben. Wie realisiere ich das jetzt? PHP habe ich ja nicht selber compiliert. Das ging ja alles automatisch.
Gruß
Heinzelmännchen _________________ Gute Dinge, will Weile haben! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Heinzelmännchen Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 11 Mar 2004 Posts: 179 Location: MV, Germany
|
Posted: Thu Aug 12, 2004 10:55 am Post subject: |
|
|
Hi,
zum einen muß man emerge mod_php machen und dann habe ich auch noch die /usr/portage/dev-php/mod_php/mod_php-5.0.0-r1.ebuild Datei bearbeitet. Hier habe ich unter src_compiler() in my_conf '--with-zip' hinzugefügt.
Jetzt aber ich auch PHP5 am laufen. Jedoch funktioniert zip_open() in PHP nicht. Wenn ich phpinfo() mache, dann steht aber unter Configure Command: Code: | './configure' '--prefix=/usr' '--host=i586-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--with-zip' '--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' '--disable-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' '--without-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-freetype-dir=/usr' '--with-t1lib=/usr' '--enable-gd-jis-conf' '--enable-gd-native-ttf' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--without-tiff-dir' '--without-xpm-dir' '--with-gd' '--with-mysql' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--disable-session' '--without-sqlite' '--enable-dba' '--with-readline' '--without-libedit' |
Hätte ich vielleicht hinter --with-zip noch etwas angeben müssen oder liegt es nicht mehr an Administration Gentoo sondern PHP?
Gruß
Heinzelmännchen _________________ Gute Dinge, will Weile haben! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
moe Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 28 Mar 2003 Posts: 1289 Location: Potsdam / Germany
|
Posted: Thu Aug 12, 2004 3:45 pm Post subject: |
|
|
Hast du denn ZZIPlib auch installiert?
Welche Fehlermeldung kommt denn, beim zip_open?
Gruss Maurice _________________ Signaturen sind doof. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Heinzelmännchen Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 11 Mar 2004 Posts: 179 Location: MV, Germany
|
Posted: Thu Aug 12, 2004 5:09 pm Post subject: |
|
|
Ja, habe Zziplib auch installiert.
Bei zip_open() kommt 'Fatal error: Call to undefined function zip_open() in /var/www/localhost/htdocs/info.php on line 3'. Also wird ZIP nicht unterstützt, oder? _________________ Gute Dinge, will Weile haben! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
_hephaistos_ Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/111921919843cb778389615.jpg)
Joined: 07 Apr 2004 Posts: 2694 Location: salzburg, austria
|
Posted: Thu Aug 12, 2004 5:25 pm Post subject: |
|
|
hallo,
ja, das stimmt -> zziplib hast nicht drinnen...
poste ev. einen bugreport auf bugs.gentoo.org, weil es kein useflag dafür gibt...
such natürlich erstmal im forum und auf bugs.gentoo.org ausführlich...
ciao |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Heinzelmännchen Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 11 Mar 2004 Posts: 179 Location: MV, Germany
|
Posted: Thu Aug 12, 2004 6:41 pm Post subject: |
|
|
hephaistos6 wrote: | hallo,
ja, das stimmt -> zziplib hast nicht drinnen...
poste ev. einen bugreport auf bugs.gentoo.org, weil es kein useflag dafür gibt...
such natürlich erstmal im forum und auf bugs.gentoo.org ausführlich...
ciao |
Hi, Du hast recht. Hatte noch mal unmerge gemacht und es erneut versucht.
Dabei kam folgendes heraus: Code: | ops -pipe -mno-sse2 -fPIC -DUSE_MEMORY_H -c psy.c -fPIC -DPIC -o .libs/psy.o
In file included from psy.c:29:
scales.h: In function `unitnorm':
scales.h:32: internal error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[2]: *** [psy.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/libvorbis-1.0.1-r2/work/libvorbis-1.0.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libvorbis-1.0.1-r2/work/libvorbis-1.0.1/lib'
make: *** [all-recursive] Error 1
!!! ERROR: media-libs/libvorbis-1.0.1-r2 failed.
!!! Function src_compile, Line 51, Exitcode 2
!!! (no error message)
|
Das sieht aber nicht nach zziplib aus!
Gruß
Heinzelmännchen _________________ Gute Dinge, will Weile haben! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
batzee Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_flexo.gif)
Joined: 27 Apr 2004 Posts: 105
|
Posted: Sun Nov 21, 2004 1:48 am Post subject: |
|
|
irgendwelche neuen Erkenntnisse zu diesem Thema? Ein USE-Flag scheint es ja immernoch nicht zu geben. Überlege einen Bugreport zu schreiben... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Heinzelmännchen Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 11 Mar 2004 Posts: 179 Location: MV, Germany
|
Posted: Mon Nov 22, 2004 3:12 pm Post subject: |
|
|
Hm,
neue Erkenntnisse habe ich vorerst nicht sammeln können, da ich das Thema vorerst auf Eis gelegt hatte und mir einfach die Freiräume mit unzip geschaffen habe.
Realisiert sollte es eigentlich mit emergen von zziplib und dann via Parameter bei compilieren Zip Support mit anzugeben.
Gruß
Heinzelmännchen _________________ Gute Dinge, will Weile haben! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|