Post by Guilherme GonzagaDoes this slackbuild still works?
Do you mean the script at:
https://slackbuilds.org/repository/15.0/development/nodejs/
?
Usually the SlackBuild scripts at slackbuilds.org assume that you have
made a full install of Slackware and that of course also includes
compilers.
This particular SlackBuild script has the following lines:
-8<-----------------------
sed -i "s|math.h|cmath|" src/node_crypto.cc
./configure \
--prefix=/usr \
--shared-zlib \
--shared-openssl \
--ninja
-8<-----------------------
-8<-----------------------
make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS"
-8<-----------------------
So it looks as if it assumes that you have both a C compiler and a C++
compiler installed as both CFLAGS and CXXFLAGS are set and a C++ file
named node_crypto.cc is being modified. But again, usually those build
scripts assume a full install. Before make is run the script runs
configure which looks for different installed libraries.
regards Henrik