Questions tagged [compiling]

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

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

Can someone build me a DEB package of Evolution Mail Client + EWS 3.36.3

I am running ubuntu 20.04 which natively supports Evolution 3.36.2, but in version 3.36.3 there is included a critical for me bugfix. However, I am running this version from Flatpak, but since it is ...
0
votes
1answer
15 views

how to install newly generated ubuntu kernel .deb files?

I tried building ubuntu from the source following BuildYourOwnKernel page. (https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel by the way, the page needs some fix now) I did it on a virtual machine ...
1
vote
2answers
36 views

How to compile Compton on Xubuntu 20.04

could someone help me compile this Compton fork? https://github.com/tryone144/compton/tree/improved_fbo .I have followed the instructions here: github.com/tryone144/compton/blob/improved_fbo/...
2
votes
2answers
223 views

Kernel - make menuconfig error

Working with a Headless Raspberry PI 4 with an Ubuntu Server 18.04.4 LTS.. I am trying to configure the source kernel. I have installed libncurses-dev, kernel-package, qt4-dev-tools. When I run '...
0
votes
0answers
16 views

Program is searching for a shared library with a different name

I am running a program and it returns the following error, [PyIPOPT] Problem created Exception of type: OPTION_INVALID in file "/home/bandgeek108/IpoptCFull/Ipopt/src/Algorithm/IpAlgBuilder.cpp" at ...
0
votes
0answers
29 views

Problems installing gcc 8 on Ubuntu 20.04 [duplicate]

I am trying to install gcc-8 and g++-8 on Ubuntu 20.04 (for CUDA) but when I try to install both gcc 8 & 9, I get an error: $ sudo apt -y install build-essential $ sudo apt -y install gcc-8 g++-...
0
votes
0answers
19 views

Cmake and Vulkan

I'm trying to install Cmake and Vulkan on the new 20.04 version of Ubuntu. Based on the process of Vulkan installation i need to install CMake and sadly Cmake doesnt create Make file when i try to ...
0
votes
0answers
19 views

compiling multiple c-files in a directory

I want to compile my program which has multiple c-files in multiple subfolders. I tried compiling it with gcc *.c -o test and I also tried entering every single filename with and without the directory ...
0
votes
0answers
29 views

Cmake can not find ZLIB on Ubuntu 20.04

