goodspb / pdlib

PHP extension for Dlib.
MIT License
71 stars 19 forks source link

autoheader: error: AC_CONFIG_HEADERS not found in configure.ac #47

Closed boyddensmore closed 2 years ago

boyddensmore commented 2 years ago

I've followed the dependency and installation instructions but when I get to phpize I get the following errors:

/usr/bin/phpize: 1: /usr/bin/phpize: /usr/bin/sed: not found
/usr/bin/phpize: 1: /usr/bin/phpize: /usr/bin/sed: not found
/usr/bin/phpize: 1: /usr/bin/phpize: /usr/bin/sed: not found
Configuring for:
PHP Api Version:        
Zend Module Api No:     
Zend Extension Api No:  
/usr/bin/phpize: 165: /usr/bin/phpize: /usr/bin/sed: not found
autoheader: error: AC_CONFIG_HEADERS not found in configure.ac

The issue is that configure.ac is empty, but I'm not sure why. I've tried this start to finish with PHP7.4 and PHP8.0, same result.

Raspberry OS Buster, Linux 5.10.63-v8+ #1496 SMP PREEMPT Wed Dec 1 15:59:46 GMT 2021 aarch64 GNU/Linux

boyddensmore commented 2 years ago

Well, after some debugging it turns out that phpize was looking for sed at /usr/bin/sed, which I didn't have. I changed phpize to point to /bin/sed and it ran fine. :)