Questions tagged [compiling]
Questions related to compiling software from sources, usually using the "make" command.
2,571
questions
1
vote
1
answer
361
views
Mxnet R package compilation
I am interested in using the mxnet library in R programming language. However there is absence of instructions regarding how to compile the R package in Ubuntu. The make rpkg command is not ...
1
vote
1
answer
3k
views
Inconsistency detected by ld.so: elf_get_dynamic_info: Assertion `info[DT_RUNPATH] == NULL' failed! trying to run qemu using glibc-2.33
For educational pourpoise I would like to run the latest version of qemu using glibc-2.33,instead of glibc installed as default on the 18.04. The final goal is to virtualize windows 10 arm64 on the ...
1
vote
1
answer
4k
views
About files in /usr/include/x86_64-linux-gnu
I see libc6-dev have files installed in /usr/include/x86_64-linux-gnu.
It seems that files in /usr/include/x86_64-linux-gnu/sys are pointed by symlinks from /usr/include/sys. And it seems that /usr/...
1
vote
2
answers
909
views
How can I speed up my terminal execution of the make command generated by CMake?
I am using Ubuntu 20.04.02 LTS, and have the snap version of CMake (3.19.4) installed. I am using it to build an app written in C++.
When I build my solution in the terminal, the make command takes ...
1
vote
1
answer
772
views
howto to build nemo extension nemo-seahorse version 4.4.0 without libgnome-keyring-dev
I use Ubuntu 20.04 desktop and install afterwards a Cinnamon deskstop.
Because Cinnamon Nemo filemanager did default not have nemo-seahorse support, I want to
build nemo-seahorse extension for Nemo ...
1
vote
1
answer
387
views
How to build this Rust program in Launchpad? It fails to build
I am trying to build popsicle in Launchpad (I cloned the repository from GitHub, and am trying to build it using this package recipe), and it fails to build.
Here is the relevant part of the buildlog
...
1
vote
1
answer
2k
views
How to downgrade to gcc 7.3?
I am Ubuntu 19.10, and I wanted to install CUDA on it. But I am hampered by the 'gcc' version on my OS. CUDA can't use gcc 9 (supported version here)
So, using this answer, I managed to download the ....
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 ...
1
vote
1
answer
5k
views
Linker not finding libsystemd
I'm trying to write a systemd service that uses the watchdog, and after
sudo apt install libsystemd-dev
I checked to make sure it was available:
$ ldconfig -p |grep systemd
libsystemd.so.0 (...
1
vote
2
answers
37k
views
gcc "no such file or directory" error when attempting compilation
I just moved to Ubuntu and am currently learning C programming, so naturally I tried to compile some code. I am sure I'm using the command right (it's just a few letters, come on), but the compiler ...
1
vote
2
answers
588
views
ac600 driver dont compile
I need to get driver for tp-link ac600. And I write this commands:
git clone https://github.com/ulli-kroll/mt7610u.git
cd mt7610u
make
after make command I get this errors:
In file included from /...
1
vote
1
answer
10k
views
make: ***No rule to make target 'install'. when trying to install plib-1.8.5
First, i'd like to say i'm new to Ubuntu and Linux.
I got an error with sudo make install while following the instructions to install a plib-1.8.5.
(FYI
1. It's Ubuntu 18.04 LTS. There was no ...
1
vote
1
answer
680
views
cmake generators build for windows platform
Hi I want to build my project for windows from Ubuntu, but I can't find the generators for my cmake instalation.
i run:
$ cmake -G
and have this:
Generators
Unix Makefiles = ...
1
vote
2
answers
3k
views
Dev C++ Output Screen not coming
I installed Dev C++ using Wine on Ubuntu 18.04 and the program is compiling but it not showing any output screen.
1
vote
1
answer
486
views
Make idiom using colon (:) and percent (%) in variable expansion [closed]
What does the KBuild expression:
FOO := $(BAR:"%"=%)
do as part of a Linux kernel Makefile?
1
vote
1
answer
998
views
error when Intalling linux kernel on ubuntu 16.04; dpkg: error processing package linux-tools
I am following this tutorial to compile and install a new kernel in my ubuntu system and I got this error
dpkg: error processing package linux-tools-4.4.0-119-generic (--install)
when i issued sudo ...
1
vote
1
answer
442
views
Code::blocks 16.01 not compiling
I have Ubuntu 17.10 and Code::Blocks 16.01. I cannot build and run simple code like "Hello World!".
-------------- Build: Debug in program (compiler: GNU GCC Compiler)---------------
g++.exe -Wall -...
1
vote
1
answer
7k
views
libpng: C compiler cannot create executables
I am trying to call ./configure command. But, it shows this error:
C compiler cannot create executables.
Here the output:
checking for a BSD-compatible install... /home/linuxbrew/.linuxbrew/bin/...
1
vote
1
answer
2k
views
When I 'make' Python why don't I get a 'bin' directory (or "why don't these instructions work any longer" ?)
What
I already have Python 3.4.3 installed but I want to leave that undisturbed and instead use the instructions to install another copy of Python 3 (being Python 3.6).
I'm following the second part ...
1
vote
1
answer
2k
views
xmr-stak-cpu compilation issue
I'm trying to install xmr-stak-cpu on Ubuntu 14.04 following steps described in the installation TXT file: https://github.com/fireice-uk/xmr-stak-cpu/blob/master/LINUXCOMPILE.md
But unfortunately it ...
1
vote
1
answer
13k
views
How to compile a C code in one directory in another directory using GCC?
I want to compile a C source code which I wrote in one directory in another directory. Is it possible like this? If it is possible how do I achieve that?
1
vote
2
answers
501
views
How can I install iBroadcast Media Sync Lite?
Background
My computer had a major error and would not allow me to recover/reinstall Windows so I gave up and installed Ubuntu 16 to have a working computer.
I have some understanding of Linux but I ...
1
vote
1
answer
2k
views
Error:cannot find input file: `man/Makefile.in'
I was trying to install hdf4 and then python-hdf4. I am new to both Linux and Python. I need to read the hdf file. I though I need to install pyhdf since http://www.science-emergence.com/Articles/How-...
1
vote
1
answer
2k
views
PHP-CPP not getting installed on ubuntu running PHP 7
After cloning PHP-CPP from here, running command make always outputs this error:
php-config: not found In file included from zend/inivalue.cpp:8:0: zend/includes.h:40:17: fatal error: php.h: No such ...
1
vote
2
answers
3k
views
Compiling Torch on Ubuntu 17.04: No Support for GCC version >5 and Gcc error: gcc: error trying to exec 'cc1': execvp: No such file or directory
During my installation of torch on Ubuntu 17.04, I ran into a few problems.
The first report after trying to compile torch was something similar to
https://stackoverflow.com/questions/6622454/cuda-...
1
vote
1
answer
1k
views
Make command will not work [closed]
The make command for build-essential will not work, my build essential has the newest update.
im trying to install rtl8723bs, its at driver for my laptops networkcard, but when i try to do the make ...
1
vote
1
answer
4k
views
Ubuntu 16.10 GTK 3.0 Include Path for Headers
I went to the site:
https://developer.gnome.org/gtk3/stable/gtk-getting-started.html
and typed in the example-0.c (I renamed it as First_Window.c). However, I get the message after this command to ...
1
vote
1
answer
2k
views
How can I build static bz2 library?
I need the static library libbz2.a to compile a repo I have cloned from github. I have a dynamic library, libbz2.so.1.04, but there doesn't seem to be a static library. I found a solution to the same ...
1
vote
1
answer
3k
views
Which is the simplest QEMU compiling/execution setup for guest FHD resolution?
EDIT: Hermann's solution of using QXL is acceptable.
I compile QEMU by myself, and run it from the commandline. This is due to having a patch applied, and to have the latest QEMU version.
The ...
1
vote
1
answer
2k
views
Error running make to build Sage on Ubuntu 16.04
I am attempting to compile Sage on Ubuntu 16.04. I downloaded the binaries and installed a package. I run "make" in my Sage directory and this is what I get:
> [maxima-5.35.1.p2] Now installing ...
1
vote
1
answer
6k
views
How to compile and run using GCC?
I'm taking this course from Coursera and they asked us to have at least some knowledge in C .
So as they asked us to use GCC And Ubuntu , I installed both of them , I then followed this tutorial from ...
1
vote
1
answer
581
views
Problem with cmake and package libccext2
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/etherlab ../pdserv-1.1.0
-- Mercurial was not found.
-- checking for module 'libccext2'
-- package 'libccext2' not found
CMake Error at /usr/share/cmake-2.8/...
1
vote
2
answers
388
views
Which Ubuntu flavor? [closed]
I have a HP 255 G3 (specs can be found here) And I can't decide what Ubuntu flavor to install into it, vanilla, Gnome or Lubuntu, because I don't know the core differences in them. (The DE differences ...
1
vote
1
answer
169
views
'autoconf' 2.50 not found when compiling 'mate-common' 1.15.0
I wanted to compile mate 1.15 on Ubuntu 16.04, but when I run ./autogen.sh in mate-common-1.15.0 it outputs this :
checking for autoconf >= 2.53...
testing autoconf2.50... not found.
testing ...
1
vote
1
answer
862
views
Ubuntu14.04 compile openjdk ERROR:FreeType version 2.3.0 or higher is required
I am using Ubuntu14.04 to compile openjdk,when I run "make sanity" met two ERROR . This problem has been consumed for several days,how can I fix them?
ERROR: FreeType version 2.3.0 or higher is ...
1
vote
1
answer
4k
views
How to make a build command in Geany IDE to compile and execute Objective-C programs?
I am a big fan of Geany IDE and Ubuntu. I am learning Objective-C programming language. I have Objective-C Environment in Ubuntu 16.04 and I compile Objective-C programs using terminal. But I want to ...
1
vote
1
answer
989
views
Can not build libdwarf
I download the most updated libdwarf version in archive file.
Extract the files and run the following command
cd dwarf-2013-02-07/libdwarf
./configure --enable-shared
make
I got the following ...
1
vote
1
answer
2k
views
Cannot find liboost-mt
I'm using the kinect to get 3D models of soil erosion and to scan vegetation and I'm trying to compile this application for the kinect: http://www.ccs.neu.edu/research/gpc/imucam/index.html ,however ...
1
vote
1
answer
405
views
Ubuntu SDK error running scope example
I'm learning to create a Scope for Ubuntu Touch with the Ubuntu SDK (installed from PPA) in Ubuntu 16.04.
I created a C++ Scope from template. When I'm trying to run I'm getting this error:
...
1
vote
2
answers
11k
views
How to install NetSurf web browser in ubuntu 14.04
I am using 64 bit Ubuntu 14.04 OS.
I want to install NetSurf web browser in
Ubuntu 14.04
This browser supports Linux(mentioned in official site of NetSurf )
The only providing .deb binary for ...
1
vote
1
answer
27
views
building installed software
Probably a small question but if you already installed some software, like using apt and then download the source and build it then installed it using sudo make install will it make confilcts with te ...
1
vote
1
answer
555
views
Is there a enviornmental variable for the path to header files?
I am installing some software, and I get an error that says Nux.h not found.
I have the Nux.h header, in my downloads file folder, but I don't know where it should go. where do ".h" files go?
Also, ...
1
vote
1
answer
88
views
./configure output in terminal but also in file with 2>&1?
For compiling source code, I would like to know how I can "copy" the terminal output so that stdout and stderr go where they are supposed to go, but also to gedit.
When I use ./configure 2>&1 ...
1
vote
1
answer
2k
views
How to build the Adobe Brackets editor?
My aim is to install the Adobe Brackets editor and am following the instructions on this page.
I'm at the point of running the grunt setup command. My problem is, the instructions stop at this point.
...
1
vote
1
answer
956
views
How do I compile KanColleTool?
I have downloaded the KanColleTool repository from GitHub with this command:
git clone --recursive https://github.com/KanColleTool/KanColleTool.git KanColleTool.git
However when I run:
cmake -...
1
vote
1
answer
1k
views
Issues installing SRILM (Ubuntu 14.04)
I have been trying to install SRILM to use with Kaldi and have run into a particularly frustrating issue.
To create a clear timeline of actions, here goes:
I downloaded the tar.gz from the SRILM ...
1
vote
1
answer
1k
views
Why is the python built from source still showing the wrong version?
I've downloaded the most recent tar from https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tar.xz, untar'd, configured, built and installed to a user directory. I've also used those executables ...
1
vote
2
answers
377
views
Execution of a file
How to execute a makefile? This file is contained in the sts-2.1.2 file downloadable from here:
According to the NIST documentation (section 5.3), I need to edit the makefile.
Modify the ...
1
vote
1
answer
5k
views
Why am I getting this undefined reference error while trying to build a c++ project? [closed]
To fix another debug error, I added -std=c++11 to the build command. Now I'm getting a ton of "undefined reference errors like this one:
In function encrypt(std::string&, int)':
/home/bob/...
1
vote
3
answers
8k
views
How to specify to install libraries to /usr/local/
I'm trying to configure and install an application and library package. The package is this. I followed the instructions and it installed fine, and I'm able to run the binary from the src directory, ...