Questions related to compiling software, normally using the "make" command.

learn more… | top users | synonyms (2)

0
votes
0answers
16 views

Compiling third party library for ubuntu touch arm

I am writing an ubuntu touch app. The app works very well on my pc. (AMD processor) The problem is, i use a third party library in my app. That library is calls QxORM. I use it to communicate with ...
2
votes
1answer
209 views

How to get unity build dependencies after apply the LTS Enablement Stacks?

I have a Ubuntu 14.04.2 installation with the LTS Enablement Stacks (https://wiki.ubuntu.com/Kernel/LTSEnablementStack). I would like to build the Unity package from source to apply some custom ...
1
vote
0answers
17 views

Install old version of boost

I am trying to compile this program called Doppia and it requires an older version of Boost (somewhere around 1.54 - 1.55) however when I try to install it using sudo apt-get install libboost-all-dev ...
-3
votes
0answers
27 views

Project using Sirannon, recipe for target 'libavcodec/libvpxenc.o' failed, could not link

These are the errors that I get with this command: python/bootstrap.py checking for boostlib >= 1.40... yes checking whether the Boost::System library is available... yes checking whether the ...
1
vote
2answers
6k views

make: dh: Command not found

When I try to run the .run file on nautilus the pointer changes into a wheel and does nothing, I did change the permission to make it executable, also at first it only tryed to open it with gedit so I ...
2
votes
2answers
1k views

CMake OpenCV installation issue

This is driving me nuts for the past three hours. I simply want to install CMake and then install OpenCV 3.1, but I am getting an Unsupported protocol error (please see below). I installed CMake 3.4....
5
votes
3answers
27k views

How to fix compilation errors that mention “stray ‘\342’” and “stray ‘\200’”?

I wrote this program: #include<stdio.h> int main() { printf(“Hello World\n”); return 0; } I saved it as first.c and tried to compile but receiving this problem I have installed even gcc ...
3
votes
0answers
29 views

compile can't find GL lib

bjorn@bjorn-031:~/samples/SOP$ gcc -lGL /usr/bin/ld: cannot find -lGL I've installed libglu1-mesa-dev and rebooted. I'm using Nvidia drivers. This output look strange to me though: ldconfig -v .....
1
vote
1answer
23 views

Where to find core dumps from gcc and g++ compiled code?

I compiled some C code, once with gcc, and then with g++, so I got two output executable files. When executing both files I found that it told me: Segmentation fault (core dumped) But there is no ...
1
vote
0answers
30 views

Missing SDL_ttf.h

I am trying to install Marathon on my laptop. Been following along with the instructions at: https://github.com/Aleph-One-Marathon/alephone/wiki/Linux%20Install%20Instructions#ubuntu. I installed the ...
0
votes
0answers
13 views

What is the difference between /usr/lib, /usr/lib32 and /usr/lib64 [duplicate]

Most of the answers I have seen say that /usr/lib32 is for 32 bit libraries and /usr/lib64 is for 64 bit libraries. Then what is /usr/lib for? Also I have read that 64 bit libraries are located /usr/...
1
vote
1answer
83 views

Building Nylas N1 from source on Ubuntu 16.04

Ubuntu doesn't seem to have whatever N1 is looking for when compiling from source. Here's the output I get when running the initial scripts: N1-master$ script/grunt /usr/bin/env: ‘node’: No such file ...
0
votes
1answer
28 views

Gcc 5.3.1 vs ANSI C re: Variable names and $ [on hold]

I have read online and in print (the ANSI C book by Kochan) that one cannot use the dollar sign $ in a variable name when programming in C. Yet, when I created the following code to test variable ...
-1
votes
0answers
16 views

install mrtg-2.17.4 ploblem?

I'm install mrtg-2.17.4 on Ubuntu 14.04 follow http://oss.oetiker.ch/mrtg/doc/mrtg.en.html ,but can't install how should i do ,help? Thanks. ~/Downloads/mrtg-2.17.4$ ./configure --with-gd=/...
0
votes
1answer
46 views

Installing 3rd party C library. Several errors I've had before whose fixes aren't the solution this time

I am attempting to use a third-party C library. Once I'm in the directory for the unpacked file I run ./configure and get: configure: creating ./config.status config.status: creating tests/Makefile ...
0
votes
1answer
101 views

Running PolSARPro 5.0 - How to compile?

Hej, I'am new with Linux and I want to install PolSARPro. But I don't know how. I should compile a .bat-file, but I can't find how to do that. From Install instructions: "Before running PolSARpro, ...
2
votes
2answers
154 views

Compiling custom kernel with debug symbols

I have Ubuntu 14.04 with Linux-3.14.3-rt51 kernel. I need to use Systemtap so I compiled my kernel with the following options chosen during make menuconfig: General setup [*] Kprobes [*] Kernel->...
2
votes
2answers
537 views

How to compile a c++ program from notepad++? [closed]

I am running notepad++ through wine. But I am not able to compile a program(specially c++). Is there any compiler that I could use? What should I do?
1
vote
1answer
4k views

/lib/x86_64-linux-gnu/libz.so.1: could not read symbols: Invalid operation

I installed Ubuntu Desktop 13.10 64-bit in VMware. I am trying to compile PHP 5.4.14 on the machine. Here's the bit where make stops due to an error: /usr/bin/ld: ext/mysqlnd/.libs/mysqlnd_net.o: ...
0
votes
0answers
15 views

compilation terminated: Package linphone was not found in the pkg-config search path [duplicate]

In trying to compile helloworld.c for linphone, I get: thufir@mordor:~/sip$ thufir@mordor:~/sip$ gcc -o helleworld helloworld.c $(pkg-config --libs --cflags linphone) Package linphone was not found ...
3
votes
1answer
24 views

how to compile ubuntu kernel faster

I'm following this guideline from ubuntu wiki: https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel But when i run fakeroot debian/rules binary-headers binary-generic it takes a long time because it ...
3
votes
2answers
164 views

How to install LLVM 3.7.x on Ubuntu 14.01 (llvm.org/apt down)

I am trying to install LLVM 3.7.x in order to get llvmlite for Python 2.7. However, the apt mirror seems to be down, reading: APT mirror was temporary switched off due to excess load. We are ...
0
votes
1answer
31 views

build and run gem5-gpu with the x86 CPU ISA

I have problem during build and run of gem5-gpu. Build the following code, scons build/X86_VI_hammer_GPU/gem5.opt --default=X86 EXTRAS=../gem5-gpu/src:../gpgpu-sim/ PROTOCOL=VI_hammer GPGPU_SIM=True ...
0
votes
0answers
28 views

PHP errors in /usr/sbin/a2query

I am new to Ubuntu, currently on 14.04, I develop on Windows but want to do same on Linux(Ubuntu) I tried to open a PHP file from localhost, I get a blank page. I checked if the PHP module is loaded I ...
0
votes
0answers
22 views

building programme

Everybody, I was building a program and there was a compilation error. Below is the error: make all-am make[1]: Entering directory '/home/gode/Downloads/espeak-android' cd android && ndk-...
1
vote
2answers
3k views

How to overcome “Permission denied” running C program even after “chmod +x”?

After compiling a C program on Ubuntu 10.10, after executing chmod +x ./a.out, I am still getting bash: ./a.out: Permission denied. How can I run my new executable?
1
vote
0answers
33 views

OpenWrt Hostapd compilation issue

I am struggling to compile OpenWrt. I get stuck when trying to compile Hostapd. I am trying to install to build an OS on wireless access points (Brand: Open Mesh). I am using OpenWRT to perform that ...
0
votes
1answer
59 views

./configure: C compiler cc is not found

I am currently trying to compile nginx from source with the RTMP module on Ubuntu Server 16.04 LTS. Everything is ready and in place, but I can't compile. I get the following error: ./configure: ...
2
votes
0answers
64 views

Compiling Very Slow On Ubuntu 16.04

I have an server on which I compile Android ROMs and Recoveries. I had Ubuntu 14.04 on it before. Compiling a recovery took like 4 min. from scratch. But now, as I've upgraded to Ubuntu 16.04, as I ...
3
votes
4answers
6k views

Broken python (2.7) after manually building and installing python 2.6

running Ubuntu 12.04, I had the usual python 2.7 in place . I needed python 2.6 , so I downloaded the source and did ./configure make sudo make install A mistake, as I did not want to replace my ...
3
votes
1answer
42 views

Compiling Cheese from source, fails to compile

I am trying to install cheese from source, and Im not interested in finding a package, because I have source code changes I should like to apply, if I can get it to compile. I have libtool automake, ...
1
vote
1answer
95 views

Ubuntu 16.04, gcc 4.9, CUDA 7.5.18, includes gcc5 headers

I'm running on a Ubuntu 16.04 where I installed gcc4.9 and NVIDA drivers from official repositories, configured alternatives for gcc, and installed the CUDA toolkit 7.5.18. When I try to compile a ...
1
vote
0answers
29 views

Can't figure out Cmake [closed]

I don't have much experience with Cmake and setting environment variables/paramaters, mainly because I've never needed to, things usually compile themselves. I'm trying to install heimdall. And i'm ...
3
votes
1answer
25 views

Compiling a 32 application on 64 bit, without getting rid of GNU EABI for ARM

I want to build a C++ program for 32 bit on my 64 bit 16.04. /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/libstdc++.so when searching for -lstdc++ /usr/bin/ld: skipping ...
0
votes
0answers
15 views

How to install a LESS auto-compiler manually

I downloaded source files here for an auto LESS compiler. I downloaded and extracted the files to my Desktop. This tutorial says to put the files into my 'working directory'. So I tried just copying ...
0
votes
0answers
32 views

Increasing available RAM temporarily on Raspberry Pi 2

I recently tried to compile Github's Atom on my Raspberry Pi 2, but after getting past the first error and trying again, it aborted in the middle of the build. Looking in the log showed that it ...
2
votes
1answer
183 views

OEM Install of Ubuntu Server [14.04.3]

I am trying to do an OEM install of Ubuntu Server (14.04.3) but cannot seem to get it working. I have managed to do a Ubuntu Desktop (14.04.3) easily. Why? I am trying to this to: Install all ...
2
votes
2answers
280 views

Clang++ cannot find lstdc++ after system upgrade

I have a small project in C++ that compiled fine until I upgraded Xubuntu to 15.04. When I tried to rebuild it with cmake, this message appeared in the middle of the output: /usr/bin/ld: cannot find -...
1
vote
0answers
116 views

Error in Caffe Installation in Ubuntu 16.04

While compiling Caffe in Ubuntu 16.04, I got the following error: LD -o .build_release/lib/libcaffe.so.1.0.0-rc3 /usr/bin/ld: cannot find -lhdf5_hl /usr/bin/ld: cannot find -lhdf5 collect2: ...
1
vote
0answers
42 views

How to compile program source from launchpad branch

I am trying to compile and this branch of plank. I have some experience compiling software from git, but not from launchpad/bazaar. I have tried following the instructions in the projects INSTALL ...
0
votes
0answers
33 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
1answer
48 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
1answer
70 views

How to install vte-ng from the source: make command fails

Trying to install vte-ng from source. I did try the usual methods like using make. There is nothing related to installing in the readme file and could not find a configure folder. So how do I install ...
6
votes
2answers
8k views

“kde-config not found” error while installing kstars from source

I am trying to install kstars from source ,but I got the following error while configuring ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu ...
6
votes
2answers
6k views

How to install node-sass/gulp-sass on Ubuntu 14.04+ or Linux Mint 17+?

I'm trying to switch from gulp-ruby-sass to node-sass which is based on libsass a C implementation faster than the classic Ruby version. So far I've install the node packages: Node package cd /path/...
2
votes
2answers
865 views

Compiling php 5.2 from source under 12.04, apxs2 (via libtools) ignores the -prefix used with ./configure

In the source directory: ./configure --prefix=/home/ashkan/Development/php/bin/php-5.2 --with-mysql --with-apxs2=/usr/bin/apxs2 make works fine but make install says: Installing PHP SAPI module: ...
119
votes
13answers
143k views

How do I install the latest version of node.js?

How do I install node.js in Ubuntu? I've been looking around, and I can't find anything. Is there a Ubuntu package for node.js, or do I have to compile it myself?
0
votes
1answer
96 views

Could NOT find HDF5 (missing: HDF5_HL_LIBRARIES) (found version “1.8.11”)

I am trying to install ParaView CMake Error at /usr/local/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:148 (message): Could NOT find HDF5 (missing: HDF5_HL_LIBRARIES) (found ...
0
votes
0answers
58 views

Building static ffmpeg libraries on amd64 where libc isn't compiled with -fPIC

First off, I'm not a C/C++ developer so be specific in your solutions and try to be understanding. Secondly, there is a similar question here that does not resolve the issue. Here is my configure line ...
2
votes
2answers
1k views

Build Avahi without GUI

I'm running Ubuntu Jaunty on a plug computer which I only ever access via SSH. I want to update Avahi on the device (without GUI) and the only way (that I know of) to get the very latest version is ...