Questions tagged [gentoo]

For programming problems that are specific to the Gentoo Linux distribution.

Gentoo Linux (/ˈdʒɛntuː/ jen-too)
Gentoo is a computer operating system built on top of the Linux kernel and based on the Portage package management system, distributed as free and open source software.

Unlike a conventional software distribution, the user compiles the source code locally according to their chosen configuration.

Where source-code is available, Portage (the package manager of Gentoo) normally supplies no precompiled binaries, continuing in the tradition of the ports collection. Although for convenience, some software packages (such as Mozilla Firefox and LibreOffice) are also available as precompiled binaries for various architectures where compiling would otherwise be very time consuming.

The development project and its products are named after the fastest-swimming penguin, the Gentoo, to reflect the potential speed improvements of machine-specific optimization. Gentoo package management is designed to be modular, portable, easy to maintain, flexible, and optimized for the user's machine. Gentoo describes itself as a meta-distribution, "because of its near-unlimited adaptability", in that the majority of users have configurations and sets of installed programs which are unique to themselves.

Official Site: http://www.gentoo.org/

316 questions
4
votes
2 answers

multiple-version gcc management in gentoo system

I know we can always use eselect to change the compiler version. My question is that possible to bind different version to different users. For example, I would like root to use stable version for sure. and meanwhile, I would like my normal user to…
Yan Zhu
  • 4,036
  • 3
  • 21
  • 37
4
votes
3 answers

Linking multiple C source files

I'm on gentoo linux with GCC 4.4.5 installed. I can compile and link such program without any errors using gcc main.c -o main, and the command ./main returns result correctly. [main.c] #include #include int main(void) { …
machinarium
  • 631
  • 6
  • 17
4
votes
1 answer

python: How many write access needed to write XML

I am writing a python module that writes data into an XML file. The piece of code that handles the write is: from xml.dom.minidom import Document #using DOMXml main = Document() #create an XML Document toFile =…
Tu Hoang
  • 4,622
  • 13
  • 35
  • 48
4
votes
1 answer

Install ElasticSearch on Gentoo

Trying install ElasticSearch on Gentoo, but there are a lot of errors happened. Is there any way to install ES not from source code for common linux distribution, but using some package manager like emerge or something similar. I'm not really…
4
votes
1 answer

Numpy API version mismatch

I'm trying to install tensorflow from source on a Gentoo system (I think I need to do this to get it to use CUDA 9.1). I'm able to build tensorflow, and then install it as a user with: pip3 install --no-cache-dir --user…
jdbrody
  • 533
  • 7
  • 16
4
votes
2 answers

git: pull specific branch, keep only the latest tree (without any history)

How can I pull a specific branch from a remote repository, checking out only the latest tree without keeping any history? This question is specifically related to checking out Gentoo's Portage tree: I'd like to update my Portage tree, without…
watain
  • 4,838
  • 4
  • 34
  • 35
4
votes
2 answers

Is it possible to un-link object files from an executable

Background: I am looking at developing a package manager similar to portage in Gentoo Linux ( I may end up forking portage). For those that know little about Gentoo it is a source based distro, which means that all packages are compiled from source…
silvergasp
  • 1,517
  • 12
  • 23
4
votes
1 answer

Enable php curl in gentoo linux

I've PHP installed in server (gentoo linux) without curl support. I know how to add php curl extension in ubuntu, centos, etc. But I'm new to gentoo. Any help will be appreciated. Thanks Habeeb
user2466388
4
votes
1 answer

MySQL Cannot Resolve Hostname

i have a problem with MySQL Server on Gentoo. When starting with /etc/init.d/mysql it simply hangs an nothing is happening until you interrupt with CTL + C. By trying to start with mysqld directly, mysqld says: 131007 0:54:00 [ERROR] Can't start…
Ottexx
  • 39
  • 1
  • 4
4
votes
1 answer

Linux - Script to edit clipboard content

Is there a way to write a script that would be applied to the clipboard content ( I'm using Linux\Gentoo)? When copy-pasting it would be nice to bind a keystroke that would (e.g -) remove all line breaks from the copied text. I couldn't find where…
Ohad Dan
  • 1,929
  • 5
  • 17
  • 22
4
votes
4 answers

Ebuild example for project in Go

I intend to create a Gentoo ebuild for a project written in Go, and I'm wondering whether this has been done before. As building and installing a Go project from source seems sufficiently different compared to projects in other programming…
Nicolas Kaiser
  • 1,628
  • 2
  • 14
  • 26
4
votes
2 answers

Should init scripts daemonize a process & are pid's essential?

I'm working on getting an init script written for the web-server shiny-server (shiny-server is a version of the R package shiny that allows you to run stand alone web-applications based on R). I'm working through the Gentoo Handbook : Writing Init…
slackline
  • 2,295
  • 4
  • 28
  • 43
4
votes
1 answer

Running Apache Archiva standalone in Gentoo?

I have a server running Gentoo 2.6.12 r6 and I want to run Apache Archiva as a standalone server at startup. Does anyone have a working init.d script to accomplish this? Thanks!
JavadocMD
  • 4,397
  • 2
  • 25
  • 23
4
votes
5 answers

How to configure PHP under Apache web server in GENTOO Operating System?

is there anyone who knows how to install / configure php under apache? I have emerge php apache both. I wanted to use mod_php for apache in GENTOO OS. php temp.php command line runs fine, but http://localhost/temp.php is not executing on web server…
shahjapan
  • 13,637
  • 22
  • 74
  • 104
3
votes
3 answers

Gentoo Installation on Virtualbox, startx fails

I followed the Gentoo Linux x86 Quick Installation Guide the base system is installed on virtualbox. I want gnome in it. The docs say I need to install hal. But emerge says there are no ebuilds to satisfy "hal". I did eselect profile list and then…
Neel Basu
  • 12,638
  • 12
  • 82
  • 146
1 2
3
21 22