'uv.h' file not found when compiling node-v16.20.1
binLep opened this issue · 1 comments
binLep commented
Platform: FreeBSD 13.2-STABLE
Architecture: amd64
CXXFLAGS may need to include this path when compiling module nodejs
/usr/local/include
I fixed it with the following command
make CXXFLAGS+='-I/usr/local/include' install clean
The path to the uv.h file
root@binlep:/usr/ports/www/node16/work/node-v16.20.1 # ls -la /usr/local/include/ | grep uv
drwxr-xr-x 2 root wheel 1536 Aug 25 21:29 libkeduvocdocument
drwxr-xr-x 2 root wheel 512 Aug 26 00:04 uv
-rw-r--r-- 1 root wheel 69366 Aug 6 09:13 uv.h
binLep commented
I need to do more tests before opening this issue.