I am running Ubuntu 20.04 on Windows Subsystem for linux. Cmake is version 3.16.3. I am trying to build a project with a zlib dependency, and I get the following error... Could NOT find ZLIB (...
1
vote
0answers
31 views

Installing pyipopt, encounter fatal error: IpStdCInterface.h: No such file or directory

This question is in the context of an attempt to install a library/interface on Ubuntu. It is a very specific problem, but any general help (such as in deciphering which script, or where in a ...
1
vote
0answers
28 views

Unreal Fails to Build on Linux

I'm trying to install UE4 on my Ubuntu 20.04. I keep getting this issue: ~/UnrealEngine$ make bash "/home/zhihan/UnrealEngine/Engine/Build/BatchFiles/Linux/Build.sh" CrashReportClient Linux Shipping ...
0
votes
0answers
27 views

Need help compiling Crafty chess engine from source

I'm trying to compile an older version of Crafty chess engine (version 23.2) on Ubuntu 16.04. I've never tried to compile stuff before but I did Google about it and have tried various commands but ...
0
votes
0answers
10 views

Error during installation process of Quantum Expresso in Ubuntu,

I have been trying to install Quantum Expresso in Ubuntu, but the following error message pops up after the command "make pw" unknown@unknownpc:~/Desktop/Quantum Expresso/qe-6.5$ make pw test -d bin |...
1
vote
1answer
44 views

Compiling files with mingw-w64

I have a program #include<iostream> #include<windows.h> using namespace std; int main() { cout<<"Hello World!! This Program Is made in win32 API\n"; return 0; } but when I ...
0
votes
0answers
19 views

Ninja Build and CMake fails on Ubuntu 18 and 20

I am trying to build a project with ninja but it doesn't work on either ubuntu 20 or 18. I tried to do it locally (18) and in Docker with 20 and 18. Following dependencies were installed in Docker: ...
0
votes
0answers
38 views

Where to find documentation of building ubuntu kernel

I want to build ubuntu's kernel with my code for raspberry 3b. where can I find documentation to follow build kernel? I found these two git 20.04 : git://git.launchpad.net/~ubuntu-kernel/ubuntu/+...
0
votes
0answers
10 views

Can't compile VICE 3.4 from apt package - gcc gives error “compiler cannot create executables” [duplicate]

I installed the snap package of the VICE Commodore emulator from the snap store. That's version 3.3. There is a newer version, 3.4, available, but not in the snap store. I installed the package using ...
0
votes
1answer
16 views

I compiled herbstluftwm via its git repo but I can't see it in lightdm?

Everything went successful. git clone https://github.com/herbstluftwm/herbstluftwm cd herbstluftwm mkdir -p build; cd build cmake .. make sudo make install
0
votes
1answer
37 views

How much can I compile the open source code of Ubuntu

Ubuntu is a mix open source source code like the linux kernel and other sources like the one from Canonical My question is at which point can I see and compile its source code before being stuck on ...
0
votes
0answers
27 views

Help compiling a kernel module

I want to compile a particular loadable kernel module, but am having issues that I can't seem to fix... Do guide me if I am doing anything wrong or if my understanding is flawed somewhere... So I ...
-1
votes
0answers
43 views

How to build from kernel source via make

I have changed some option in make menuconfig invoked with makefile in linux-headers-5.0.0-38 dir. Now I have the changed file in that dir named .config. I have read here: https://stackoverflow.com/...
0
votes
0answers
42 views

Building OpenSSH 8.2p1 on Ubuntu 18.04.4 LTS, what flags should I configure it with?

I need a newer version of OpenSSH on my home machine for remote work. What flags should I pass to ./configure to maintain the same level of configuration as my current OpenSSH (7.6p1), the one ...
0
votes
0answers
46 views

Odd number of elements in hash assignment at /usr/share/pkg-config-dpkghook when adding an architecture for cross-compliation?

Someone suggested that I run sudo dpkg --add-architecture armhf to add cross-compilation to my x86_64 box running Ubuntu 18.04 LTS, but it doesn't appear to work: $ sudo dpkg --add-architecture armhf ...
-1
votes
0answers
34 views

My gcc include sys files are broken and behaving strangely

Suddenly I can't compile any C file at all, and it always says that sys/cdefs.h file does not exist. I checked where the include file path is, and I found this weird recursive symbolic link that does ...
1
vote
1answer
38 views

Project ERROR: Unknown module(s) in QT: script

So I've recently done a (fresh) installation of Ubuntu 20.04 LTS and I'm trying to install IBOview, which I had working on 18.04 LTS. As it describes in the README, and as I successfully did before, I ...
0
votes
1answer
84 views

gcc build and compile error ubuntu 20.04

I've installed cudnn but couldn't verify the installation because of this error: #error -- unsupported GNU version! gcc versions later than 8 are not supported! After searching I found out that I ...
0
votes
0answers
13 views

how to convert to .py file for the .date file

I have a .py program for dislocation modeling. I want the .py program to be compiled into .dat file suitable for lammps. what is the code for compiling the .py program in ubuntu?
0
votes
0answers
11 views

installing multilib still doesn't resolve -ltinfo when attempting to build a 32-bit binary with -lcurses

Trying to build a 32-bit app on kubuntu 18.04. I've got it to the point where I can use -m32 to compile my code in 32-bit mode, and am able to build a trivial app (once I installed multilibs). But ...
-1
votes
0answers
27 views

How to Create modified bootable Linux Os [duplicate]

how can I create a Modified Linux Operating system from the Linux OS I am using . I mean I add my custom Apps in a Linux OS and build a fresh new OS with the apps inside the .ISO image Using this ...
1
vote
0answers
48 views

How to enable lock detecting configs in Ubuntu

I am developing a program which causes deadlocks. And I want Ubuntu to warn about all the deadlocks in the kernel, so I can know if my program succeeds. It's required that kernel can detect deadlocks ...
0
votes
0answers
19 views

conflicting shared libraries versions

Ubuntu OpenCV-3.4.10 C++ Compillation throws warning: /usr/bin/ld: warning: libopencv_core.so.3.4, needed by /home/a/Downloads/installation/OpenCV-3.4/lib/libopencv_imgcodecs.so, may conflict with ...
0
votes
0answers
33 views

Compilation problem with make

While trying to build, I get a lot of warnings. I do the following in Colab: !git clone -qqq https://github.com/nu774/mp4fpsmod.git > /dev/null !sudo apt-get update -y -qqq --fix-missing &&...
1
vote
1answer
842 views

buildozer: crashed with 'env': env must be a dict

The error is that 'env':env must be a dict. I believe I have upgraded buildozer and my env. My buildozer was installed using pip3, and my code is for python 3. Also, I used the module plyer in my ...
1
vote
0answers
83 views

Package 'g++-4.8' has no installation candidate

So i recently updated to Ubuntu-20.04 and my g++-4.8 compiler got deleted when i tried to reinstall it using "sudo apt-get install g++-4.8" i get an error: "Package g++-4.8 is not available, but is ...
0
votes
0answers
22 views

Error installing fakeXrandr library - Ubuntu on Raspberry Pi

I have successfully installed a ubuntu image on my Raspberry Pi 4. I am trying to do some screen customization, and so as a result I'm looking to install this project, fakeXrandr: https://github.com/...
0
votes
0answers
34 views

Build failure of VirtualBox Guest additions on arm64 machine with Ubuntu

There is a Virtualbox guest addition package. I can see Ubuntu provides the iso image of Virtualbox guest addition but when I try to build it from the source code on an arm64 machine, it fails. Am I ...
0
votes
0answers
123 views

Problem with kernel compilation in Ubuntu 20.04

I´ve come across an error message when trying to compile the linux kernel, that I haven´t seen before and can´t find an answer to. It seems to somehow be tied to 20.04 specifically because I get it on ...
0
votes
1answer
123 views

Install cmake 3.17 failed,CMake has most likely not been installed correctly

Ubuntu 18.04 past cmake version 3.10.2 After I have install cmake with sudo make ,sudo make install,and cmake --version (base) lzw@resplendent-star:~/3d_lib/cmake-3.17.1$ cmake --version CMake ...
1
vote
0answers
125 views

Can we install older versions of gcc and g++ on ubuntu 20.04

I currently have Ubuntu 19.10 with gcc 9.1.2 I want to install previous versions of gcc for CUDA 8 (gcc 5 in this case). But I am getting this error: (base) ➜ ~ sudo apt-get install gcc-5 g++-5 ...
2
votes
1answer
41 views

OpenOCD Symbol Lookup error: undefined symbol libusb_handle_events_timeout_compleeted

I tried installing openocd with apt get in Ubuntu 18.04.4. as in sudo apt install openocd When I try calling openocd from the terminal it fails with openocd: symbol lookup error: /usr/bin/...
0
votes
2answers
74 views

Trying to compile java file without success on Ubuntu (CVE-2020-2555.java) [closed]

I am trying to compile the following file https://github.com/wsfengfan/CVE-2020-2555/blob/master/supeream/CVE_2020_2555.java in my Ubuntu server but without success. I tried 'javac CVE_2020_2555.java' ...
0
votes
2answers
63 views

Code::Blocks 16.01 Build Failed

I am using 18.04.4 lts version of Ubuntu. I downloaded Code::Blocks from "Ubuntu Software" and didn't install any other package. I do not know if the packages required for development are installed. ...
0
votes
1answer
82 views

How to uninstall bookworm when I installed it from source?

I am a new Linux user and i can't uninstall bookworm. I installed it using the steps recommended here to install from source: Run the command below to install the above on Ubuntu and Debian distros:...
0
votes
0answers
17 views

Compiling wine and its dependencies, to use both without installing

To compile and use wine, as instructed here https://wiki.winehq.org/Building_Wine, i still had to install all its dependencies, wich was a lot. I wonder if those dependencies could be compiled to a ...
0
votes
0answers
34 views

How to only compile changed source code when compile ubuntu kernel

When I do some change to source code of ubuntu kernel, I have to fakeroot debian/rules clean and then compile the ubuntu kernel from scratch. But compiling the whole kernel spends a lot of time. Is ...
0
votes
0answers
319 views

Cannot execute binary file: Exec format error: (Compiling 32 bit code on 64 bit machine)

I want to execute a 32-bit assembly code and I am using gcc for linking my object file (created by NASM) to an executable. I have already tried the methods stated in this post: https://stackoverflow....
0
votes
0answers
112 views

I'm trying to install the build-essential package but it fails at installing g++ and libc6

First off, i'm very new to linux, using it for whole 2 days now. I'm trying to build an app with QT Creator but I can't use the c++ compiler since it doesn't want to Install. I Tried installing the ...
1
vote
1answer
32 views

configure can't find QT path

trying to compile the 'quiteinsane' GIMP plugin, on Ubuntu 18.04 bionic. When running configure, it complains that "checking for Qt... configure: error: Qt (>= Qt 2.2.2) (headers and libraries) not ...
0
votes
1answer
48 views

Problem with building kernel for Ubuntu 18.04 on VM

I am trying to build kernel on VM. The kernel fails with these errors: AS arch/x86/boot/header.o CC arch/x86/boot/version.o LD arch/x86/boot/setup.elf OBJCOPY arch/x86/...
2
votes
1answer
244 views

How to compile against kernel headers?

I'm trying to compile a 3rd-party proprietary driver module, and failing at it. I've installed the linux-headers-5.4.0 package, but I don't know how to write a gcc command line that will successfully ...

1
2 3 4 5
44