MRatWork Forum by Mustafa Ramadhan
Language Specific Discussions => Indonesia Users => Topic started by: zenkul on 2015-09-20, 15:46:30
-
bagaimana cara install Twig C extension
cd ext/twig
phpize
./configure
make
make install
dengan "pear" phpize juga nggak bisa
http://twig.sensiolabs.org/doc/installation.html#installing-the-c-extension
ini persyaratan tidak wajib untuk drupal 8
mohon petunjuk[/quote]
-
Coba jalankan 'yum install php-twig'.
-
tidak bisa
-----------------------------------------------------------------
Resolving Dependencies
--> Running transaction check
---> Package php-twig.x86_64 0:1.20.0-1.el6 will be installed
--> Processing Dependency: php(zend-abi) = 20090626 for package: php-twig-1.20.0-1.el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: php-twig-1.20.0-1.el6.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.3.3-46.el6_6 will be installed
--> Processing Conflict: php54-common-5.4.45-1.ius.el6.x86_64 conflicts php-common < 5.4
--> Finished Dependency Resolution
Error: php54-common conflicts with php-common-5.3.3-46.el6_6.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
------------------------------
sysinfo:
A. Kloxo-MR: 7.0.0.b-2015091201
- Web: hiawatha-9.14.0-f.6.mr.el6.x86_64
- PHP: php54s-5.4.43-1.ius.el6 (cgi mode)
B. Plateform:
- OS: CentOS release 6.7 (Final) x86_64
- Hostname: ego.ebuku.science
C. Services:
1. MySQL: MariaDB-server-10.0.21-1.el6.x86_64
2. PHP:
- Branch: php54-cli-5.4.45-1.ius.el6.x86_64
- Multiple:
* php55m-5.5.28-1.ius.el6
* php56m-5.6.11-1.ius.el6
- Used: php56m
3. Httpd: --uninstalled--
- PHP Type: php-fpm_event
4. Lighttpd: --uninstalled--
5. Hiawatha: --used--
6. Nginx: --uninstalled--
7. Cache: --uninstalled--
8. Dns: nsd-4.1.4-1.mr.el6.x86_64
9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
- with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
D. Memory:
total used free shared buffers cached
Mem: 992 580 411 64 27 302
-/+ buffers/cache: 249 742
Swap: 511 2 509
E. Disk Space:
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 119G 36G 77G 32% /
-
Coba saja 'yum install php-twig --skip-broken'.
-
tidak bisa
Packages skipped because of dependency problems:
php-common-5.3.3-46.el6_6.x86_64 from updates
php-twig-1.20.0-1.el6.x86_64 from mratwork-epel
-----
trim's
lewati aja Pak, nunggu jika ada user lain yg sukses
-
Memang diperlukan compile ulang. Mungkin bisa dipakai php-twig.src.rpm untuk tujuan ini.
-
wah, ternyata hanya perlu tambahan "yum install php54-devel"
it's work