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

learn more… | top users | synonyms (2)

2
votes
1answer
833 views

How to get Source code for Ubuntu? [closed]

I've heard that Ubuntu is an Open source project. So, Suppose I've got Windows 8 installed at this time and I want to build the Ubuntu Operating System myself - by compiling each package, and build ...
0
votes
1answer
292 views

LibCurl: how do I compile the example code?

I have install libcurl by running: sudo apt-get install libcurl4-gnutls-dev Now, the folder locates at my /usr/share/doc/libcurl4-gnutls-dev/examples$. Say I want to compile ftpget.c. How do I do ...
0
votes
2answers
184 views

How to change the default operation of the make command?

I am using the default make command, without a makefile, but I want to add the -g flag to the compilation command by default. How can I do that, without a makefile?
0
votes
0answers
10 views

Every new compiled file has not the permission to be executed [duplicate]

As in the title stated, every time a compile a c++ file with g++ program.cpp -o program, I have to change the permissions for it to be executed. Two questions: How do I change the permissions? ...
2
votes
1answer
2k views

Fatal error during compilation of wpa_supplicant. Don't know what to do

I'm a relative noob. Trying to add WiFi Direct to my 12.04 installation on an old netbook. I was following this advice: How to get wifi direct( wifi p2p) on my HP DM1 laptop? First, I downloaded ...
4
votes
3answers
8k views

How to disable -Werror=date-time/macro “__DATE__” might prevent reproducible builds

I am trying to compile a driver for a Netis WF2190 adapter. Yes, I just downloaded the latest from them. How can I disable the -Werror=date-time in the build? I can't find it anywhere in the build ...
1
vote
1answer
38 views

Building a Python Module Problem

I am having the following issue and am not sure how to fix. I do not know what linking is but I hear it's related to the problem. I'm trying to set up a python module: First I call in the directory ...
1
vote
1answer
121 views

dpkg-checkbuilddeps fail to recognize installed packages

I'm trying to build a package which depends (build depends) on several other packages. For some reason dpkg-checkbuilddeps shows some dependencies as if they were not installed, while in practice, ...
1
vote
1answer
501 views

How do I handle a “No such file or directory” error for a header file from make?

When compiling a source package, I got an error from make that looked like: In file included from foo.c:28:0: bar.h:23:18: fatal error: bar.h: No such file or directory #include <bar.h> ...
0
votes
1answer
76 views

GnuPG 2.0.27 Make Failure

Does anyone know what this means at the end of a GnuPG 'make" command: mv -f .deps/libcommon_a-signal.Tpo .deps/libcommon_a-signal.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../intl -DLOCALEDIR=\"/...
1
vote
1answer
456 views

PCRE2-10.00 and xymon

When I configure and make install PCRE2-10.00 and go to xymon-4.3.18 to configure I get the following: Checking for PCRE ... test-pcre.c:1:18: fatal error: pcre.h: No such file or directory ...
2
votes
1answer
109 views

Why does the PPA not sync between Source and Binary?

I want to install libxml2-dev to compiled to PHP but I get this error when I try: The following packages have unmet dependencies: libxml2-dev : Depends: libxml2 (= 2.9.1+dfsg1-3ubuntu3) but 2.9.1+...
0
votes
1answer
90 views

Why are my ubuntu partitions mounted somewhere else?

If you refer to my other posts, I am trying to use g++ and in order to compile a .cpp file I'll have to refer to it with the drive name: g++ /media/drivename/filename.cpp The problem is with the ...
0
votes
1answer
30 views

Trouble with renaming/labelling drives in Ubuntu

I just don't understand what's wrong here, what's wrong with the drive names. [link]http://i57.tinypic.com/264g7qb.png As you can see I've labelled them with e2label command. I am only concerned with ...
-1
votes
1answer
399 views

I'm having some trouble compiling code in Sublime Text 3

Previously, i had been using the "g++ a.cpp" and "./a.out" commands in terminal to get my programs compiled and runnable, but if i save a .cpp in sublime, it won't update the a.out save, so compiling ...
3
votes
1answer
220 views

OpenMP unable to use multiple threads, no error associated with compilation

I am using openMP for my lab assignments and everything worked fine few weeks ago, but now it runs only on one thread, I've read and I guess that this is due to conflict between packages. This is the ...
-3
votes
1answer
2k views

“configure: error: invalid variable name: `–prefix'” while runing configure [closed]

I got the following error: jay@ubuntu:~/Downloads/systemc-2.3.1/objdir $ sudo ../configure –prefix=/usr/local/systemc-2.2 configure: error: invalid variable name: `–prefix'
0
votes
1answer
40 views

