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

learn more… | top users | synonyms (2)

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
63 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
27 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
15 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
43 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
100 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
152 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
492 views

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

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
21 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
160 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
30 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
27 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
54 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
40 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
78 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
27 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
14 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
179 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
277 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
101 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
29 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
40 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
69 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
862 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: ...
118
votes
13answers
142k 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
86 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
56 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 ...
0
votes
0answers
32 views

Cuda installation. Compiling sample cudaDecodeGL error. warning: libnvidia-tls.so.352 needed

I have installed Cuda-6-5 using the .deb in ubuntu 14.04. I was able to compile the samples using make -j. And all the samples were compiled, except for cudaDecodeGL After sudo make, the error is as ...
4
votes
1answer
4k views

collect2: error: ld returned 1 exit status

I want to install nexalign (can be downloaded from here) on ubuntu 13.10. I previously installed it on ubuntu 10 without any problem. The error I got is: gcc -O9 -Wall -Dthread -lpthread main.o ...
0
votes
1answer
101 views

gcc-5: internal compiler error: Bus error (program as)

I'm trying to install Python 2.7.11 on my Ubuntu 14.04 LTS vServer (hosted at strato), because it's a requirement for letsencrypt. I'm using this tutorial, basically just replacing 2.7.9 with 2.7.11. ...
27
votes
5answers
149k views

How to compile a .java file

How can I compile a .java file. What programs will I need and if I need java jdk I need help installing that. I'm very new to ubuntu so any program I need to install I will need a tutorial on how to ...
0
votes
2answers
6k views

make command not working ERROR 2

I was trying to install Realtek_RTS5229_Linux_Driver_v1.07 which I downloaded from [here][1] When I run the make command I get the following error:- make[1]: Leaving directory `/usr/src/linux-...
0
votes
2answers
1k views

opencv compiling error ippicv

When I write this to terminal: g++ LATCH_match.cpp -std=c++11 $(pkg-config opencv --cflags --libs) I've got an error like this: /usr/bin/ld: cannot find -lippicv collect2: error: ld returned 1 ...
3
votes
1answer
100 views

Biogeme fails to install and run on Ubuntu 16.04

I wanted to ask about the installation of one of most important open source freeware for discrete choice modeling data estimation: Biogeme. I am trying to install it on my machine (Thinkpad x201, ...
0
votes
0answers
15 views

Bad exit status from /var/tmp/rpm-tmp.oXIrHx (%build)

I get this error when I'm trying to build driver for my printer: $ rpmbuild -tb cnijfilter-source-X.XX-Y.tar.gz --define="MODEL mg7100" --define="MODEL_NUM 423" --with build_common_package error: ...
1
vote
1answer
4k views

How to compile a c++11 program using future in Ubuntu 12.04?

I'm trying to compile a c++ program in Ubuntu 12.04. I'm using g++ 4.7 (installed from a ppa). I'm using std::future, but I have an error. The code: $ cat main.cpp #include <iostream> #...
0
votes
0answers
41 views

Error on compile CyanogenMod

I need help. After running make mrproper I can't build CM source in Ubuntu 14.04. It's throwing this error: build/core/tasks/kernel.mk:149: *********************************************************...