vectorgraphics / asymptote

2D & 3D TeX-Aware Vector Graphics Language
https://asymptote.sourceforge.io/
GNU General Public License v3.0
542 stars 90 forks source link

No rule to make target 'gc.h', needed by 'lspserv.o'. Stop. #328

Closed yurivict closed 2 years ago

yurivict commented 2 years ago

Build fails on FreeBSD:

gmake[2]: Entering directory '/disk-samsung/freebsd-ports/math/asymptote/work/asymptote-2.81'
gmake[2]: *** No rule to make target 'gc.h', needed by 'lspserv.o'.  Stop.
gmake[2]: Leaving directory '/disk-samsung/freebsd-ports/math/asymptote/work/asymptote-2.81'
*** Error code 1

Where is gc.h supposed to come from?

johncbowman commented 2 years ago

Fixed in commit fa28442195bd99b9bac87e3ff752953ac57ee172.

Note: gc.h is part of Boehm GC; be sure to configure with --enable-gc (the default).