kpeeters / cadabra2

A field-theory motivated approach to computer algebra.
https://cadabra.science/
GNU General Public License v3.0
215 stars 37 forks source link

cadabra2 on Debian sid got some problem #262

Closed alexmyczko closed 1 year ago

alexmyczko commented 1 year ago

but it used to build some time ago, so I'm really not sure where/how this problem arised. Here's the relevant link:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019333

If you have an idea, I'd be glad to hear about it...

kpeeters commented 1 year ago

If you remove the one spurious include of pcrecpp.h from core/Storage.cc (it's no longer needed) then you can drop dependence on pcre altogether. That should do the trick.

kpeeters commented 1 year ago

The reason for the problem is that Debian removed the old pcre library which Cadabra used to rely on. I switched to using regular expressions from the standard library or boost some time ago, but forgot to check for any leftovers.

kpeeters commented 1 year ago

Sorry, there is still some pcre dependence in TeXEngine.cc, let me fix that first.

kpeeters commented 1 year ago

2.4.0.2 on github now contains no more references to pcre.