Установить SQLite
Нужно установить SQLite на сервер Linux, CentOS
PHP 5.2.17
Инструкция по установке http://linuxguru.ru/administration/ustanovka-php-sqlite-dlya-php5-2/
При попытке установить не доведено до конца из-за ошибки:
yum install rpm-build sqlite2
Excluding Packages from CentOS-5 - Base
Finished
Reducing CentOS-5 - Plus to included packages only
Finished
Excluding Packages from CentOS-5 - Updates
Finished
Setting up Install Process
Package rpm-build-4.4.2.3-28.el5_8.i386 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package sqlite2.i386 0:2.8.17-10.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
sqlite2 i386 2.8.17-10.el5 epel 169 k
Transaction Summary
================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)
Total download size: 169 k
Is this ok [y/N]: Exiting on user Command
Complete!
> cd /usr/local/src
> wget 3es.atomicrocketturtle.com/packages/php/archive/php-sqlite2-5.2.17-1.art.src.rpm
--2012-10-22 18:19:00-- http://3es.atomicrocketturtle.com/packages/php/archive/php-sqlite2-5.2.17-1.art.src.rpm
Resolving 3es.atomicrocketturtle.com... 74.208.195.110
Connecting to 3es.atomicrocketturtle.com|74.208.195.110|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 375310 (367K) [application/x-rpm]
Saving to: `php-sqlite2-5.2.17-1.art.src.rpm'
0K .......... .......... .......... .......... .......... 13% 101K 3s
50K .......... .......... .......... .......... .......... 27% 154K 2s
100K .......... .......... .......... .......... .......... 40% 310K 1s
150K .......... .......... .......... .......... .......... 54% 10.4M 1s
200K .......... .......... .......... .......... .......... 68% 320K 1s
250K .......... .......... .......... .......... .......... 81% 6.75M 0s
300K .......... .......... .......... .......... .......... 95% 327K 0s
350K .......... ...... 100% 2.77M=1.3s
2012-10-22 18:19:02 (280 KB/s) - `php-sqlite2-5.2.17-1.art.src.rpm' saved [375310/375310]
> rpmbuild --rebuild php-sqlite2-5.2.17-1.art.src.rpm
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
error: Failed build dependencies:
sqlite2 >= 2.8.17 is needed by php-sqlite2-5.2.17-1.art.i386
Installing php-sqlite2-5.2.17-1.art.src.rpm