Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PHP mit Zip (ZZIPlib) compiliert
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Heinzelmännchen
Apprentice
Apprentice


Joined: 11 Mar 2004
Posts: 179
Location: MV, Germany

PostPosted: Tue Aug 10, 2004 1:46 pm    Post subject: PHP mit Zip (ZZIPlib) compiliert Reply with quote

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


Joined: 11 Mar 2004
Posts: 179
Location: MV, Germany

PostPosted: Thu Aug 12, 2004 10:55 am    Post subject: Reply with quote

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


Joined: 28 Mar 2003
Posts: 1289
Location: Potsdam / Germany

PostPosted: Thu Aug 12, 2004 3:45 pm    Post subject: Reply with quote

Hast du denn ZZIPlib auch installiert?
Welche Fehlermeldung kommt denn, beim zip_open?

Gruss Maurice
_________________
Signaturen sind doof.
Back to top
View user's profile Send private message
Heinzelmännchen
Apprentice
Apprentice


Joined: 11 Mar 2004
Posts: 179
Location: MV, Germany

PostPosted: Thu Aug 12, 2004 5:09 pm    Post subject: Reply with quote

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


Joined: 07 Apr 2004
Posts: 2694
Location: salzburg, austria

PostPosted: Thu Aug 12, 2004 5:25 pm    Post subject: Reply with quote

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


Joined: 11 Mar 2004
Posts: 179
Location: MV, Germany

PostPosted: Thu Aug 12, 2004 6:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
batzee
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 105

PostPosted: Sun Nov 21, 2004 1:48 am    Post subject: Reply with quote

irgendwelche neuen Erkenntnisse zu diesem Thema? Ein USE-Flag scheint es ja immernoch nicht zu geben. Überlege einen Bugreport zu schreiben...
Back to top
View user's profile Send private message
Heinzelmännchen
Apprentice
Apprentice


Joined: 11 Mar 2004
Posts: 179
Location: MV, Germany

PostPosted: Mon Nov 22, 2004 3:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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