Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Build atom.io editor or appropriate overlay
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
mistreated
n00b
n00b


Joined: 03 Dec 2006
Posts: 23
Location: Riga, Latvia

PostPosted: Mon May 04, 2015 2:44 pm    Post subject: [solved] Build atom.io editor or appropriate overlay Reply with quote

Does anyone managed to build GitHub's Atom editor from sources? Or maybe some knows an overlay with appropriate ebuild?

I follow build instructions (https://github.com/atom/atom/blob/master/docs/build-instructions/linux.md) and get the following error:
Code:
script/build
Node: v1.8.1
npm: v2.5.1
Installing build modules...
Installing apm...
child_process: customFds option is deprecated, use stdio instead.
Package gnome-keyring-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gnome-keyring-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gnome-keyring-1' found
gyp: Call to 'pkg-config --libs-only-l gnome-keyring-1' returned exit status 1. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/home/mistreated/Downloads/atom/build/node_modules/npm/node_modules/node-gyp/lib/configure.js:343:16)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:169:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1009:12)
gyp ERR! System Linux 3.10.25-gentoo
gyp ERR! command "/home/mistreated/bin/iojs-v1.8.1-linux-x64/bin/iojs" "/home/mistreated/Downloads/atom/build/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/mistreated/Downloads/atom/apm/node_modules/atom-package-manager/node_modules/keytar
gyp ERR! node -v v1.8.1
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
child_process: customFds option is deprecated, use stdio instead.
child_process: customFds option is deprecated, use stdio instead.
npm ERR! Linux 3.10.25-gentoo
npm ERR! argv "/home/mistreated/bin/iojs-v1.8.1-linux-x64/bin/iojs" "/home/mistreated/Downloads/atom/build/node_modules/.bin/npm" "--userconfig=/home/mistreated/Downloads/atom/build/.npmrc" "--target=0.10.35" "install" "--loglevel" "error"
npm ERR! node v1.8.1
npm ERR! npm  v2.5.1
npm ERR! code ELIFECYCLE

npm ERR! keytar@2.1.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the keytar@2.1.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the keytar package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls keytar
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/mistreated/Downloads/atom/apm/npm-debug.log


I have gnome-keyring installed
Code:
equery l gnome-keyring
 * Searching for gnome-keyring ...
[IP-] [  ] gnome-base/gnome-keyring-3.14.0:0


But gnome-keyring-1.pc cannot be found on the filesystem.


Last edited by mistreated on Sat May 16, 2015 10:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ian
l33t
l33t


Joined: 28 Oct 2002
Posts: 828
Location: Somerville, MA

PostPosted: Wed May 13, 2015 11:24 pm    Post subject: Reply with quote

You can try this overlay:

https://github.com/aegypius/overlay

Unfortunately, I've got trouble with getting atom-shell (now electron) built, seems that npm hates sudo or something? It's unclear to me, and I've never really used it before.
Back to top
View user's profile Send private message
mistreated
n00b
n00b


Joined: 03 Dec 2006
Posts: 23
Location: Riga, Latvia

PostPosted: Fri May 15, 2015 4:15 pm    Post subject: Reply with quote

Thanks for reply!

Hoped to build atom myself, but currently I'm to busy to mess with the failing builds.. I'll try the overlay and write you back about the results.
Back to top
View user's profile Send private message
mistreated
n00b
n00b


Joined: 03 Dec 2006
Posts: 23
Location: Riga, Latvia

PostPosted: Sat May 16, 2015 10:29 pm    Post subject: Reply with quote

I've added the overlay, but after running
Code:
emerge -av app-ditors/atom
and looking through dependencies I've realized my mistake. :)

To build atom you need gnome-base/libgnome-keyring, but I was using gnome-base/gnome-keyring.

Thanks for help Ian!
Back to top
View user's profile Send private message
mistreated
n00b
n00b


Joined: 03 Dec 2006
Posts: 23
Location: Riga, Latvia

PostPosted: Tue Jun 09, 2015 11:41 am    Post subject: Reply with quote

Probably this already was posted somewhere, but still might be helpful to recall.

How to search overlays for specific package:
Update eix database with info from overlays:
Code:

#eix-remote update
#eix-sync

Use -R for search in remote overlays:
Code:

eix -R atom
Back to top
View user's profile Send private message
stephan-t
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2014
Posts: 89

PostPosted: Tue Jun 09, 2015 3:12 pm    Post subject: Reply with quote

Before Atom editor in overlay, I tried to install from source and specific depencies in Gentoo.
Because I not like this method and get some error after then compile from git.

The Overlay version is much more easier.

Click
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum