View previous topic :: View next topic |
Author |
Message |
cwc Veteran
Joined: 20 Mar 2006 Posts: 1305 Location: Tri-Cities, WA USA
|
Posted: Fri Aug 07, 2020 1:31 pm Post subject: atom.io on gentoo |
|
|
I really would like to install atom.io . I use emacs but I want atom.io
Please throw me a bone if you have been successful.
I've tried this https://blog.codefx.org/tools/atom-on-gentoo/
and I am at the following error from $$ script/build (as non-root):
Code: |
\
| ^~
In file included from /home/cwc/.node-gyp/14.4.0/include/node/node.h:67,
from ../src/batch.cc:1:
/home/cwc/.node-gyp/14.4.0/include/node/v8.h:3034:26: note: initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
3034 | int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
| ~~~~~~~~~^~~~~~~
make: *** [leveldown.target.mk:125: Release/obj.target/leveldown/src/batch.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/cwc/ice/atom/script/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 5.4.48-gentoo
gyp ERR! command "/usr/bin/node" "/home/cwc/ice/atom/script/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/cwc/ice/atom/script/node_modules/leveldown
gyp ERR! node -v v14.4.0
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! leveldown@4.0.2 install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the leveldown@4.0.2 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/cwc/.npm/_logs/2020-08-07T13_21_49_705Z-debug.log
at checkExecSyncError (child_process.js:611:11)
at Object.execFileSync (child_process.js:629:15)
at module.exports (/home/cwc/ice/atom/script/lib/install-script-dependencies.js:9:16)
at Object.<anonymous> (/home/cwc/ice/atom/script/bootstrap:37:1)
at Module._compile (internal/modules/cjs/loader.js:1200:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)
at Module.load (internal/modules/cjs/loader.js:1049:32)
at Function.Module._load (internal/modules/cjs/loader.js:937:14)
at Module.require (internal/modules/cjs/loader.js:1089:19)
at require (internal/modules/cjs/helpers.js:73:18) {
status: 1,
signal: null,
output: [
null,
<Buffer 0a 3e 20 6c 65 76 65 6c 64 6f 77 6e 40 34 2e 30 2e 32 20 69 6e 73 74 61 6c 6c 20 2f 68 6f 6d 65 2f 63 77 63 2f 69 63 65 2f 61 74 6f 6d 2f 73 63 72 69 ... 3850 more bytes>,
<Buffer 2e 2e 2f 64 65 70 73 2f 6c 65 76 65 6c 64 62 2f 6c 65 76 65 6c 64 62 2d 31 2e 32 30 2f 75 74 69 6c 2f 68 61 73 68 2e 63 63 3a 20 49 6e 20 66 75 6e 63 ... 43164 more bytes>
],
pid: 164139,
stdout: <Buffer 0a 3e 20 6c 65 76 65 6c 64 6f 77 6e 40 34 2e 30 2e 32 20 69 6e 73 74 61 6c 6c 20 2f 68 6f 6d 65 2f 63 77 63 2f 69 63 65 2f 61 74 6f 6d 2f 73 63 72 69 ... 3850 more bytes>,
stderr: <Buffer 2e 2e 2f 64 65 70 73 2f 6c 65 76 65 6c 64 62 2f 6c 65 76 65 6c 64 62 2d 31 2e 32 30 2f 75 74 69 6c 2f 68 61 73 68 2e 63 63 3a 20 49 6e 20 66 75 6e 63 ... 43164 more bytes>
}
|
_________________ Without diversity there can be no evolution:) |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21724
|
Posted: Fri Aug 07, 2020 11:43 pm Post subject: |
|
|
I see two problems here. First, something called npm. This is probably a bad idea. Second, the output shown does not have an actual error message. That is likely somewhere higher up. Please search back for an error and post that. |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Sat Aug 08, 2020 7:28 am Post subject: Re: atom.io on gentoo |
|
|
Why not try those third party repositories? Code: | eselect repository enable chaoslab
emaint sync -r chaoslab
emerge --ask --verbose --tree --autounmask app-editors/atom::chaoslab
|
|
|
Back to top |
|
|
Banana Veteran
Joined: 21 May 2004 Posts: 1407 Location: Germany
|
|
Back to top |
|
|
cwc Veteran
Joined: 20 Mar 2006 Posts: 1305 Location: Tri-Cities, WA USA
|
Posted: Tue Aug 11, 2020 2:12 pm Post subject: |
|
|
thank you .
I followed this tutorial: https://wiki.gentoo.org/wiki/Layman
I'm not sure how to do this. I'd like to try the atom-bin and atom-bin was not in the layman list.
layman -l | grep atom
* atom [Git ] (https://github.com/elprans/atom-o...)
ciclo ~ #
also I get an error with chaoslab
Code: |
# eselect repository enable chaoslab
!!! Error: Can't load module repository
exiting
|
_________________ Without diversity there can be no evolution:) |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Tue Aug 11, 2020 3:06 pm Post subject: |
|
|
cwc wrote: | also I get an error with chaoslab
Code: |
# eselect repository enable chaoslab
!!! Error: Can't load module repository
exiting
|
|
Forgot to mention you need app-eselect/eselect-repository installed. |
|
Back to top |
|
|
cwc Veteran
Joined: 20 Mar 2006 Posts: 1305 Location: Tri-Cities, WA USA
|
Posted: Tue Aug 11, 2020 3:46 pm Post subject: |
|
|
solved:
I used https://gpo.zugaina.org/Overlays/jorgicio
layman -f -a jorgicio
eselect repository enable jorgicio
emaint sync -r jorgicio
emerge -a atom-bin _________________ Without diversity there can be no evolution:) |
|
Back to top |
|
|
bhaythorn1 n00b
Joined: 05 Aug 2006 Posts: 10
|
Posted: Fri Jun 23, 2023 8:55 pm Post subject: missing repository |
|
|
Hi, everyone,
I tried both solutions proposed here, and got different errors. For the layman solution, the emerge command stated that layman is masked due to many open bugs, and that I should use eselect repository instead, but like the previous member said, the chaoslab repository is not found when using the eselect repository command.
Maybe there is something we are doing wrong that keeps this specific repository hidden?
idk
Thanks |
|
Back to top |
|
|
stefan11111 l33t
Joined: 29 Jan 2023 Posts: 922 Location: Romania
|
Posted: Fri Jun 23, 2023 8:59 pm Post subject: Re: missing repository |
|
|
bhaythorn1 wrote: | Hi, everyone,
I tried both solutions proposed here, and got different errors. For the layman solution, the emerge command stated that layman is masked due to many open bugs, and that I should use eselect repository instead, but like the previous member said, the chaoslab repository is not found when using the eselect repository command.
Maybe there is something we are doing wrong that keeps this specific repository hidden?
idk
Thanks |
See: https://wiki.gentoo.org/wiki/Eselect/Repository _________________ My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev" |
|
Back to top |
|
|
|