MRatWork Forum by Mustafa Ramadhan

Language Specific Discussions => Indonesia Users => Topic started by: zenkul on 2015-09-20, 15:46:30

Title: <ask> bagaimana cara install Twig C extension
Post 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]
Title: Re: <ask> bagaimana cara install Twig C extension
Post by: MRatWork on 2015-09-20, 17:33:00
Coba jalankan 'yum install php-twig'.
Title: Re: <ask> bagaimana cara install Twig C extension
Post by: zenkul on 2015-09-20, 20:41:33
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% /

Title: Re: <ask> bagaimana cara install Twig C extension
Post by: MRatWork on 2015-09-21, 02:33:12
Coba saja 'yum install php-twig --skip-broken'.
Title: Re: <ask> bagaimana cara install Twig C extension
Post by: zenkul on 2015-09-21, 02:55:53
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
Title: Re: <ask> bagaimana cara install Twig C extension
Post by: MRatWork on 2015-09-21, 03:41:06
Memang diperlukan compile ulang. Mungkin bisa dipakai php-twig.src.rpm untuk tujuan ini.
Title: Re: <ask> bagaimana cara install Twig C extension
Post by: zenkul on 2016-04-28, 08:11:24
wah, ternyata hanya perlu tambahan "yum install php54-devel"

it's work