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

learn more… | top users | synonyms (2)

0
votes
0answers
17 views

What are differences in Ubuntu C++ programming and Windows C++ programming?

The getch() function has to be replaced by getchar() in G++ (or any other compiler for that matter) for successful compilation. I am new to Ubuntu, so I would like to know what are the other possible ...
1
vote
2answers
86 views

How do I set up ccache?

I want to use ccache to speed up compilation. I came across how do I enable ccache This is what I have done so fat: $ sudo apt-get install -y ccache Then $ dpkg -l ccache ii ccache 3.1.6-1 ...
46
votes
6answers
40k 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
42 views

Error “undefined reference to xercesc_2_7”

I've been trying to install SUMO and only recently got the ./configure to make all of the files; but, when I try to 'make' it gives the [all-recursive error 1: ...
1
vote
0answers
230 views

Maya Calendar from Elementary OS on Ubuntu

The Maya Calendar from Elementary OS seems really nice: Has anyone been able to run it on Ubuntu ? Is it available on some repository ? After installing the dependencies, I only get a ton of error ...
0
votes
1answer
79 views

How to enable c99 and c11 on gcc?

When I compile the following code it gives compilation error that error: ‘for’ loop initial declarations are only allowed in C99 mode for(int i = 0; i < 5; i++) and to compile your code use ...
3
votes
1answer
4k views

how to run java program in ubuntu in following situtations

sachin@sachin-Lenovo-G550:~$ java -version java version “1.7.0_21″ OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-1ubuntu1) OpenJDK Server VM (build 23.7-b01, mixed mode) When I ran the ...
0
votes
2answers
24 views

Where should I put compiled binaries so that the would become searchable?

I'm compiling software from source. This software project doesn't come with an installer, so I just put the binary in /usr/local/bin, then I can start it from the terminal with a command software ...
0
votes
0answers
14 views

revkit installation [duplicate]

so i need to install this software called revkit on ubuntu 12.10. below are the instructions as per the manual: Requirements RevKit needs a couple of packages which can easily be installed with the ...
1
vote
1answer
2k views

Compile .less files into .css after every update

I have installed node, and npm. With npm I downloaded less. And when I do lessc styles.less styles.css -x -w in terminal, it compiles and compresses the code, but doesnt watch the file for ...
5
votes
0answers
46 views

How to do build a 64-bit develop environment in Ubuntu 12.04 LTS 32-bit? [closed]

