Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"How to make a million dollars: First, get a million dollars." -- Steve Martin


computers / alt.os.linux.slackware / Re: NodeJS without compiler

SubjectAuthor
* NodeJS without compilerGuilherme Gonzaga
`- Re: NodeJS without compilerHenrik Carlqvist

1
NodeJS without compiler

<33b11ade-01e2-48f2-bac1-e9cab075efb7n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=1980&group=alt.os.linux.slackware#1980

  copy link   Newsgroups: alt.os.linux.slackware
X-Received: by 2002:a05:6214:560c:b0:649:f255:e483 with SMTP id mg12-20020a056214560c00b00649f255e483mr126511qvb.5.1694711150607;
Thu, 14 Sep 2023 10:05:50 -0700 (PDT)
X-Received: by 2002:a9d:65d2:0:b0:6c0:b1b2:9504 with SMTP id
z18-20020a9d65d2000000b006c0b1b29504mr1723262oth.3.1694711150321; Thu, 14 Sep
2023 10:05:50 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.os.linux.slackware
Date: Thu, 14 Sep 2023 10:05:50 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2001:1284:f034:1ec9:b59e:55fc:2fff:6a01;
posting-account=jIsJ_goAAAAJPl2BRimot7COOc816pb8
NNTP-Posting-Host: 2001:1284:f034:1ec9:b59e:55fc:2fff:6a01
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <33b11ade-01e2-48f2-bac1-e9cab075efb7n@googlegroups.com>
Subject: NodeJS without compiler
From: guilherm...@gmail.com (Guilherme Gonzaga)
Injection-Date: Thu, 14 Sep 2023 17:05:50 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Guilherme Gonzaga - Thu, 14 Sep 2023 17:05 UTC

Does this slackbuild still works?

Re: NodeJS without compiler

<udvm87$2od57$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=1981&group=alt.os.linux.slackware#1981

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Henrik.C...@deadspam.com (Henrik Carlqvist)
Newsgroups: alt.os.linux.slackware
Subject: Re: NodeJS without compiler
Date: Thu, 14 Sep 2023 19:17:27 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <udvm87$2od57$1@dont-email.me>
References: <33b11ade-01e2-48f2-bac1-e9cab075efb7n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 14 Sep 2023 19:17:27 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f18e6e801f128f406ae329173de68e5f";
logging-data="2897063"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18suDS1od2iPIVk+MgBdAnz"
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:Z7znNCXy4fmviWIGib+CXtTTvrA=
 by: Henrik Carlqvist - Thu, 14 Sep 2023 19:17 UTC

On Thu, 14 Sep 2023 10:05:50 -0700, Guilherme Gonzaga wrote:

> Does 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

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor