sensational / sassphp

PHP bindings to libsass - fast, native Sass parsing in PHP!
Other
229 stars 39 forks source link

php install.php fails #25

Open nickleus opened 9 years ago

nickleus commented 9 years ago

trying to install on mac OS X Yosemite, v10.10.3:

grep: /Applications/MAMP/bin/php/php5.6.2/include/php/main/php.h: No such file or directory
grep: /Applications/MAMP/bin/php/php5.6.2/include/php/Zend/zend_modules.h: No such file or directory
grep: /Applications/MAMP/bin/php/php5.6.2/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:        
Zend Module Api No:     
Zend Extension Api No:  
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.

sh: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.

UPDATE

it was my MAMP that was messing it up, so i did this: nano -w ~/.bash_profile

it had contents:

export PATH="~/.composer/vendor/bin:/Applications/MAMP/bin/php/php5.6.2/bin:/Users/nick/Documents/bin:$PATH"

so i changed it to:

export PATH="~/.composer/vendor/bin:/usr/bin/php:/Users/nick/Documents/bin:$PATH"

then:

cd sassphp
php install.php
make test
sudo make install

and it installed :)

CyanSyd commented 9 years ago

trying to install on Windows Vista64:

php install.php make: * No rule to make target 'clean'. Stop. make: * No targets specified and no makefile found. Stop. 'phpize' is not recognized as an internal or external command, operable program or batch file. '.' is not recognized as an internal or external command, operable program or batch file. make: *\ No targets specified and no makefile found. Stop.

absalomedia commented 9 years ago

@CyanSyd there's no structure for Sassphp in it's current form to work or be built correctly on Windows. That said, I have been looking at a dedicated Wintel fork of it.