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

learn more… | top users | synonyms (2)

0
votes
1answer
92 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
414 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
232 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
3k 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
41 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
713 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
299 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
191 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
250 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
249 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
108 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
9k 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
191 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
110 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
164 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
679 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
419 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
157 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
113 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
141 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
140 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
91 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
199 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
289 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
927 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
93 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 ...
1
vote
1answer
739 views

Building and using a lib without installing it? (e.g. libcurl)

I'd like to use libcurl (a lib that handles HTTP connections) by linking it statically to a program I am writing. I am new to building programs from their source, so I have no clue on how to do it (i'...
2
votes
1answer
183 views

compiling g++ programs

I have the gcc installed. I can compile C programs. But I cannot compile C++ programs. If I write g++ on comd line, it says program not installed. I tried sudo apt-get install g++ It gives me a very ...
0
votes
1answer
351 views

Ubuntu freezes in recursion g++

Im using Ubuntu 14.04 and gcc version 4.8.2. Sometimes when I run some C++ code which has some bugs, for example Runtime Error, it goes to a deep recursion (I suppose...) and all my computer freezes. ...
0
votes
1answer
283 views

I need help compiling evince from source package on Ubuntu 14.10

After obtaining build-dependencies and source code for Evince document viewer through sudo apt-get build-dep evince apt-get source evince on ubuntu 14.10, I run configure script and got the ...
1
vote
1answer
207 views

get objdump to display full hex of a 64 bit mov instruction

objdump won't show me the hex of a long 64 bit instruction. objdump -d myobj.o here is one of the lines: 3: 48 bb 2f 2f 62 69 6e movabs $0x68732f6e69622f2f,%rbx the instruction hex cuts off ...
0
votes
2answers
678 views

error bcap library not found

During compiling of reaver-wps in Ubuntu 14.04 virtual machine on windows 7 32-bit host I received the error error : bcap library not found. I already installed sqlite3 , libsqlite3-dev , libcap-dev, ...
2
votes
1answer
1k views

sa-compile compilation error

I have a problem with the latest update for sa-compile (package 3.4.0-1ubuntu2 ) on ubuntu 14.04. When I install the package, I get the following error: .sa-compile (3.4.0-1ubuntu2) wird eingerichtet ...
0
votes
1answer
516 views

Ubuntu 14.04 Error when compile PHP 5.6.3

I did everything right with the installation of all dependencies for Apache2 and PHP i think. First I installed a clean Ubuntu 14.04 with all actual updates. Then I installed with "apt-get build-dep ...
2
votes
1answer
61 views

What is the best practice to manual build software on Ubuntu?

apt is great, this is also why many people choose Debian-based systems; however, there're some times that we need to build some software manually. (For example, for a newer version). I create a ...
0
votes
1answer
369 views

Build Emacs: cannot find -lpng15

I'm trying to build Emacs 24.4 and this error occured: /usr/bin/ld: cannot find -lpng15 collect2: error: ld returned 1 exit status make[1]: *** [temacs] Error 1 make[1]: Leaving directory `/home/nick/...
0
votes
1answer
858 views

How to overcome this error while compiling RT2870 driver?

I bought a rather cheap wifi antenna and now have to install RT2870 driver on Ubuntu 14.04 64 bit. I downloaded driver file 2010_0709_RT2870_Linux_STA_v2.4.0.1 from its official web page and tried ...
1
vote
1answer
174 views

How to pause a process until memory requirements drop

I'm compiling source code in the terminal but 75% of the time the build will freeze my system and I have to hard reboot or wait for a LONG time until oom kills it. I'm positive it's a memory issue ...