Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

[solved] Build atom.io editor or appropriate overlay

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
mistreated
n00b
n00b
Posts: 26
Joined: Sun Dec 03, 2006 10:55 pm
Location: Riga, Latvia

[solved] Build atom.io editor or appropriate overlay

  • Quote

Post by mistreated » Mon May 04, 2015 2:44 pm

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/maste ... s/linux.md) and get the following error:

Code: Select all

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: Select all

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.
Top
Ian
l33t
l33t
Posts: 834
Joined: Mon Oct 28, 2002 10:15 pm
Location: Somerville, MA

  • Quote

Post by Ian » Wed May 13, 2015 11:24 pm

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.
Top
mistreated
n00b
n00b
Posts: 26
Joined: Sun Dec 03, 2006 10:55 pm
Location: Riga, Latvia

  • Quote

Post by mistreated » Fri May 15, 2015 4:15 pm

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.
Top
mistreated
n00b
n00b
Posts: 26
Joined: Sun Dec 03, 2006 10:55 pm
Location: Riga, Latvia

  • Quote

Post by mistreated » Sat May 16, 2015 10:29 pm

I've added the overlay, but after running

Code: Select all

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!
Top
mistreated
n00b
n00b
Posts: 26
Joined: Sun Dec 03, 2006 10:55 pm
Location: Riga, Latvia

  • Quote

Post by mistreated » Tue Jun 09, 2015 11:41 am

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: Select all

#eix-remote update
#eix-sync
Use -R for search in remote overlays:

Code: Select all

eix -R atom
Top
stephan-t
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 122
Joined: Mon May 12, 2014 6:44 am

  • Quote

Post by stephan-t » Tue Jun 09, 2015 3:12 pm

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
Top
Post Reply

6 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic