Skip to main content

Questions tagged [compiling]

Questions related to compiling software from sources, usually using the "make" command.

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

How to automatically rebuild a package with a patch after an update?

I use several of my patches for packages from the Ubuntu repository. Every time a new version comes out, I have to patch the new package and run the build commands manually. Is there a tool that will ...
memstream's user avatar
0 votes
1 answer
59 views

How to compile and install latest qpdfview pdf reader?

My system environment is Ubuntu 20.04. I downloaded latest source code for qpdfview (0.5 version as of now) from: https://launchpad.net/qpdfview/+download Installation instruction in README file: It ...
Anton Samokat's user avatar
2 votes
1 answer
155 views

Issue installing "arm-linux-gnueabihf-gcc" and "arm-linux-gnueabihf" , unable to locate package

first time posting, and really need some help. So im currently on WSL trying to install some cross compilers with the following command,based off some old documentation that i found: sudo apt install ...
H Vincent's user avatar
1 vote
1 answer
254 views

Problems applying the Greens function method to calculate exchange energies with quantum-espresso and exchanges-master codes

I am trying to calculate exchange constants for crystalline Nickel (Ni) compounds using the Greens function method by Dm M. Korotin et al. Phys. Rev. B 91, 224405 (2015). This is accomplished with ...
Adolph Beyerlein's user avatar
0 votes
0 answers
61 views

How a build a source package taken from a previous Ubuntu release?

I'm trying to build curlftpfs sources downloaded from Ubuntu 23.10 universe repository on Ubuntu 24.04 LTS but debuild fails : $ mkdir -p src/curlftpfs $ cd src/curlftpfs $ wget -c http://archive....
SebMa's user avatar
  • 2,511
0 votes
1 answer
345 views

How to install curlftpfs on ubuntu 24.04 LTS : Package 'curlftpfs' has no installation candidate

I'm trying to install curlftpfs on Ubuntu 24.04 LTS but it fails although the universe repository is enabled : $ sudo apt install curlftpfs Reading package lists... Done Building dependency tree... ...
SebMa's user avatar
  • 2,511
0 votes
0 answers
29 views

Ubuntu server reboot not working after symlink change - live usb can not make the fix

I have accidently made a wrong symlink So currently rebooting does not work This error occurs after I have accidently changed the symlink of glibc as below sudo ln -sf /opt/glibc-2.38/lib/ld-linux-x86-...
dabid's user avatar
  • 1
1 vote
0 answers
71 views

libgtkgl2.0-dev: package not found, Ubuntu 24.04

I have Ubuntu 24.04 Noble, and was trying to build some old software. The ./configure script returns: configure: error: Package requirements (gtkgl-2.0) were not met: Package 'gtkgl-2.0', required by ...
Jean Dubois's user avatar
2 votes
1 answer
212 views

When compiling kernel the "Debian way", how do I add a local version modifier?

I've been experimenting with compiling my own kernel, and I'm having difficulty adding a local version modifier when following the instructions from BuildYourOwnKernel. This is the "Debian way&...
mpboden's user avatar
  • 1,772
0 votes
0 answers
60 views

cant make realtek audio codec

i recently dualbooted my windows with kubuntu and now that i have installed discord on it my friend told me that i sound like a robot and he can hear me 2 times. So i decided to download realtek audio ...
VulkoOnDrugs's user avatar
-1 votes
1 answer
154 views

How to install r8168-dkm without internet

After updating Ubuntu 24.04 LTS the internet stopped working. The lshw -C network command showed that the network was unclaimed. I downloaded the r8168-dkm package from the realtek website and ...
Randi Khana's user avatar
1 vote
1 answer
127 views

Having problem to install latest version of poppler tarball

I am currently using Kubuntu 22.04. I want to install poppler which I need for using the yazi CLI file manager, but I have a problem working with tarball files and getting a build from them, I ...
Amirali's user avatar
  • 11
0 votes
1 answer
246 views

Can't install CUDA 12.1 in Ubuntu 22.04 LTS

Here is my system details: x86_64 DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS" PRETTY_NAME="Ubuntu 22.04.4 LTS" NAME=&...
Maifee Ul Asad's user avatar
1 vote
0 answers
93 views

RTL8812au on Ubuntu 22.04.4 fails due to compiler mismatch

I am attempting re-installation of a Realtek wifi module (using the rtl8812au chip) and something has changed since the last installation. Previously, I successfully installed it on 22.04.2 and, now, ...
DroversDuck's user avatar
1 vote
1 answer
73 views

debian/rules hook to incrementally compile kernel after changing source?

I want to make changes to an (in-built) driver in the Ubuntu kernel. But when I make changes to the source file, fakeroot debian/rules binary does not detect the change or recompile the file. Is ...
Michael Walton's user avatar
0 votes
1 answer
110 views

Compiling some source files using 'make' gives errors: apparently, a missing file

I'm trying to get Quantum Espresso installed in linux. After introducing this into the terminal: $ sudo apt install git wget build-essential $ sudo apt install g++ gfortran liblapack-dev $ sudo apt ...
jesusabf's user avatar
0 votes
0 answers
32 views

