fail pecl.php.net swift/swift

I tried again to do a clean install of emoncms and always came to the same error in step:

sudo pear channel-discover pear.swiftmailer.org

sudo pecl install channel://pecl.php.net/dio-0.0.6 redis swift/swift
 

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212+lfs/dio.so' - /usr/lib/php5/20121212+lfs/dio.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212+lfs/redis.so' - /usr/lib/php5/20121212+lfs/redis.so: cannot open shared object file: No such file or directory in Unknown on line 0
Channel "pear.swiftmailer.org" is already initialized

downloading dio-0.0.6.tgz ...
Starting to download dio-0.0.6.tgz (18,811 bytes)
......done: 18,811 bytes
could not extract the package.xml file from "/build/php5-8gpaOy/php5-5.5.9+dfsg/pear-build-download/dio-0.0.6.tgz"
Download of "pecl/dio" succeeded, but it is not a valid package archive
Error: cannot download "pecl/dio"
downloading redis-2.2.7.tgz ...
Starting to download redis-2.2.7.tgz (134,340 bytes)
...done: 134,340 bytes
could not extract the package.xml file from "/build/php5-8gpaOy/php5-5.5.9+dfsg/pear-build-download/redis-2.2.7.tgz"
Download of "pecl/redis" succeeded, but it is not a valid package archive
Error: cannot download "pecl/redis"
downloading Swift-5.1.0.tgz ...
Starting to download Swift-5.1.0.tgz (113,740 bytes)
...done: 113,740 bytes
could not extract the package.xml file from "/build/php5-8gpaOy/php5-5.5.9+dfsg/pear-build-download/Swift-5.1.0.tgz"
Download of "swift/swift" succeeded, but it is not a valid package archive
Error: cannot download "swift/Swift"
Download failed
install failed
 

Help me please!!!!

thank!!!

 

Paul Reed's picture

Re: fail pecl.php.net swift/swift

Is it a Raspberry Pi? Are you using this installation guide?

Paul

camilosti's picture

Re: fail pecl.php.net swift/swift

Hi Paul

I am using a PC with ubuntu 14.04 lts installation in clean.

The old installation on another PC I have installed it on Ubuntu 12.04 installation that time and gave no problems.

I am following the steps in this guide:

https://github.com/emoncms/emoncms/blob/9.0/docs/LinuxInstall.md

Any suggestions ?
Thank you

Paul Reed's picture

Re: fail pecl.php.net swift/swift

Sorry, I know very little about Raspbian, but even less about Ubunto. Hopefully someone else will.

Paul

Bill Thomson's picture

Re: fail pecl.php.net swift/swift

Sounds similar to what this user describes:

The problem is that Ubuntu has replaced these libraries, but does not disable the config files

The solution - in that particular instance - is described here, the last post in the thread.

In essence, he deleted the associated .ini files.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.