Problemi installazione estensione PECL

Problemi con l'installazione di pacchetti

Problemi installazione estensione PECL

Messaggioda matiux » 08/03/2016, 12:12

Ciao a tutti,
sto cercando di installare l'estensione PECL mailparse.

Inizialmente ho provato a creare un pacchetto deb con dh-make-pecl (https://www.dotdeb.org/2008/09/25/how-t ... -yourself/)

Ma mi dava degli errori. Poi ho provato installando direttamente la pecl ma ho scoperto di avere gli stessi problemi.

Questa è l'estensione

https://pecl.php.net/package/mailparse

Questo il log:

Codice: Seleziona tutto
pecl install mailparse-2.1.6
downloading mailparse-2.1.6.tgz ...
Starting to download mailparse-2.1.6.tgz (36,538 bytes)
..........done: 36,538 bytes
9 source files, building
running: phpize
Configuring for:
PHP Api Version:         20131106
Zend Module Api No:      20131226
Zend Extension Api No:   220131226
cp: impossibile eseguire stat di 'ltmain.sh': File o directory non esistente
building in /tmp/pear/temp/pear-build-rootVQ1eHL/mailparse-2.1.6
running: /tmp/pear/temp/mailparse/configure
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
checking for PHP extension directory... /usr/lib/php5/20131226
checking for PHP installed headers prefix... /usr/include/php5
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... nawk
....
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
sed: can't read /tmp/pear/temp/mailparse/ltmain.sh: No such file or directory
mv: cannot stat 'libtoolT': No such file or directory
cp: cannot stat 'libtoolT': No such file or directory
chmod: cannot access 'libtool': No such file or directory
running: make
/bin/bash /tmp/pear/temp/pear-build-rootVQ1eHL/mailparse-2.1.6/libtool --mode=compile cc  -I. -I/tmp/pear/temp/mailparse -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootVQ1eHL/mailparse-2.1.6/include -I/tmp/pear/temp/pear-build-rootVQ1eHL/mailparse-2.1.6/main -I/tmp/pear/temp/mailparse -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/mailparse/mailparse.c -o mailparse.lo
/bin/bash: /tmp/pear/temp/pear-build-rootVQ1eHL/mailparse-2.1.6/libtool: File o directory non esistente
Makefile:187: set di istruzioni per l'obiettivo "mailparse.lo" non riuscito
make: *** [mailparse.lo] Errore 127
ERROR: `make' failed
matiux
Newbie
Newbie
 
Messaggi: 30
Iscritto il: 15/03/2012, 11:05

Torna a Installazione

Chi c’è in linea

Visitano il forum: Nessuno e 3 ospiti