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
3
votes
1 answer

gentoo ld.gold failed on sys-libs/db

I've recently switched from default binutils linker ld.bfd to ld.gold (to get link time optimization working and why not?). It was made by manual (like here: http://wiki.gentoo.org/wiki/Gold). As the result I got chain of symlinks from /usr/bin/ld…
Alexander Sergeyev
  • 922
  • 10
  • 19
3
votes
1 answer

Gentoo VirtualBox guest fails to boot without hardware virtualization

I have a Gentoo VM which I have created by installing from the latest (20131224) minimal x86 ISO and stage 3 tarball, using genkernel as the kernel. I created a Vagrant box after updating all the packages on the VM and installing a few extras such…
pwaring
  • 3,032
  • 8
  • 30
  • 46
3
votes
2 answers

Redmine on Gentoo: undefined method `active_record' for # (NoMethodError)

Running Redmine on Gentoo is hell on earth (at least for me as I have not much clue about ruby)! I'm currently "running" Redmine 2.3.2 via passenger and apache and since some days all i get is undefined method `active_record' for…
user1983686
  • 123
  • 1
  • 8
3
votes
1 answer

xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection

I've tried various ways to coerce xterm (versions 285 and 292) to copy the selection to the CLIPBOARD clipboard whenever I press Ctrl-Shift-C. The most promising way thus far has been, in ~/.Xresources, to put this: XTerm*vt100.translations:…
nacitar sevaht
  • 510
  • 5
  • 15
3
votes
1 answer

pkg-config doesn't see .pc file, even when containing folder is in PKG_CONFIG_PATH

I'm running gentoo linux, and I'm trying to get pkg-config to find ntk.pc (ntk being the library I'm trying to link to). Here are the premises: Output of echo $PKG_CONFIG_PATH: /usr/local/lib/pkgconfig:/usr/lib/pkgconfig Output of locate…
Athan Clark
  • 3,886
  • 2
  • 21
  • 39
3
votes
2 answers

How to solve the mess information in gcc warning

I compiled my porject on a 64-bit linux(2.6.39-gentoo-r3),GCC version 4.6.3 but when I do compiling , the warnings contain some unreadable characters.Just like below: warning: field precision specifier ?.*?.expects argument of type ?.nt?. but…
Hijack
  • 41
  • 3
3
votes
0 answers

git submodule or ? - single file dependency

I'm trying to use github to track my own portage overlay and wanted to be able to easily include & pull down changes from upstream file repos. Thing is when I pull them down I will often only need a single file or a handful of files from the remote…
Techdragon
  • 502
  • 8
  • 15
3
votes
3 answers

Returning a string comparison result - bash

I'm writing a small function which compare md512sums of two files. I can't say that I'm good in bash, but I need to return a simple result commented part is long code. It asks for a reduction. By the way, if someone have any ideas to improve my…
user1935526
  • 31
  • 1
  • 2
3
votes
1 answer

UTF-8 locale drop

I've wrote this test script: \n"; …
Yekver
  • 4,985
  • 7
  • 32
  • 49
3
votes
5 answers

Installing Sass on Gentoo

I've been trying to install Sass on Gentoo, but it hasn't been going too well. Unfortunately, the latest version of Sass in portage is 3.1.21. What I want to use Sass for requires at least Sass 3.2, which is available through rubygems. What I've…
q3d
  • 3,473
  • 8
  • 34
  • 39
3
votes
3 answers

How to install a masked package in Gentoo 2008?

I searched the net and handbook, but I only managed to learn what is the masked package, and not how to install it. I did find some commands, but they don't seem to work on 2008 (looking at it, it seems those are for earlier versions). I have…
Milan Babuškov
  • 59,775
  • 49
  • 126
  • 179
2
votes
1 answer

mod_rewrite adding unwanted file extension

I set up Phorum to use search-engine friendly URLs on my local server (Ubuntu Jaunty). It worked perfectly. Upon moving the site to the production server (Gentoo), I get 404 not found for all pages. The mod_rewrite logs below show the problem. The…
PeterB
  • 2,212
  • 2
  • 21
  • 33
2
votes
7 answers

Does the Gentoo install CD contain everything for C++ development?

I'd like to install Gentoo. I need it to develop GUI C++ applications using wxWidgets, so I need: build tools: make, automake, autoconf, etc. C++ compiler (GCC) X Window System for testing (Fluxbox or something minimal would be enough) Now, I have…
Milan Babuškov
  • 59,775
  • 49
  • 126
  • 179
2
votes
1 answer

Gentoo Linux global environments for root

I'm confused with setting variables in /etc/env.d directory. When I write echo $PATH from user - it's print me all variables that set it myself. But from root I see one... Where should I set variables for root?
RomanKovalev
  • 852
  • 3
  • 10
  • 29
2
votes
1 answer

Where can I find the arch/setup source?

Where can I find the arch/setup source? I did not find in ftp://ftp.archlinux.org/sources/ Who knows?