how to correct the error i get while downloading gromacs on ubuntu 22.04

checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... configure: error: unsafe srcdir value: '/home/banerjee/gromacs 1/gromacs-2024.2/build/src/...
Debosmita Banerjee's user avatar
0 votes
0 answers
256 views

Fatal error: defs.h: No such file or directory When using gcc to compile .c file

Using Openairinterface5g Open source software and am trying to compile one of the .c files using gcc - I keep on getting a very similar 'Fatal error' message which revolves around some sort of header ...
Dudley008's user avatar
2 votes
0 answers
305 views

Mismatch complier with kernel

While I was trying to install Virtual Box's Guest Additions, my Ubuntu's screen has been glitching, so I got 2 things to solve, but to no avail. I read and applied from 3 "askubuntu" posts, ...
K3nny_V4st's user avatar
0 votes
0 answers
144 views

Manually Building LLVM: libstdc++ version must be atleast 7.4

I am currently trying to install/build LLVM and MLIR on my machine, and have everything set up das suggested by LLVM/MLIR. This is the 'CMake' call I make: cmake -G Ninja ../llvm -...
Clebo Sevic's user avatar
3 votes
1 answer
420 views

How do I install ShengBTE software?

I am totally new user in Ubuntu. For research purpose, I need to install ShengBTE software. In the following I copied the texts which is important for compilation. According to the texts, I downloaded ...
Muhammad Hasan's user avatar
0 votes
0 answers
73 views

EtherCAT IgH Master compilation issues - Rasperry Pi with Ubuntu Server

I'm trying to compile the EtherCAT IgH Master into a Raspberry Pi for a ROS2 application. It's currently running the following kernel: @pi:~$ uname -r 5.15.98-rt62-raspi I've got the RPi image from ...
Manchancleta's user avatar
0 votes
0 answers
48 views

Sub-process /usr/bin/dpkg returned an error code (1) while i install pip3

Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: binutils binutils-common binutils-x86-64-linux-...
Pedro Henrique Nairoski's user avatar
0 votes
1 answer
62 views

Problem building plib ... ./configure doesn't see OpenGL

The plib package for game-engines is only distributed as sources, and I'm following the instructions to a T, I believe; got all the dependencies, or I thought so, but when I run ./configure it says ...
DanW58's user avatar
  • 385
0 votes
0 answers
176 views

CMake version does not mach

I was trying to get the LBPH classifier for Java for OpenCV and to do that I need to use cmake. For this case thy are saying that the minimum version for the cmake is: "3.29" and I had 3.22. ...
Al3x4ndru1's user avatar
0 votes
0 answers
174 views

Install GCC 7.20 on Ubuntu 22.04

I saw this question several years ago, but it is worth asking. I have to do a coding test on "GCC 7.2.0 (with -std=c++17)" I have in my Ubuntu: "gcc version 11.4.0 (Ubuntu 11.4.0-...
Al3x4ndru1's user avatar
0 votes
0 answers
47 views

Launchpad: How to set up a "fork" of an Ubuntu source package?

I'm currently trying to create a PPA that would automatically release linux-firmware packages from the latest Ubuntu for all Ubuntu releases. To do that, I've created my project https://launchpad.net/...
Martin Pecka's user avatar
0 votes
1 answer
86 views

What happens to apt-tracked packages if I upgrade one manually?

I'm on Ubuntu server 22.04 (Jammy). I'm still a bit of an Ubuntu newbie and I wanted to apt upgrade a package that I have previously installed via apt and the relevant PPA. Turns out I can't, apt can'...
Dimitris Sfounis's user avatar
0 votes
0 answers
417 views

Force docker build to not verify TLS certs (WSL)

Running docker in WSL2 ubuntu image. I want to disable TLS verification for my docker build for testing purposes. How can I accomplish this? I tried the following: Adjust /etc/docker/dameon.json, ...
Dave's user avatar
  • 213
0 votes
0 answers
195 views

How to get around the 'configure: error: unrecognized option: `-''

I recently decided to sync OneDrive to my Windows machine. I have a virtual environment where I run molecular dynamics simulations using AMBER source code (Ubuntu). The source code file path was ...
meyerok's user avatar
1 vote
0 answers
547 views

Error installing driver via make due to GCC-12 version not matching

Trying to install drivers that via a make command, but getting the error: warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu ...
user329488's user avatar
2 votes
0 answers
346 views

WSL Ubuntu: How to setup gcc to cross-compile for arm with a specific glibc version?

I'm not really an expert of linux, so i'm feeling a bit lost. I'm running an Ubuntu 22.04.3 LTS image in WSL, as i need to cross-compile a program for an ARM linux pc (a BeagleBone Black, "BBB&...
Parduz's user avatar
  • 143
0 votes
1 answer
304 views

Libisofs build error when using xorriso

Currently, I am trying to build Ubuntu 24.04 with xorriso, but failed with following error output. The Ubuntu I used is a daily build version: https://cdimage.ubuntu.com/daily-live/current/noble-...
Alex's user avatar
  • 1
0 votes
0 answers
42 views

Problem while compiling git repo

