When trying to compile PHP 5.3.22 as per this guide, https://www.howtoforge.com/how-to-u...fpm-and-fastcgi-with-ispconfig-3-ubuntu-12.10 I get an error about a missing event.h file. Link to config.log: https://pastebin.com/2yaueFii Please help. I really need to get it working.
Just to add, I tried installing libevent, libevent-dev, kqueue and kqueue-dev, which supposedly should provide sys/event.h, but the program still complains. I also tried apt-file find event.h but no luck. can somebody, please please please really tell me which /sys/event.h, time.h and types.h files this thing really needs ? I tried different libraries but it keeps whining about these files and this is really frustrating.
OK so I built it without the flags --with imap --with imap ssl and it built fine, but I would really like to build it properly with IMAP.
The solution was to add --with-openssl=/usr \ --with-imap=/usr \ to the config command and it is now working OK. Additionally, the program auto-apt is awesome for resolving dependencies while installing from source.