Questions tagged [compiling]

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

Filter by
Sorted by
Tagged with
2 votes
0 answers
164 views

How to install virtualbox-6.0.14-dfsg/src/VBox/Additions/x11/x11stubs

On one of my Ubuntu 19.10 machines my install of VBox from the repository is fatally unstable -- freezes my machine with mysterious errors that has no takers on any of the forums I've posted to. So I'...
1 vote
0 answers
36 views

Can't run C on Geany [duplicate]

I'm having trouble in running C code from Geany. The code compiles successfully, but when I try to execute it, it shows on Terminal: /tmp/geany_run_script_I007A0.sh: 7: /tmp/geany_run_script_I007A0....
2 votes
1 answer
3k views

how to solve this error? (collect2: fatal error: cannot find 'ld')

I'm a beginner and I need your help. I use Ubuntu18.04 and want to install Orient package for molecular calculation. https://gitlab.com/anthonyjs/orient I get this error when compiling it with ...
4 votes
1 answer
2k views

How to build kernel 4.15.0 on ubuntu 18.04 and avoid missing libperf-jvmti.so

I'm trying to build kernel 4.15.0 to apply patch with Docker. But I encountered the problem that libperf-jvmti.so was not found on building the kernel. Could anybody tell me how to fix this error? ...
3 votes
1 answer
20k views

g++ fails with an undefined reference to symbol 'dlclose@@GLIBC_2.2.5' even with '-ldl'

I'm trying to compile a program with GLAD and SDL2 using scons (though scons isn't really relevant since g++ is the issue) scons runs the following command to compile part of the program: g++ -o out/...
3 votes
1 answer
2k views

GCC error: 500: no such file or directory

I've written a program in C, and I'm trying to compile it on command-line with arguments, but when I write an integer, for example: gcc findtopk.c -o findtopk 500 5 test1.txt test2.txt test3.txt ...
1 vote
1 answer
2k views

Compiled executable cannot run, "command not found"

I have compiled a cpp program, but now I cannot run it. The error message I get says command not found. I compiled it by running this command: gcc `pkg-config --cflags opencv` OpenCV_ViolaJones.cpp -...
-1 votes
1 answer
113 views

What do I do after running make, to use lcd-opencv-simulator?

I'm new to Ubuntu and I need to run a LCD simulator our professor has given us without giving us sufficient information on how to actually use it. The program requires OpenCV, which I believe I ...
0 votes
0 answers
81 views

need help installing sick lms200 sensor software

I have the LIDAR Sick lms200 http://sicktoolbox.sourceforge.net/ I would like to install the driver, but compiling the source ends in error. I have tried modifying the compilation flags to be c++11 ...
1 vote
0 answers
119 views

Parallel builds using all cores hang entire computer

I have an Intel i9-9900K, a CPU with 8 physical cores and 16 threads, and I'm running Ubuntu 16.04. When I compile a project that is able to fully use all 16 threads (i.e. 16 long-running parallel ...
1 vote
2 answers
2k views

Can't compile libbpg-0.9.7 for BPG (Better Portable Graphics) on Ubuntu 14.04

Obs.: My guess is that I am not setting something in the makefile or that I am using the work SDL-devel and SDL_image-devel packages they ask to install previously. Actually, I am installing "libsdl2-...
0 votes
0 answers
368 views

CLion won't track compiler via WSL

downloaded compiler and everything. Tho for some reason it downloads only cmake 3.10 and I need 3.15. I updated it following this guide How do I install the latest version of cmake from the command ...
0 votes
1 answer
5k views

How do I run Minecraft-Console-Client on Ubuntu?

I want to install the GitHub app found here. The problem is that according to the README.txt file in the config folder, I need to run mono MinecraftClient.exe but that command only returns Cannot ...
4 votes
0 answers
747 views

How to install gcc 3.2?

I need to use gcc 3.2. No prior answers exactly resolved this problem. It looks like this version is not available in a apt-get repository and I do not exactly know how to install it using the source ...
0 votes
3 answers
5k views

Trying to build kernel on 18.04. No editconfigs option

Trying to build kernel using instructions outlined in: https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel After running the lines: fakeroot debian/rules clean fakeroot debian/rules editconfigs I ...
1 vote
5 answers
307 views

How do I compile gwget from source?

I extracted the source, opened the terminal, moved to source directory and ran the following command: sudo ./configure Error: command not found! what is wrong with it?
4 votes
1 answer
575 views

How to compile msmtp from source, install in the proper location and install a service startup script for 18.04?