why does mounting a volume on a building raid cause sync speed to drop?

I have an array with 4 disks in RAID 10 configuration : root@backup:~# mdadm --detail /dev/md127 /dev/md127: Version : 1.2 Creation Time : Mon Feb 23 16:01:29 2015 Raid Level : raid10 ...
0
votes
1answer
695 views

Unable to compile INTEL 82599 driver on Ubuntu 14.04

I am trying to compile the drivers on my machine and I am getting the following errors: ~/ixgbe-3.21.2/src$ make install make -C /lib/modules/3.13.0-46-generic/build SUBDIRS=/home/nandan/ixgbe-3.21.2/...
-1
votes
1answer
61 views

cannot be used as a function [closed]

#include <iostream> using namespace std; int main() { int bus1,bus2,total; total=(bus1+bus2)(5*14); cout<<"fair is"<<total; return 0; } I used this ...
1
vote
2answers
1k views

Failure to Install opencv 2.4.9 on ubuntu 14.04

I am trying to install opencv 2.4.9 on ubuntu 14.04. I am getting an error while compiling files. When I run: cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D ...
0
votes
1answer
257 views

Unable to use debian/rules clean

I am new to ubuntu and i am trying to use the command fakeroot debian/rules clean but It errors out. Here is some of what is shown, it is rather long so if I need to post it all I will. Error: cp ...
0
votes
2answers
188 views

Recoll 1.20.1 prebuilt - configure.ac not recognised - './configure' and 'make' isn't working

I'm trying to install the latest version of Recoll (1.20.1) on Ubuntu 14.04. I've downloaded the tar file from the developer website (under 'Source') and copied it to /usr/local/src where I ...
12
votes
3answers
10k views

vmhgfs module not compilable for VMware Tools 9.9.0 (Fusion7.1) after Ubuntu Linux kernel update to 3.13.0-46-generic?

