× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The real error is due to this:
 
 #include <memory>
 
This is a C++ memory header, which should be shipped with GCC. I would
suggest running "yum install "Development Tools'" to install it and
possibly other missing tools you might need.
 

----- Original message -----
From: john art <jhon_art@xxxxxxxxxxx>
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxxxxxxxx>
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxxxxxxxx>
Cc:
Subject: [EXTERNAL] [IBMiOSS] R: R: WikiJs for IBM i Application
Documentation or Internal Knowledgebase
Date: Sun, May 24, 2020 9:13 AM
 
Hi
another small step
before running  npm rebuild sqlite3,  to bypass error python not found
 , run this command
npm config set python /QOpenSys/pkgs/bin/python2
but know when i run npm rebuild sqlite3, i receive this other error

node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(403):
[1]https://mapbox-node-binary.s3.amazonaw  ;                            
                                                                       
                                                     
 s.com/sqlite3/v4.1.1/node-v72-aix-ppc64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for sqlite3@4.1.1 and
node@12.16.                                                            
                                                                       
                        2 (node-v72 ABI, unknown) (falling back to
source compile with node-gyp)
gmake: Entering directory '/wikijs/node_modules/sqlite3/build'
  ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep
Release/o                                                              
                                                                       
                      bj/gen/sqlite-autoconf-3300100/sqlite3.c
  TOUCH Release/obj.target/deps/action_before_build.stamp
  CC(target)
Release/obj.target/sqlite3/gen/sqlite-autoconf-3300100/sqlite3.o
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function
'sqlite3AtoF':
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:30935:13: warning:
dereferenci                                                            
                                                                       
                        ng type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
             result = INFINITY*s;
             ^~~~~~
  AR(target) Release/obj.target/deps/sqlite3.a
  COPY Release/sqlite3.a
  CXX(target) Release/obj.target/node_sqlite3/src/backup.o
In file included from
/home/GBANGE/.cache/node-gyp/12.16.2/include/node/node.h:6              
                                                                       
                                                                     
7:0,
                 from ../src/backup.cc:2:
/home/GBANGE/.cache/node-gyp/12.16.2/include/node/v8.h:21:18: fatal
error: memor                                                            
                                                                       
                        y: No such file or directory
 #include <memory>
                  ^
compilation terminated.
gmake: *** [node_sqlite3.target.mk:129:
Release/obj.target/node_sqlite3/src/back                                
                                                                       
                                                    up.o] Error 1