I've found that the msmtp package for Ubuntu 18.04 is old and missing a component. The current included package is version 1.6.6 from 2016-11-14 and is missing msmtpd. I would like to install version ...
-1 votes
1 answer
1k views

quantum espresso installation [closed]

I got this on the terminal after I try to install quantum espresso ./configure: line 66: make: command not found checking build system type... x86_64-pc-linux-gnu checking ARCH... x86_64 checking ...
4 votes
1 answer
7k views

Cross-compiler path

I have some compilers for different architectures: $ > whereis gcc gcc: /usr/bin/gcc /usr/lib/gcc /usr/share/man/man1/gcc.1.gz $ > whereis arm-linux-gnueabi-gcc arm-linux-gnueabi-gcc: /usr/bin/...
0 votes
0 answers
561 views

"NSS headers not found" error while building evolution-data-server-3.34.1 using cmake

I am installing Evolution Data Server from source using cmake by following command: cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DWITH_OPENLDAP=OFF -DWITH_NSPR_INCLUDES=/usr/inclue/nspr/ .. ...
0 votes
0 answers
902 views

Using matplotlib-cpp in Code::Blocks

I am trying to use matplotlib-cpp according to this guide: Installing matplotlib-cpp, but I am trying it on Ubuntu so It's a little bit different. In "Search directories", I have included these two ...
1 vote
0 answers
117 views

Installed c++ libraries and header removed from search paths

I recently upgraded to Ubuntu 19.04. However, somehow I messed something up today and I don't know how to fix it. If I want to build a c++ program, all headers that are located in a subfolder inside ...
0 votes
0 answers
1k views

Error: Expected a right parenthesis in expression at (1) after `make` command

I am compiling a software following this tutorial (called PRESTO), but when I type ./configure, I receive the following message: $ make && sudo make install Making all in src make[1]: enter ...
0 votes
0 answers
1k views

configure: error: linking to Fortran libraries from C fails

I am following this tutorial to install the mentioned software (called PRESTO), but when I type ./configure, I receive the following message: checking how to get verbose linking output from /home/...
3 votes
1 answer
6k views

Cmake fails while configuring OpenCV

I'm trying to buid OpenCV and use it in Qt. I have installed all required packages for OpenCV and Qt, after that I tried too run cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local /...
0 votes
1 answer
2k views

clang: error: unknown argument: '-no-pie'

I'm trying to compile, but I get this error: clang: error: unknown argument: '-no-pie' clang: error: unknown argument: '-no-pie' clang: error: unknown argument: '-no-pie' compilation of ...
0 votes
1 answer
170 views

Packaging fails upon compiling 16.04 HWE kernel

Short summary: Packaging script looks in wrong path. Detailed error summary: To compile the kernel, I used the compilation instructions from here, which included the steps: Checkout git sources ...
0 votes
0 answers
308 views

Continue custom kernel creation and not start over again from square one

Task: Create a custom Ubuntu kernel from git sources (in my case hwe-branch). Short summary: I want to fix a error reported by the build scripts and then repeat only the last compilation/packaging ...
1 vote
0 answers
74 views

Building NetworkManager from source causes ProtectSystem capaibilities to stop functioning

I'm fairly new to systemd in general, and building a program that fully supports the ProtectSystem capability is a bit over my head. I'm trying to understand which options I should supply to ./...
1 vote
0 answers
184 views

../x86_64-linux-gnu/libarmadillo.so: referencia a `H5Ovisit1' sin definir collect2: error: ld returned 1 exit status

I cannot compile anymore a cpp file with armadillo library. I get this: /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libarmadillo.so: referencia a `H5Ovisit1' sin definir collect2: error:...
1 vote
1 answer
8k views

Is it possible to install static libraries from apt in 18.04 x86_64?

I'm trying to build a project that depends on binary distributed static libraries. The linker complains it cannot find ini_config functions, among others: config_params.c:(.text+0x16f): undefined ...
0 votes
1 answer
342 views

Ubuntu 16.04 OpenFOAM-7 ParaView Installation Error

I'm following the build guide provided by OpenFOAM, but I am having issues with an error that occurs when I try to compile ParaView with the following commands The installation fails with the ...
0 votes
3 answers
4k views

use math.h function in linux ? sqrt() [closed]

why i can't run the program with sqrt (a) code : #include <stdio.h> 1 #include <math.h> 2 int main (...
3 votes
1 answer
3k views

How do I install Qjackctl from source?