I using the Ubuntu 12.04.4 LTS 32-bit. But now, I want to build 64-bit binaries & packages as same source of Ubuntu 12.04.4 LTS 32-bit on it. I think that, If I use CLFS(Cross Linux From ...
1
vote
1answer
36 views

“Can not compile without isnan function or macro” when trying to compile geos on 14.04

Using a procedure for building geos on ubuntu 12.04, I'm trying to build geos on 14.04 and get the error, "Can not compile without isnan function or macro" when make is executed. sudo apt-get -y ...
3
votes
3answers
1k views

Which version of Python do I have installed?

I'm trying to write a simple Python script using Geany. This IDE will automatically compile the code I write but I'm not sure which version of Python it is using. If I enter python --version in the ...
1
vote
0answers
29 views

'__FDELT' and '__FDMASK' not declared in this scope (posix_types.h not included)

I'm running Ubuntu 12.04 LTS, 64bit version. I'm getting the following error when compiling a C++ program: ../elements/userlevel/socket.cc:477: error: '__FDELT' was not declared in this scope ...
4
votes
1answer
17k views

Missing linux/autoconf.h [closed]

I 'm trying to compile a package in Ubuntu but getting error "linux/autoconf.h: No such file or directory" Now I see that the missing file is under ...
2
votes
1answer
71 views

trying to install terminal window managers

I'd like to try some terminal window managers such as Viper Window Manager (VWM) and Twin ("Textmode WINdow"), but I'm having difficulties getting them running in Ubuntu. Are packages available for ...
0
votes
1answer
59 views

Adding extract tool to nautilus (compiled from source code)

How can add and Extract Zip File tool to nautilus? I installed nautilus from the standard source code in repository. Now: ? I remember there was a extract here selection in this menu before ...
1
vote
1answer
36 views

How to set /usr/bin/i586-mingw32msvc-g++ to gww?

I use cross compiling for C++ using MinGW... I use /usr/bin/i586-mingw32msvc-g++ filename.cpp to compile, but I want to be able to type gww filename.cpp I think I need to set a PATH ...
0
votes
1answer
161 views

Compile evolution development snapshot 3.13.1

I have downloaded evolution development snapshot from this link: https://wiki.gnome.org/Apps/Evolution and now I have trouble compiling the source code. I am using ubuntu 14.04 and this version of ...
1
vote
0answers
44 views

Is it possible to compile a kernel module under chroot?

Under a chroot environment, is it possible to build a kernel module without having the kernel installed, just the headers? It sounds like something you wouldn't want to do, but in my case I do. I've ...
1
vote
0answers
56 views

use NUT 2.7.1 in Ubuntu server 12.04 [closed]

I have questions in regards to using a different version of NUT than what is available through apt-get for Ubuntu server 12.04. The version of NUT that is available in Ubuntu server 12.04 is 2.6.3. ...
3
votes
2answers
2k views

Can not compile any C code under Xubuntu

I am not a seasoned C programmer, but I compile some C code sometimes. The last time I successfully compiled and run some C code I did it on the same system that I have now (the very same OS on the ...
0
votes
0answers
167 views

g++ 4.8.2 on ubuntu 14.04 fails to compile source files

I'm really frustrated at present in that g++ is throwing up so many errors even on a simple .cpp file. I'm typing: g++ test.cpp at the command line. Thanks in advance for any help. I downloaded g++ ...
1
vote
0answers
91 views

RTL8723AE PCIe driver problem

I have looked at this question but I get this error while compiling and am unable to load the module afterwards: make -C /lib/modules/3.13.0-24-generic/build ...
0
votes
1answer
49 views

Compiling the mysql_fdw for postgresql?

I'm attempting to compile the MySQL Foreign Data Wrapper for Postgresql 9.1+, on Ubuntu 12.04 LTS and having a fair bit of trouble getting it to work. So far I've managed to use git to download the ...
3
votes
3answers
5k views

GPG can't check signature

I was trying to recompile and rebuild libevent2 source from oneiric on my natty server and I had a small error with gpg not being able to check signature # dpkg-source -x libevent_2.0.12-stable-1.dsc ...
1
vote
1answer
61 views

Is it possible to produce an ISO image of my current installed Ubuntu OS?

I am running Ubuntu 12.04 TLS. Is there a way to produce an ISO installable image of my current system so as I could burn the image on a CD and be able to install it on an other laptop ? I tried ...
0
votes
1answer
497 views

ubuntu /usr/bin/ld: cannot find -lgcc_s

I am compiling a fortran program by using g77 on Ubuntu 14.04, I got the following error: ubuntu /usr/bin/ld: cannot find -lgcc_s Didn't you ever have experience with such problem?
1
vote
1answer
273 views

How do I install a specific version of java on Ubuntu

I am trying to build Android from source and it require Java 1.6 to build. So, I installed OpenJDK version 6. However, when I try to build using the make command I get the following message: Your ...
1
vote
0answers
65 views

Compiling error checkinstall

Hi I wanna compile my first package (Wine) under Ubuntu (it's also my first day with this OS). I ran ./configure and make, no errors. But when I did checkinstall then I got this back: ...
0
votes
0answers
55 views

globus toolkit installation

I'm trying to install globus toolkit on Ubuntu 14.04. When I ran make command I got problem that I mentioned below: globus@JMD:~/gt5.0.2-all-source-installer$ sudo make | tee installer [sudo] ...
0
votes
1answer
78 views

Which is exact method to install from source?

I have run (gradually) following command to install gdebi from source: apt-get build-dep gdebi apt-get source gdebi cd gdebi-0.9.5.3 dpkg-buildpackage -uc -us -b Which gives me error (posted last ...
5
votes
2answers
2k views

Building TrueCrypt on Ubuntu 14.04

With the whole NSA thing people tried to re-build identically looking binaries to the ones which truecrypt.org provides, but didn't succeed. So some think they might be compiled with back-doors which ...
1
vote
0answers
21 views

How to point to Boost built from source

I like to keep my Boost installations full and up to date to the latest release. I just noticed that I sloppily approved libboost-dev-all, and some of my programs that I develop are not able to ...
1
vote
1answer
290 views

How do you compile games with unity3D

I have created a game with unity3D and compiled it for mac and windows. But how do you build it for ubuntu, there is a option for linux But the file won't run when I click on it. there isn't ...
0
votes
0answers
67 views

/usr/bin/ld: error: cannot find -lpython2.7

While installing pyscard.py I get this error, gcc -pthread -shared -Wl,-rpath,$ORIGIN/../lib -g -L/home/builder/jenkins/workspace/Python_Masters/ARCH/x86_64/label/Linux/core/lib ...
1
vote
0answers
78 views

bfd.h should include libiberty/ansidecl.h in Ubuntu 14.04?

binutils package seems to be changed, as include directory of libiberty.h has moved to /usr/include/libiberty, thus there is possible a wrong include in bfd.h regarding ansidecl.h. Getting those ...
1
vote
1answer
315 views

Compiling Intel-phc says I don't have headers

Trying to follow an online tutorial "Intel-phc with latest kernel on Ubuntu". My ubuntu kernel version is 3.2.0-38-generic (Ubuntu 14.04). Following the instructions I downloaded kernel 3.14.2 from ...
0
votes
0answers
15 views

problem in compiling xv6 mit's project

Currently, I am working on XV6 but there is a problem when I build it withmake qemu then it gives me following error: i386-elf-gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -Wall -MD -ggdb ...
26
votes
4answers
7k views

How are packages actually installed via apt-get install?

When using the apt-get install method to install a package onto ubuntu, is there any fundamental difference between obtaining the source code for that package and building it from scratch? Does the ...
1
vote
1answer
1k views

Error 255 when trying to install openssl-1.0.1g from source

installing man1/cms.1 cms.pod around line 457: Expected text after =item, not a number cms.pod around line 461: Expected text after =item, not a number cms.pod around line 465: Expected text after ...
1
vote
0answers
14 views

Could not find Urbi when compiling

I have installed urbi-suite-1.22.1-linux32 and to compile the system I try both of the following commands: ./build.sh and cd __build cmake -DCMAKE_INSTALL_PREFIX=$(pwd)/install But I get ...
0
votes
0answers
18 views

Workoflow for regularly updating custom compiled kernels

Suppose you want a kernel with additional features such as the grsecurity patches which are not included in the ubuntu standard kernel images. Doing this once is not a big deal but when you update it, ...
2
votes
1answer
78 views

Compile error when trying to run make

I have the following error when trying to run make command, /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../libcppunit.a when searching for -lcppunit /usr/bin/ld: ...
0
votes
1answer
31 views

./configure error xft.pc is missing

i try to install something and did as asked in the readme ./configure but it gives me the following error: checking for xft... Package xft was not found in the pkg-config search path. Perhaps you ...
0
votes
1answer
77 views

Why Won't Supertux Level Editor Compile on Ubuntu 13.04?

I should have the latest files from supertux wiki. I've compiled the game itself, but the editor has problems compiling. Here's the error I get: MonoCSharp Lisp.dll make: gmcs: Command not found ...
0
votes
1answer
24 views

`build-dep` download location?

I downloaded build dependency of nautilus with sudo apt-get build-dep nautilus now; where can I find its .h and .cpp files?
7
votes
2answers
43k views

How to compile C++ source code (“iostream.h not found” error)?

I do not want to discuss about C++ or any programming language!I just want to know what am i doing wrong with linux ubuntu about compiling helloworld.cpp! I am learning C++ so my steps are: open ...
1
vote
1answer
43 views

Error in connecting CMake to FreeBASIC compiler. CMake Error: The source directory does not appear to contain CMakeLists.txt

I was in the middle of installing Allegro to help me compile C++ games and animations. I needed to install a Make program to get the ball rolling. I installed CMake and tried to connect it to my ...
2
votes
2answers
110 views

ffmpeg: installing from repository or compiling from source?

When googling for "install ffmpeg ubuntu" the first link I've got was https://trac.ffmpeg.org/wiki/UbuntuCompilationGuide, so I followed it, and unfortunutely got some errors during ffmpeg ...