I'm trying to compile a git repository of a bioinformatics package (https://github.com/MBoemo/DNAscent) and I have been running into some problems and was hoping somebody could help with this. I'm ...
Tyhalj's user avatar
  • 11
0 votes
0 answers
814 views

How to install opencv with CUDA support

I need help of building opencv in Ubuntu. I tried to install opencv in Ubuntu 20.04 - not install libopencv. I want to install opencv with CUDA support. I installed CUDA-12.4, CUDNN-9.0.0 Then I tried ...
Albers Joy's user avatar
2 votes
0 answers
2k views

How to install glibc 2.31 from source on Ubuntu 22.04

I am trying to compile glibc 2.31 on Ubuntu 22.04 LTS. I followed a this answer as a template, which was incredibly helpful. My issue is that there are undefined references when I run make: ... make[...
Arizen's user avatar
  • 21
0 votes
0 answers
92 views

Cross-Compile Raspberry Pi "Kernel configuration is invalid" Error

I'm using ubuntu as a host to cross compile raspberry pi 3b+ as a target. I tried to use commands below: sudo make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -C /home/ubuntu/Desktop/workspace/linux M=...
Alperen's user avatar
0 votes
0 answers
600 views

skipping incompatible

I want to compile C files using make with the libpng library. However, this is what I got after typing the "make" make gcc mp5.o main.o -o mp5 -lpng -g -m32 /usr/bin/ld: skipping ...
user23569449's user avatar
-1 votes
1 answer
175 views

Nvidia GeForce 9600M GT driver installer cannot find GCC version number in /proc/version

I have learned a lot doing this and now I’m a bit hung up on this next part. This is a 2009 15-inch MacBook Pro which has had internal components swapped out, such as a Samsung SSD and apparently 2 ...
Julius Hamilton's user avatar
0 votes
0 answers
694 views

How to add NTSync support to both kernel and Wine?

Lubuntu 22.04.4 LTS. How can I apply NTSync patches for kernel and Wine? I've built a few custom kernels years ago (16.04 or 18.04, I don't remember), but I have no idea how to apply NTSync patches.
NickDoom's user avatar
  • 269
0 votes
0 answers
135 views

Cannot install nvidia drivers with .run

i was using nvidia omniverse, and a very simple scene crashed every time i opened it. I looked up a fix, and i found this page (https://docs.omniverse.nvidia.com/dev-guide/latest/linux-troubleshooting....
Josiah's user avatar
  • 11
0 votes
0 answers
1k views

How to compile libcurl statically on Ubuntu via musl-gcc

I will start with the fact that I am no compilation expert. I am trying to compile some c code that I have which utilizes libcurl (among other libraries), and I want it to be as cross-platform for ...
Gordon's user avatar
  • 1
0 votes
0 answers
43 views

openauto compiling error

the link of error pic /usr/include/c++/9/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = f1x::openauto::autoapp::...
manga's user avatar
  • 1
0 votes
0 answers
111 views

openauto building error

I have built aasdk library successfully the output was this abdelrahman@ubuntu:~/Desktop/aasdk/build$ make [ 81%] Built target aasdk_proto [100%] Built target aasdk abdelrahman@ubuntu:~/Desktop/aasdk/...
manga's user avatar
  • 1
0 votes
0 answers
132 views

Geany gives error message on compiling: "Fatal: Can't find unit system used by HelloWorld"

I have installed Free Pascal Compiler and Geany on my ubuntu machine. When I compile a programm with fp of FPC all is fine. If I compile the same program with Geany I get the error message "Fatal:...
1202_ALARM's user avatar
0 votes
0 answers
214 views

Kernel 6.7.2 issues

this is mine first time compile a kernel and I have this error make[3]: *** No hay ninguna regla para construir el objetivo 'debian/canonical-certs.pem', necesario para 'certs/x509_certificate_list'. ...
Ricardo Andres Riquelme Rios's user avatar
0 votes
1 answer
558 views

No package 'opencv4' found

I have makefile has this line : $(CLINAME): $(LIBNAME) main.c $(CC) -o $@ main.c -std=c99 `pkg-config --cflags --libs opencv4` -Iinclude -L. -l$@ -lm I am trying to run my code but I got on this ...
stella's user avatar
  • 1
0 votes
0 answers
451 views

Build Ghostscript 10 on Ubuntu 22.04

In official repositories of Ubuntu 22.04 LTS there is a Ghostscript 9.55. I'm trying to build latest Ghostscript 10 from sources. It's working but… a) when I type 'sudo checkinstall' it creates a deb ...
Robert Drygas's user avatar
6 votes
2 answers
2k views

How can I use a later version of GCC than the system runtimes support? Can software built with it run on a system with only normal packages installed?

I don't use Ubuntu very much, being a platforms and builds engineer in an organisation that's primarily Red Hat Enterprise and its work-alikes. The problem with just building and using an up-to-date ...
John Dallman's user avatar
0 votes
1 answer
98 views

./build command not found

trying to install dssh - https://github.com/PWZER/dssh but the ./build.sh command is not found nor is any build command. Ubuntu 22.04.3 LTS any help appreciated
Lillinator's user avatar

1
2 3 4 5
52