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
1
vote
1 answer

YouCompleteMe can't find local header files

I currently have a project that is structured as so project | |----src/ | | | |----test.cpp | |----include/ | | | |----test.hpp | |----.ycm_extra_conf.py But I can't get YouCompleteMe to recognize test.hpp when it's include in…
jakedipity
  • 890
  • 8
  • 19
1
vote
0 answers

Using more than one linker in the same make

I'm currently trying to do a source installation of LLVM in a gentoo i686 virtual machine, and in the process of compiling (make) the default linker (bfd) throws an error because of a shortage in memory. In this site I found that changing the linker…
Diego Bano
  • 11
  • 3
1
vote
1 answer

DMA error on start without AC

I installed funtoo on surface pro 2. All works good except situation when you're booting tablet on battery power. In this case I'm getting error bellow every 20 sec and tablet doesn't react on keypress, touch, doesn't log anything. fsck says there…
Anton Shuvalov
  • 3,560
  • 3
  • 16
  • 20
1
vote
2 answers

Using library with different names within autoconf

I am trying to build an application with OpenSync 0.4 (0.3.9 indeed) dependency. In the project's configure.ac the opensync library is written as libopensync1. However, this doesn't build on my Gentoo system. Changing libopensync1 to libopensync…
Ryan Li
  • 9,020
  • 7
  • 33
  • 62
1
vote
1 answer

Installation of rgdal fails in Gentoo with inverser.c include directive

I am trying to install rgdal (a dependency of gstat) in R on a Calculate Linux (effectively a generic Gentoo) clean installation. I have sci-libs/gdal installed. Here are the last few lines of output: x86_64-pc-linux-gnu-g++ -I/usr/lib64/R/include…
1
vote
2 answers

Gentoo + VICE (commodore 64 emulator)

Well, this is awkward. I've installed VICE on Gentoo (Commodore 64 emulator), and... can't start it. I've looked into distfiles and I should have "x64" as a starting command (also a bunch of others programs) but there is no such thing. Here are the…
Krasnij
  • 11
  • 1
1
vote
1 answer

Trouble compiling 'hello world' kernel module in 4.3.0-sabayon linux

I am trying to compile a simple kernel module. The Makefile is: obj-m += hello-l.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean The errors…
Thirdeye
  • 89
  • 3
1
vote
2 answers

Can I change gcc default options without using command-line?

I am plagued by the Gentoo bug #580414. In short, the default options mislead configure into not detecting standard include files because some headers contain this code: #if defined _FORTIFY_SOURCE && _FORTIFY_SOURCE > 0 # if !defined __OPTIMIZE__…
MKaama
  • 1,732
  • 2
  • 19
  • 28
1
vote
1 answer

modprobe: ERROR: could not insert 'snd_aloop': No such device

I'm trying to make a Jack-ALSA bridge on gentoo, but I cannot load the snd_aloop module. Kernel: $ uname -a Linux MalfattiTux 4.6.7-rt-rt11 #1 SMP Thu Sep 22 14:54:42 BRT 2016 x86_64 Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz GenuineIntel…
Malfatti
  • 60
  • 1
  • 7
1
vote
1 answer

Matplotlib cannot find sans-serif family

This code import numpy as np import matplotlib.pyplot as plt from matplotlib import rcParams rcParams.update({ 'font.family':'sans-serif', 'font.sans-serif':['Helvetica'], }) fig, ax = plt.subplots() im =…
TheChymera
  • 17,004
  • 14
  • 56
  • 86
1
vote
1 answer

How to find in Linux system, which suitable version of glibc can be installed

I'm trying to update glibc 2.19-r1 to newer version 2.23-r1 in order to overcome some security vulnerabilities. I generated a new binary package (tbz2) using Gentoo system, but now I'm having problems with installing it to my system. my question is:…
sami610
  • 79
  • 1
  • 7
1
vote
0 answers

Desktop.el under emacsclient

I am trying to use desktop functionality (http://www.emacswiki.org/emacs/DeskTop) in emacs. I added following code to my .emacs: (require 'desktop) (setq desktop-save t) (setq desktop-load-locked-desktop t) (setq *desktop-dir* (list…
MageSlayer
  • 421
  • 4
  • 12
1
vote
2 answers

Recompile with -fPIC Gentoo

I'm new to Gentoo and trying to install a 3D modelling program called TexGen (http://texgen.sourceforge.net/index.php/Main_Page) using CMake, and I keep getting the error: relocation R_X86_64_32 against `.rodata' can not be used when making a shared…
aviator333
  • 11
  • 2
1
vote
0 answers

Rstudio on Gentoo with qt = no workspace variable and file list text

I'm trying to fix the problem of no text when I run rstudio at my gentoo. My gentoo is configured with the necessary use flags to be almost pure QT5 desktop. I have tested from rstudio-0.98.1091 (qt4) to rstudio-0.99.879(qt5) My graphic card is…
Alex B.
  • 58
  • 1
  • 9
1
vote
4 answers

What is the best Linux distro for System Programming?

I want to work with low level system programming and virtualization for my research. I tried Ubuntu 10.04 + Xen 4.0.0 but they weren't going quite well right from the installation. One of my friends suggested to take up Gentoo. Any more suggestions?
Srujan
  • 75
  • 2
  • 10