gmake: Leaving directory '/wikijs/node_modules/sqlite3/build'
gyp ERR! build error
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit
(/QOpenSys/pkgs/lib/nodejs12/lib/node_                                  
                                                                       
                                                 
modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit
(internal/child_proces                                                  
                                                                       
                                  s.js:275:12)
gyp ERR! System OS400 7.2
gyp ERR! command "/QOpenSys/pkgs/lib/nodejs12/bin/node"
"/QOpenSys/pkgs/lib/node                                                
                                                                       
                                   
js12/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build"
"--fall                                                                
                                                                       
                    back-to-build"
"--module=/wikijs/node_modules/sqlite3/lib/binding/node-v72-aix-p      
                                                                       
                                                                       
      pc64/node_sqlite3.node" "--module_name=node_sqlite3"
"--module_path=/wikijs/node                                            
                                                                       
                                       
_modules/sqlite3/lib/binding/node-v72-aix-ppc64" "--napi_version=5"
"--node_abi_                                                            
                                                                       
                        napi=napi" "--napi_build_version=0"
"--node_napi_label=node-v72"
gyp ERR! cwd /wikijs/node_modules/sqlite3
gyp ERR! node -v v12.16.2
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute
'/QOpenSys/pkgs/lib/nodejs12/bi                                        
                                                                       
                                            n/node
/QOpenSys/pkgs/lib/nodejs12/lib/node_modules/npm/node_modules/node-gyp/bi
                                                                       
                                                                       
            n/node-gyp.js build --fallback-to-build
--module=/wikijs/node_modules/sqlite3/li                                
                                                                       
                                                   
b/binding/node-v72-aix-ppc64/node_sqlite3.node
--module_name=node_sqlite3 --modu                                      
                                                                       
                                             
le_path=/wikijs/node_modules/sqlite3/lib/binding/node-v72-aix-ppc64
--napi_versi                                                            
                                                                       
                        on=5 --node_abi_napi=napi --napi_build_version=0
--node_napi_label=node-v72' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous>
(/wikijs/node_modules/no                                                
                                                                       
                                   
de-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
node-pre-gyp ERR! stack     at maybeClose
(internal/child_process.js:1021:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit
(internal/chi                                                          
                                                                       
                          ld_process.js:286:5)
node-pre-gyp ERR! System OS400 7.2
node-pre-gyp ERR! command "/QOpenSys/pkgs/lib/nodejs12/bin/node"
"/wikijs/node_m                                                        
                                                                       
                            odules/node-pre-gyp/bin/node-pre-gyp"
"install" "--fallback-to-build"
node-pre-gyp ERR! cwd /wikijs/node_modules/sqlite3
node-pre-gyp ERR! node -v v12.16.2
node-pre-gyp ERR!  -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute '/QOpenSys/pkgs/lib/nodejs12/bin/node
/QOpenSys/pkgs/lib/nodej                                                
                                                                       
                                   
s12/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build
--fallback-                                                            
                                                                       
                        to-build
--module=/wikijs/node_modules/sqlite3/lib/binding/node-v72-aix-ppc64/no
                                                                       
                                                                       
            de_sqlite3.node --module_name=node_sqlite3
--module_path=/wikijs/node_modules/sq                                  
                                                                       
                                                 
lite3/lib/binding/node-v72-aix-ppc64 --napi_version=5
--node_abi_napi=napi --nap                                              
                                                                       
                                      i_build_version=0
--node_napi_label=node-v72' (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sqlite3@4.1.1 install: `node-pre-gyp install
--fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sqlite3@4.1.1 install script.
npm ERR! This is probably not a problem with npm. There is likely
additional log                                                          
                                                                       
                          ging output above.

a  never ending story ..  to I'm thinking of abandoning too much wasted
time
Thanks all

________________________________
Da: OpenSource <opensource-bounces@xxxxxxxxxxxxxxxxxx> per conto di john
art <jhon_art@xxxxxxxxxxx>
Inviato: sabato 23 maggio 2020 23:39
A: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxxxxxxxx>
Oggetto: [IBMiOSS] R: WikiJs for IBM i Application Documentation or
Internal Knowledgebase

Hi Kevin
this the error that i receive when i run (from wikijs dir ...)
 npm install --python=/QOpenSys/pkgs/bin/python2

npm WARN deprecated @babel/polyfill@7.8.7: ð¨ This package has been
deprecated i                                                            
                                                n favor of separate
inclusion of a polyfill and regenerator-runtime (when needed            
                                                                       
                        ). See the @babel/polyfill docs
([2]https://babeljs.io/docs/en/babel-polyfill ;) for                    
                                                                       
                 more information.
npm WARN deprecated postcss-cssnext@3.1.0: 'postcss-cssnext' has been
deprecated                                                              
                                               in favor of
'postcss-preset-env'. Read more at [3]https://moox.io/blog/deprecating  ;
                                                                       
                                   -cssnext/
npm WARN deprecated viz.js@2.1.2: no longer supported
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+.
Upgrade                                                                
                                             to chokidar 3 with 15x less
dependencies.
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained
and not r                                                              
                                              ecommended for usage due
to the number of issues. Please, upgrade your dependenc                
                                                                       
                    ies to the actual version of core-js@3.
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+
and coul                                                                
                                            d be using insecure
binaries. Upgrade to fsevents 2.
npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on
reading Br                                                              
                                              owserslist >3.0 config
used in other tools.
npm WARN deprecated request@2.88.2: request has been deprecated, see
[4]https://git  ;                                                        
                                                 
 hub.com/request/request/issues/3142
npm ERR! code E404
npm ERR! 404 Not Found - GET
[5]https://registry.npmjs.org/elasticsearch6  - Not fou                
                                                                       
                    nd
npm ERR! 404
npm ERR! 404  'elasticsearch6@6.8.6' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name
yourself!)
npm ERR! 404 It was specified as a dependency of 'wikijs'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:

Thanks

________________________________
Da: john art <jhon_art@xxxxxxxxxxx>
Inviato: venerdì 22 maggio 2020 11:11
A: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxxxxxxxx>
Oggetto: R: [IBMiOSS] WikiJs for IBM i Application Documentation or
Internal Knowledgebase

Hi Aaron
many thanks for your reply  ..
i have redone the TAR command and now i can see sever folder.
now i have another porblem
when i run
/QOpenSys/pkgs/bin/npm rebuild sqlite3, i receive this errors:

> sqlite3@4.1.1 install /wikijs/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(403):
[6]https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.1.1/node-v72-aix-ppc64.tar.gz ;
node-pre-gyp WARN Pre-built binaries not found for sqlite3@4.1.1 and
node@12.16.2 (node-v72 ABI, unknown) (falling back to source compile
with node-gyp)
gmake: Entering directory '/wikijs/node_modules/sqlite3/build'
  ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c
/bin/sh: python:  not found
gmake: *** [deps/action_before_build.target.mk:13:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c] Error 127
gmake: Leaving directory '/wikijs/node_modules/sqlite3/build'
gyp ERR! build error
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit
(/QOpenSys/pkgs/lib/nodejs12/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit
(internal/child_process.js:275:12)
gyp ERR! System OS400 7.2
gyp ERR! command "/QOpenSys/pkgs/lib/nodejs12/bin/node"
"/QOpenSys/pkgs/lib/nodejs12/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"build" "--fallback-to-build"
"--module=/wikijs/node_modules/sqlite3/lib/binding/node-v72-aix-ppc64/node_sqlite3.node"
"--module_name=node_sqlite3"
"--module_path=/wikijs/node_modules/sqlite3/lib/binding/node-v72-aix-ppc64"
"--napi_version=5" "--node_abi_napi=napi" "--napi_build_version=0"
"--node_napi_label=node-v72"
gyp ERR! cwd /wikijs/node_modules/sqlite3
gyp ERR! node -v v12.16.2
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute
'/QOpenSys/pkgs/lib/nodejs12/bin/node
/QOpenSys/pkgs/lib/nodejs12/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js
build --fallback-to-build
--module=/wikijs/node_modules/sqlite3/lib/binding/node-v72-aix-ppc64/node_sqlite3.node
--module_name=node_sqlite3
--module_path=/wikijs/node_modules/sqlite3/lib/binding/node-v72-aix-ppc64
--napi_version=5 --node_abi_napi=napi --napi_build_version=0
--node_napi_label=node-v72' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous>
(/wikijs/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
node-pre-gyp ERR! stack     at maybeClose
(internal/child_process.js:1021:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit
(internal/child_process.js:286:5)
node-pre-gyp ERR! System OS400 7.2
node-pre-gyp ERR! command "/QOpenSys/pkgs/lib/nodejs12/bin/node"
"/wikijs/node_modules/node-pre-gyp/bin/node-pre-gyp" "install"
"--fallback-to-build"
node-pre-gyp ERR! cwd /wikijs/node_modules/sqlite3
node-pre-gyp ERR! node -v v12.16.2
node-pre-gyp ERR!  -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute '/QOpenSys/pkgs/lib/nodejs12/bin/node
/QOpenSys/pkgs/lib/nodejs12/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js
build --fallback-to-build
--module=/wikijs/node_modules/sqlite3/lib/binding/node-v72-aix-ppc64/node_sqlite3.node
--module_name=node_sqlite3
--module_path=/wikijs/node_modules/sqlite3/lib/binding/node-v72-aix-ppc64
--napi_version=5 --node_abi_napi=napi --napi_build_version=0
--node_napi_label=node-v72' (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sqlite3@4.1.1 install: `node-pre-gyp install
--fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sqlite3@4.1.1 install script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/GBANGE/.npm/_logs/2020-05-22T09_03_18_713Z-debug.log

can some one help me to understand which could be the problem '
Thanks in advance
J

________________________________
Da: OpenSource <opensource-bounces@xxxxxxxxxxxxxxxxxx> per conto di
Aaron Magid <aaron@xxxxxxxxxxx>
Inviato: venerdì 22 maggio 2020 00:59
A: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxxxxxxxx>
Oggetto: Re: [IBMiOSS] WikiJs for IBM i Application Documentation or
Internal Knowledgebase

That error is telling you it can't find anything called "server" in your
directory.

I just downloaded the package and it has a directory called "server"
which
contains a bunch of JavaScript code - could yours have been renamed?

Can you run an "*ls*" and send the output?

On Thu, May 21, 2020 at 3:05 PM john art <jhon_art@xxxxxxxxxxx> wrote:

>
> Hi all
>
> following this link at
> [7]https://archive.midrange.com/midrange-l/202005/msg00152.html ;
> i'm try to start the service but i have some problems;
> this my situation :
> [[8]https://static.midrange.com/images/archive_logo.gif ;]<
> [9]https://archive.midrange.com/midrange-l/202005/msg00152.html ;>
> RE: WikiJs for IBM i Application Documentation or Internal --
MIDRANGE-L<
> [10]https://archive.midrange.com/midrange-l/202005/msg00152.html ;>
> "Price is right" was a joke/funny/humor, maybe not :) I have not
written
> any specific instructions at this point. But here's a basic guide that
> might work for you.
> archive.midrange.com
>
>
> doing:
> PATH=/QOpenSys/pkgs/bin:$PATH
> export PATH
> node -v
> i see :
> v12.16.2
>
> now, doing :
> cd /wikijs
> node server
>    i receive this error :
> internal/modules/cjs/loader.js:983
>   throw err;
>   Error: Cannot find module '/wikijs/server'
>     at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:980:15)
>     at Function.Module._load (internal/modules/cjs/loader.js:862:27)
>     at Function.executeUserEntryPoint [as runMain]
> (internal/modules/run_main.js:74:12)
>     at internal/main/run_main_module.js:18:47 {
>   code: 'MODULE_NOT_FOUND',
>   requireStack: []
> }
> any idea ?
> Thanks
> ________________________________
>
> --
> This is the IBMi Open Source Roundtable (OpenSource) mailing list
> To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: [11]https://lists.midrange.com/mailman/listinfo/opensource ;
> or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at [12]https://archive.midrange.com/opensource ;.
>
> Help support midrange.com by shopping at amazon.com with our affiliate
> link: [13]https://amazon.midrange.com ;
>

--
Aaron Magid
Eradani
VP, Open Source Technologies
(510) 295-9297

CONFIDENTIALITY NOTICE:
The information contained in this communication, including attachments,
may
contain privileged and confidential information that is intended only
for
the exclusive use of the addressee. If the reader of this message is not
the intended recipient, or the employee or agent responsible for
delivering
it to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this communication in error please
notify
us by telephone immediately.
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [14]https://lists.midrange.com/mailman/listinfo/opensource ;
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [15]https://archive.midrange.com/opensource ;.

Help support midrange.com by shopping at amazon.com with our affiliate
link: [16]https://amazon.midrange.com ;
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [17]https://lists.midrange.com/mailman/listinfo/opensource ;
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [18]https://archive.midrange.com/opensource ;.

Help support midrange.com by shopping at amazon.com with our affiliate
link: [19]https://amazon.midrange.com ;
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [20]https://lists.midrange.com/mailman/listinfo/opensource ;
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [21]https://archive.midrange.com/opensource ;.

Help support midrange.com by shopping at amazon.com with our affiliate
link: [22]https://amazon.midrange.com ;
 

 

References

Visible links
1. https://mapbox-node-binary.s3.amazonaw/
2. https://babeljs.io/docs/en/babel-polyfill
3. https://moox.io/blog/deprecating
4. https://git/
5. https://registry.npmjs.org/elasticsearch6
6. https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.1.1/node-v72-aix-ppc64.tar.gz
7. https://archive.midrange.com/midrange-l/202005/msg00152.html
8. https://static.midrange.com/images/archive_logo.gif
9. https://archive.midrange.com/midrange-l/202005/msg00152.html
10. https://archive.midrange.com/midrange-l/202005/msg00152.html
11. https://lists.midrange.com/mailman/listinfo/opensource
12. https://archive.midrange.com/opensource
13. https://amazon.midrange.com/
14. https://lists.midrange.com/mailman/listinfo/opensource
15. https://archive.midrange.com/opensource
16. https://amazon.midrange.com/
17. https://lists.midrange.com/mailman/listinfo/opensource
18. https://archive.midrange.com/opensource
19. https://amazon.midrange.com/
20. https://lists.midrange.com/mailman/listinfo/opensource
21. https://archive.midrange.com/opensource
22. https://amazon.midrange.com/

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.