freenode / ircd-seven

freenode's IRC server daemon
Other
200 stars 48 forks source link

--disable-hyperscan broken #153

Closed thegrumble closed 5 years ago

thegrumble commented 5 years ago

https://github.com/freenode/ircd-seven/blob/51749efad96bd861271a860a345a6823aeb3c9c0/configure.ac#L524-L528

The configure script gives a choice on whether hyperscan support should be enabled. However, even if --disable-hyperscan is passed to the configure script, the resulting makefiles will still attempt to build m_filter and fail if there is no hyperscan on the system.

In my opinion, the autotools files should either be changed to properly build seven without m_filter if --disable-hyperscan is passed – or throw an error at configure time when attempting to build without hyperscan.

ghost commented 5 years ago

Hi, @xnrand , sudo apt-get install libhyperscan-dev pkg-config will help you get rid of it.

ilbelkyr commented 5 years ago

We should allow building without hyperscan (at the cost of not building m_filter), IMO; the rest of the ircd still works fine without it. I'm not the best at autotools but I'll take a look.

PoolloverNathan commented 4 years ago

Hi, @xnrand , sudo apt-get install libhyperscan-dev pkg-config will help you get rid of it.

E: Unable to locate package libhyperscan-dev
pi@PI-NATHAN:~/ircd-seven $ uname -a
Linux PI-NATHAN 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7l GNU/Linux
edk0 commented 4 years ago

Hyperscan doesn't support anything expect x86 and amd64.