Please give exact code for: ./configure [--prefix=prefix] I do not know how to put the prefix. The Qjackctl sourceforge page states: The installation procedure follows the standard for source ...
6 votes
3 answers
52k views

Help locating linux/version.h

I'm trying to fix an old program, Previous issues I had could be found at Missing modversions.h When I make the program it gives me the following error, kaodv-mod.c:22:27: fatal error: linux/version....
2 votes
1 answer
356 views

Qtiplot compiling ubuntu 18.04 copiling help

I'd like to install Qtiplot, that is an opensource application for data analysis. Unfortunately I've not found free non-demo binaries, as the author ask to be payed for them. So, could someone explain ...
2 votes
1 answer
2k views

Change gcc Version for Single User

I have a new version of gcc installed from source in my directory on a larger computer system which has another (older) version used as default. I have a few programs I need to compile using this ...
0 votes
0 answers
277 views

LaTeX and evince problem. Evince does not attach to edges of the screen

I just use ST3 for LaTeX. LaTeXTools requires one of this pdf-viewers: evince, okular, zathura. I like evince because it is very simple and fast pdf-viewer. But have an issue: when I compile my pdf ...
2 votes
0 answers
1k views

I am having trouble compiling Super Mario 64

So, just a bit of context. I have no prior experience with using Linux command lines, so I am completely inept when it comes to this kind of thing. Anyways, I was trying to use the Super Mario 64 ...
1 vote
1 answer
834 views

How to compile folder that contains bin, lib and share

I downloaded FileZilla from the website, and the file type is tar.bz2. I extracted it which is a folder contains bin, lib and share sub folders. Since there is no instruction of how to compile them ...
1 vote
0 answers
1k views

copy files instead of compiling when building debian package

The goal I have been trying to make a very simple debian package for two days now. There is a java application called fits. In ~40 lines, it can be packaged for osx. https://github.com/Homebrew/...
2 votes
1 answer
151 views

Trying to install an Astrophysics-Code (HARM) but having problem running the "make" command

This is the Guide to the Installation: https://github.com/atchekho/harmpi/blob/master/tutorial.md I get this result on make clean : /bin/rm -f *.o *.il /bin/rm -f harm image_interp but this, ...
0 votes
2 answers
2k views

Upgrading to a new release vs just upgrading the kernel

What is the difference between updating just the kernel (downloading and compiling) and sudo apt dist-upgrade? I've read this, but I mean what if I just install the new kernel? (Download kernel 5 ...
0 votes
0 answers
2k views

./configure was successful, but make install is still giving me errors

I am trying to build the purple-facebook pidgin plugin on my system running Ubuntu 16.10/gnome 3, according to the guide I found here: https://github.com/dequis/purple-facebook/wiki/Building-on-*NIX ...
-1 votes
1 answer
779 views

GCC compliler causing error of illegal refference for access noxim

I am trying to run access noxim (network simulation too) on my Ubuntu 14 and concerning this source. https://github.com/habedi/SystemC-AccessNoxim I am using systemc2.3.1 for this purpose. Now i ...
3 votes
1 answer
4k views

/usr/lib/libblas.so.3: undefined symbol: gotoblas

I am working on a remote machine via ssh and don't have sudo permissions. Currently, I am trying to run a python project which imports the keras framework. Due to an old version of openblas I was ...
1 vote
2 answers
1k views

Failed building minitube with compiled libmpv v0.29.0

According to the author of minitube the latest version of minitube requires libmpv => 0.29.0 that is not delivered by repositories or via ppa. The one that ubuntu 18.04LTS deliver is the libmpv 0.27.0 ...
0 votes
0 answers
111 views

Can not open manually compiled shared object file

My LD_LIBRARY_PATH is set to /usr/local/lib blahblah@test:~$ ls -al /usr/local/lib total 1392 drwxr-xr-x 5 root root 4096 . drwxr-xr-x 10 root root 4096 .. lrwxrwxrwx 1 root root 12 ...
3 votes
1 answer
2k views

How to build swig on ubuntu?

I am trying to install swig on ubuntu 16.04 as it is required for building opencv for android. I found a guide to do this: git clone https://github.com/swig/swig.git cd swig ./autogen.sh ./configure ...
0 votes
0 answers
2k views

problem when compiling c++ files with GCC compiler in clion Ubuntu

When I change the clion compiler in toolchain to gcc-7 or gcc, it gives me undefined reference to every thing in a simple hello world program. this is my code : #include <bits/stdtr1c++.h> using ...

1
15 16
17
18 19
52