Nп/п : 52 из 100
 От   : Henrik Carlqvist                    2:5075/128        14 сен 23 19:17:27
 К    : Guilherme Gonzaga                                     14 сен 23 22:20:02
 Тема : Re: NodeJS without compiler
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 1@dont-email.me> b200c2c6
@REPLY:
<33b11ade-01e2-48f2-bac1-e9cab075efb7n@googlegroups.com> a1fb863f
@REPLYADDR Henrik Carlqvist
<Henrik.Carlqvist@deadspam.com>
@REPLYTO 2:5075/128 Henrik Carlqvist
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID: 1@dont-email.me>
@RFC-References:
<33b11ade-01e2-48f2-bac1-e9cab075efb7n@googlegroups.com>
@TZUTC: -0000
@PID: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
@TID: FIDOGATE-5.12-ge4e8b94
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
--- Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2)
 * Origin: A noiseless patient Spider (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх