Questions tagged [compiling]
Questions related to compiling software from sources, usually using the "make" command.
2,573
questions
0
votes
0
answers
255
views
Libgeos packages Ubuntu Bionic
Providing an Ubuntu Bionic server with R-Studio running on it, we need to have some geographical packages, in the case of my question libgeos. I created a problem and hopefully here I can find a ...
0
votes
1
answer
615
views
Using --enable-libvmaf turns FFmpeg compilation to non-free
I have successfully compiled using instructions at this link with some modifications to libvmaf code section:
wget https://github.com/Netflix/vmaf/archive/v2.3.0.tar.gz & -Dbuilt_in_models=false
...
0
votes
0
answers
156
views
gem5 compiling problems after adding python2.7 to my ubuntu
I had python3.8 originally, and compiled gem5 (X86 and ARM) successfully. then I added python2.7 to run some models. now I got below errors that I have not before when trying to compile gem5 using:
...
0
votes
0
answers
1k
views
Fatal Error <fcntl.h> No such file or directory
fatal error: fcntl.h : No such file or directory
2 | #include<fcntl.h >
| ^~~~~~~~~~
compilation terminated.
I am facing this problem while iam compiling file containing fcntl....
0
votes
1
answer
585
views
Sudo Make command entering into wrong directory
I'm trying to compile a kernel module with applying race conditions on 4 threads created using kthread_create(). However, when I run sudo-make, it enters the wrong directory and doesn't compile the ...
0
votes
1
answer
112
views
Compiling libpng 1.6.14 fails
I am new to Ubuntu/Linux based systems. I need to compile libpng 1.6.14 to analyze one of its binaries.
I am running:
tar -xvf libpng-1.6.14.tar.xz
cd libpng-1.6.14
sudo bash configure --prefix=/usr/...
0
votes
0
answers
1k
views
How to install SASM correctly on arm64 Ubuntu m1 silicon? I don’t have a macro.o file…
I installed SASM on Linux (Ubuntu with arm64) on my M1 Mac. When I try to Build my NASM code, I get the following error:
gcc: error: /tmp/SASM/macro.o: No such file or directory
gcc: error: ...
0
votes
1
answer
330
views
Cross Compilation ARMHF or Compilation for Android from Debian or Ubuntu package?
I have two options to compile, Option1: Cross-compile using a x86_x64 ubuntu or debian system for armhf package compilation, Option2 Image of ubuntu or debian armhf in Qemu.
The problem I have is that ...
0
votes
0
answers
420
views
Error in building own kernel with Ubuntu 20.04
We are using Ubuntu 20.04 and building our own kernel using the following link. site:https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel
#commands:
LANG=C fakeroot debian/rules clean
// quicker build:
...
1
vote
3
answers
14k
views
Ruby installation: BUILD FAILED (Ubuntu 20.04 using ruby-build 20220324)
Can't install Ruby, I used the command lines below before:
sudo apt install -y build-essential tklib zlib1g-dev libssl-dev libffi-dev libxml2 libxml2-dev libxslt1-dev libreadline-dev
git clone https:/...
0
votes
1
answer
485
views
Xenomai-Implementing a RTOS emulation framework on GNU/Linux
Ubuntu 18.04.1 LTS
Linux kernel 4.9.38
Xenomai-3.0.5
ipipe-core-4.9.38-x86-3.patch
Installing Xenomai 3.0.5 User space libraries
$cd xenomai-3.0.5
$./configure --with-pic --with-core=cobalt --enable-...
1
vote
0
answers
872
views
Cross Compile QEMU from Ubuntu to Windows 10
For several days I have been stuck trying to cross compile QEMU for windows 10 x64. I am not familiar with minwg at all. I read a lot of pages but most of time it seems to be to old or or to not use ...
1
vote
1
answer
3k
views
Magick++.h: No such file or directory (Even after installing Magick++)
I am using a WSL Ubuntu terminal.
I executed the following command to install Magick++:
sudo apt-get install libmagick++-dev
After this, I checked to make sure that Magick++.h has been installed or ...
0
votes
0
answers
26
views
Cmake error when installing [duplicate]
I installed Ubuntu in VirtualBox for trying a software made only for Linux.
I'm getting this error when trying to install the software. Not sure if it's an error in the steps of the installation or a ...
3
votes
1
answer
883
views
Overcoming "undefined symbol: _gfortran_runtime_error_at" during R package, "glmnet" installation in WSL2 Focal
I've been trying to install a R package, glmnet and having a installation issue. Here is an error output after I fired install.packages("glmnet") ;
/usr/bin/clang++ -std=gnu++14 -shared -L/...
0
votes
0
answers
212
views
Cannot compile Ubuntu kernel for AMD64 from GIT source
I need to test a LKM using several old kernel versions which I have to take from GIT.
Based on the Ubuntu wiki pages BuildYourOwnKernel and KernelGitGuide I'm following the below recipe:
$ git clone ...
0
votes
1
answer
610
views
Kernel Module exit message get printed next time when inserting the module
I have written simple kernel module to print Hello kernel msg.
my_module.c
#include <linux/module.h>
#include <linux/init.h>
/* Meta Information */
MODULE_LICENSE("GPL");
...
0
votes
0
answers
1k
views
Why is GCC missing from Ubuntu 20.04?
I know that gcc is listed in the manifest files for 20.04, however, it seems that nearly all installations are missing it by default.
For some extra context, I work on a small OSS web project and ...
0
votes
0
answers
1k
views
install php-rdkafka on ubuntu20.04
I am trying to install php-rdkafka lib:
https://arnaud.le-blanc.net/php-rdkafka-doc/phpdoc/index.html
on my ubuntu 20.04, php 8.0. With php8.0-dev package installed.
the suggested installation via ...
3
votes
1
answer
3k
views
can't compile libfprint as a meson project
My ultimate goal: use the fingeprint reader of a Lenovo T430 on Ubuntustdio 20.04.
Type oft the device, according to lsusb:
Bus 001 Device 003: ID 147e:2020 Upek TouchChip Fingerprint Coprocessor (WBF ...
0
votes
0
answers
217
views
&& gcc file name &&
Every time I run some codes on VS Code,cd "file location" && gcc file name.c -o file name && "file location"file name appears after the device's name and before the ...
2
votes
2
answers
272
views
I can't find the installed application (HDSentinel_GUI) anywhere
I've downloaded and installed HDSentinel GUI tar package but I can't see it in the application panel. Where can I find it?
I've installed it as below:
tar -xvf hdsentinel_gui64bit.tar.xz
cd ...
0
votes
1
answer
1k
views
Gem5 simulator installing Error
I got the below errors after compiling Gem5 simulator
(downloaded from Gem5.org) on ubuntu 20.04 using VirtualBox.
what are these errors and how can I fix them, please?
the command is: build/X86/gem5....
0
votes
1
answer
3k
views
Need help with realtek wifi adapter
This is my first hand experience with Linux so I'm not really sure what has gone wrong. While installing Realtek WiFi adapter I am getting the following error it is a RTL8188EUS chipset which came ...
0
votes
0
answers
912
views
CMake having problems in finding LIBLZMA
When I'm building GLOW in my Ubnantu 20.04, the CMake reports:
-- Could NOT find LibLZMA (missing: LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET) -- Could NOT find LIBAIO (...
0
votes
0
answers
965
views
Can't build camera driver for MacAir on Ubuntu 21.10
I followed the recommended way to install the driver for the camera on my MacAir running Ubuntu 21.10:
sudo apt-get install git
sudo apt-get install curl xzcat cpio
git clone https://github.com/patjak/...
2
votes
2
answers
816
views
I would like that my Kinect 2 is recognized by Ubuntu 21.10 as a webcam,but gcc 10 is not accepted for compiling libfreenect2 with nvidia 470+CUDA 11
Hello to every linux/ubuntu lover all around,
I'm trying to run my Kinect 2 on my Ubuntu 21.10. The commands that I've issued one by one are the following :
marietto-BHYVE:/home/marietto# nvcc --...
2
votes
1
answer
929
views
Unable to install CBLAS
I have extracted the .tgz downloaded from here and made the following changes in Makefile.in:
BLLIB = /home/at3ee/CBLAS/lib/cblas_LINUX.a
However, the following error occurs:
make all
( cd src &&...
0
votes
0
answers
480
views
Bazel finds no targets to be built for tensorflow
I'm trying to build Tensorflow with GPU support for Deepspeech because my CPU does not support AVX instructions. I have followed the instructions from https://deepspeech.readthedocs.io/en/latest/...
0
votes
1
answer
466
views
Error compiling lwfinger's rtl8188eu driver for Realtek RTL8188EU
I'm using Ubuntu 20.04 LTS with the wireless USB adapter Realtek RTL8188EUs.
Error when I type make in the cloned folder:
fossiscool@foss-is-cool:~/Área de Trabalho/rtl8188eu$ sudo make
make ARCH=...
1
vote
1
answer
1k
views
Build failed for libadwaita-1 while installing easyeffects
Background
Trying to install easyeffects on ubuntu-20.04 following steps in mentioned here https://github.com/wwmm/easyeffects/wiki/Installation-from-Source. libadwaita-1 dependency not found error ...
5
votes
1
answer
5k
views
How to satisfy 'libadwaita-1' build dependency (in gnome/meson)?
The question, in short:
How can I install the libadwaita-1 dependency for a meson-built project?
(Specifically gnome-calculator, if that matters.)
Background:
I was interested in making a small tweak ...
-1
votes
1
answer
1k
views
Installing a new kernel built from source takes too much time
I have built Linux kernel from source with make and make modules_install. But I issue the install command:
$ sudo make -j8 V=1 install
arch/x86/Makefile:142: CONFIG_X86_X32 enabled but no binutils ...
0
votes
1
answer
777
views
trying to install apache httpd.2.4.51 ,while doing compile getting error like mk:75: all recursive error1,so pls suggest
Making all in srclib
make[1]: Entering directory '/root/software/httpd-2.4.51/srclib'
make[1]: Leaving directory '/root/software/httpd-2.4.51/srclib'
Making all in os
make[1]: Entering directory '/...
1
vote
1
answer
480
views
How to Compile Calindori via Git? Unknown cmake command
I'd like to use Calindori, it is not in Synaptic repo, nor can I find a Snapd or Flathub for Calindori.
Link to the compile directions I attempted to follow:
https://invent.kde.org/plasma-mobile/...
1
vote
0
answers
2k
views
Compilling and install libnettle 3.7 on Ubuntu 20.04.3 LTS
I need to compile and install libnettle 3.7 on Ubuntu 20.04.3 LTS. I need it to compile and install GnuTls 3.7 and libfilezilla 0.35 and FileZilla 3.57. So, I downloaded nettle-3.7.3.tar.gz. Configure,...
0
votes
0
answers
548
views
C compiler cannot create executables (install netcdf using icc and ifort)
I have installed intel oneAPI on ubuntu 20.04, further ifort and icc.
The following command on terminal shows
saras# which icc
/opt/intel/oneapi/compiler/2021.4.0/linux/bin/intel64/icc
saras# which ...
1
vote
1
answer
116
views
How to compile cap-ng on Impish?
I'm on Impish, and have installed the latest version of libcap-ng-dev,
Compiling with gcc 11.2, via Visual Studio Remote Linux
The following program cannot be statically linked
#include <cap-ng.h&...
1
vote
0
answers
812
views
How should I rebuild MuPDF from official focal source avoiding "lcms2mt.h: No such file or directory" message?
I was trying to update my own answer here at AskUbuntu because of a comment below it.
What I have done:
Created fresh 20.04.3 LTS VM with all updates
Enabled all deb-src repositories in /etc/apt/...
3
votes
2
answers
430
views
How does ubuntu manage packages?
A noob here. I really want to learn or at least have some ideas on how software is packaged in Ubuntu.
Is it compiled and packaged by the package author?
Or is it compiled by Ubuntu developers?
How do ...
0
votes
1
answer
2k
views
Building a linux module - sys/time.h: No such file or directory
I'm trying to build an old linux driver in my system (Kubuntu 21.10) with make -C ....
The driver is declaring static struct timeval frame_timestamp;
If I try to build it with something like
make -C /...
1
vote
0
answers
1k
views
Problem : Custom linux kernel and crypto
I followed this topic to build the new kernel 5.15 on my laptop dell with Ubuntu 20.04.3 and its kernel 5.14.0-1008-oem. Unfortunately, I have some difficulties to build my new kernel because of my ...
1
vote
1
answer
3k
views
Install a new kernel: missing /lib/modules
Hi I have a problem to install the new kernel 5.15 on my machine. To install the new kernel, I do this :
make menuconfig (I tried the cp .config method too) + modified lines to have no problem while ...
3
votes
1
answer
5k
views
Availability of liburing in Ubuntu 20.04
I am building qemu with --enable-linux-io-uring option on Ubuntu 20.04, which requires liburing. But if I tried to install packages liburing1 and liburing-dev using apt, I was told "E: Unable to ...
3
votes
1
answer
7k
views
Installing Avogadro 1.2.0 From Source Ubuntu 20.04
Package downloaded as avogadro-1.2.0.tar.gz and put in the home/src folder; extracted to the same folder. I got as far as step 2 from the INSTALL folder, here ...
Requirements
============
-- CMake ...
-1
votes
1
answer
576
views
how can i download ubuntu's kernel?
is there any way to find and download latest Ubuntu desktop specific kernel?
for example how can i download latest kernel belongs to Ubuntu 21.10?
i am looking for .tar.xz file of Ubuntu kernel.
also, ...
2
votes
1
answer
2k
views
Which package is pango that is needed to compile Qemu with --enable-gtk enabled?
I'm compiling Qemu with --enable-gtk enabled. .configure gives me the following error messages:
Run-time dependency gtk+-3.0 found: NO
../meson.build:1042:2: ERROR: Could not generate cargs for gtk+-...
0
votes
1
answer
926
views
How to display error messages during .configure to the standard console?
When compiling from source, we use .configure as the first step. .configure may call some other commands like cc which may fail and print error messages, like header not found or some other compile ...
0
votes
1
answer
1k
views
Why is there no cross-compiler in Arm64 version of Ubuntu?
In the Amd64 version of Ubuntu, there's the gcc-{version}-{architecture}-linux-gnu packages that I can use to build binaries for different architectures, of which, the built binaries can be tested ...
1
vote
1
answer
111
views
PeerGuardian building from source [closed]
I have been trying to get PeerGuardian on my Ubuntu 21.04 system, but the PPA maintainer is not updating the package, and the project seems to be abandoned.
When I try to compile on my laptop, I get ...