vmhgfs module not compilable for VMware Tools 9.9.0 (Fusion7.1) and VMware Tools 9.9.2 (Fusion7.1.1 Build 2496486) after Ubuntu Linux kernel update to 3.13.0-46-generic (Febr. 2015) (Shared Folder ...
1
vote
2answers
242 views

Compile C++ 11 with clang 3.4 and GraphicsMagick

I wanna to compile C++ code in this source https://github.com/jdeng/rbm-mnist I have installed clang 3.4, sudo apt-get install libmagickwand-dev, sudo apt-get install build-essential , and sudo apt-...
1
vote
1answer
241 views

Using repos vs compile: hot wo replace Nginx from repo with a compiled Nginx? [duplicate]

Sometime ago I used Kura's PPA to install Nginx+Pagespeed on my VPS. I would like to update it to the newest version, but the latest packages from Kura aren't so recent and I'm thinking about ...
0
votes
1answer
107 views

Whats the build version is used in the Bq release of Ubuntu touch?

I just wanted to know the exact build version being used in the Bq release of the Ubuntu touch phone. Is this Ubuntu-rtm 14.09 ? I see some parts are missing in my current ubuntu-touch. May be ...
2
votes
1answer
8k views

/bin/bash: g++: command not found error 127

I was trying to install a software quicknet from a tar.gz file. After using ./configure when i tried using make it showed the following erroe g++ -I. -I. -c QN_args.cc /bin/bash: g++: command not ...
0
votes
4answers
185 views

Is is possible to install Ubuntu on a computer with no OS

I'm building a gaming pc. I would like to install Ubuntu as my first OS. But I'm wondering is is possible to install it without having a OS installed, and how would I do this.
0
votes
1answer
107 views

Error running .exe compiled with i586-mingw32msvc-g++ and SFML

So well, I'm fighting with WINE and MinGW32 right now. So I have a file, sortem.cpp which is compiled with a Makefile and linked and all from that Makefile. sortem.cpp #include <windows.h> #...
1
vote
1answer
159 views

How can I get the default gcc compiler back?

I can't compile ("make") anything at the moment. It all ends with the following: as: unrecognized option '--64' So I searched for the cause and found that gcc -version gave me this: gcc (GCC) 4....
0
votes
1answer
2k views

Problem linking against pcap.h

I am trying to compile ethping Here is the command that gets issued via make: gcc -Wall -Werror -ggdb -g -O2 -lpcap -o ethping ethping.o ieee8021ag.o dot1ag_eth.o I now get this error message: /...
1
vote
0answers
659 views

Undefined references to `_gfortran_runtime_error_at'

I use a model is written Fortran90 under Ubuntu 14.04. The gfortran 95 compiler (gfortran 4:4.8.2-1ubuntu6) and the gcc 4:4.8.2-1ubuntu6 is installed by Ubuntu Software Center. The installed gcc has ...
0
votes
1answer
406 views

Installing PyMOL from source code

I've tried running: prefix=/opt/pymol-svn modules=$prefix/modules python setup.py build install \ --home=$prefix \ --install-lib=$modules \ --install-scripts=$prefix with the following ...
1
vote
0answers
148 views

Rebuild OpenSSL with -DPURIFY

I'm trying to rebuild OpenSSL according to these instructions. I'm having a problem with the very first line: sudo apt-get build-dep libssl-dev This response is given: Reading package lists... ...
1
vote
1answer
7k views

glib.h make error. fatal error: glib.h: No such file or directory

for solution i searched on the Internet. i added the output of the command pkg-config --cflags glib-2.0 that is -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include to the make file like ...
1
vote
2answers
110 views

Backup of Flashdrive

I am compiling some packages onto an external USB flash drive. Unfortunately, the compiling has not been going 100% and I often have to try redoing packages with different settings. To make sure that ...
2
votes
1answer
132 views

Compiling CARMEN Nav toolkit on Ubuntu 10.04

I'm a beginner to Ubuntu and I've been trying to install some robotics toolkits to be used on a Powerbot that I'm working on. I'm currently trying to install CARMEN Navigation toolkit and I have been ...
2
votes
0answers
2k views

AttributeError: 'module' object has no attribute python

I am struggling with compiling python 2.7.9 from source and have been advised to ask this question here. While installing python 2.7.9 following the steps described here the following errors ...
1
vote
1answer
135 views

How to build a program in Launchpad which has dependencies from external repository?

I am trying to build my program in Launchpad. Problem is, it depends on webkit2gtk (>= 2.6.2) and it isn't on my repository (because I don't maintain it), and it isn't on Ubuntu repositories either, ...
1
vote
0answers
1k views

undefined reference to symbol '__cxa_pure_virtual@@CXXABI_1.3'

I'm faced with the following error when I run make for the files from https://github.com/liuliu/ccv /usr/bin/ld: ../lib/liblinear.a(linear-static.o): undefined reference to symbol '...
1
vote
0answers
90 views

Ffmpeg 2.5.2 executable not replacing existing version

I'm trying to upgrade my ffmpeg from 0.10 to the latest (2.5.2). I performed the upgrade yesterday on a different Ubuntu 13.10 machine and it worked perfectly, so I'm not sure what I'm doing wrong. I ...
0
votes
1answer
198 views

can't build OpenGL software on 14.10 with fglrx-updates: “/usr/bin/ld: cannot find -lGL”

I'm running Ubuntu GNOME 14.10 on a new laptop with an "AMD A6-6310 APU with AMD Radeon R4 Graphics" type CPU/GPU. Due to freezing issues with Gallium3D, I installed fglrx-updates. Now because I like ...
0
votes
2answers
56 views

Why did this .tar.gz fail to install?

When I did the configure, I got this output checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether ...
2
votes
0answers
99 views

How to compile GitHub's Atom editor [duplicate]

I'm trying to install GitHub's Atom editor. I'm using Ubuntu (trusty 14.04 with LXDE) on my Chromebook (via Crouton). It has an ARM processor (not Intel or AMD) so I can't use the .deb because that's ...
0
votes
1answer
283 views

sqlite make test fails because of “tcl.h not found” or “undefined reference to Tcl_Free”

I have obtained the sqlite source code with: sudo apt-get install fossil mkdir sqlite cd sqlite fossil clone http://www.sqlite.org/cgi/src/doc/trunk a fossil open a rm a and compiled it with the ...
2
votes
1answer
8k views

Where is my Java compiler 1.8, in Eclipse?

I installed openjdk8 In Eclipse (v3.8.1) -> window -> preferences -> Java -> installed JREs, I added the related standard VM. In Eclipse -> Project -> Properties -> Java build path, I changed the JRE ...
1
vote
1answer
912 views

libimobiledevice work on ubuntu but not in raspberry

I recently installed libimobiledevice in ubuntu via sudo apt-get install libimobiledevice and it worked like a charm with ios 8.1.2 ... But when I compile and install the latest libimobiledevice in ...
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/...
0
votes
1answer
90 views

GnuCOBOL not generating dynamic link library ELF references

Now GnuCOBOL, the Ubuntu package is open-cobol. As of Ubuntu 14.04? the compiler fails to link in dynamic library references for dlopen to use at run-time. No trace of the library in ldd from gcc -l ...