Open gwijayas opened 11 years ago
Hi, how do you installed the extension?
These command on installing :
$ cd php-sass/
$ git submodule init
$ git submoule update
Submodule 'libsass' (git@github.com:bzick/libsass.git) registered for path 'libsass'
git submodule update
Cloning into 'libsass'...
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Clone of 'git@github.com:bzick/libsass.git' into submodule path 'libsass' failed
$ rm -fR libsass
$ git clone git://github.com/hcatlin/libsass.git
$ /opt/php/bin/phpize
Configuring for:
PHP Api Version: 20100412
Zend Module Api No: 20100525
Zend Extension Api No: 220100525
$ ./configure --with-sass --with-php-config=/opt/php_debug/bin/php-config
$ make && make install
Installing shared extensions: /opt/php/lib/php/20100525/
$ /opt/php/bin/php -m
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php/lib/php/20100525/sass.so' - /opt/php/lib/php/20100525/sass.so: undefined symbol: _ZN4Sass9Constants7rgb_kwdE in Unknown on line 0
It failed too on php 5.3.20. So I tried libsass from your repository, it is success for php 5.4 and 5.3
There is an error in .gitmodules
? Like my error messages above, failed to download your libsass. I change like this to download with git-submodule:
[submodule "libsass"]
path = libsass
url = https://github.com/bzick/libsass.git
to be able submodule pull
My PHP version is php 5.4.11. When invoke php from CLI (
php -m
), I got this error message: