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

learn more… | top users | synonyms (2)

0
votes
1answer
22 views

Can't compile a simple C++ program using g++

When I try to compile any c++ program using g++ I get the following error, the stack trace is really long, this is just a sample: ........... /usr/include/x86_64-linux-gnu/bits/byteswap.h:47:2: ...
1
vote
1answer
34 views

Compiler errors during install of rstan in R

I tried installing rstan, a package for R for MCMC sampling, which requires compilation to work. Sadly make and the compiler fail during the install with a very long error message of which I post only ...
0
votes
4answers
244 views

I cant install Sleepyhead under Ubuntu

I am trying to install Sleepyhead following the tutorial http://ubuntuforums.org/showthread.php?p=11756055#post11756055 but I cant compile the src code` horacio@horacio-ThinkPad-X201:~/sleepyhead$ ...
15
votes
5answers
79k 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
0answers
26 views

building caffe: failed to see hdf5.h

Hello caffe is a lib for deeplearning. When trying to build that lib under 15.04, the compilation fails with the message: :~/App/caffe$ make all PROTOC src/caffe/proto/caffe.proto CXX ...
-1
votes
0answers
21 views

How do I build an Android project [on hold]

I gonna build Android source (version 4.4.2). I've already installed Ubuntu System on my computer. But I have no source project. How can I download source project? Thanks.
0
votes
0answers
6 views

How to add device sources to the repositories?

I just tried to build Android from source code, using this guide: http://xda-university.com/as-a-developer/getting-started-building-android-from-source The problem is there: Once you have obtained ...
0
votes
1answer
23 views

error while compile driver

when i want compile broadcom wireless driver it give this error : root@hello-notebook:/home/hello/bcm/broadcom# make KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` make[1]: ...
-6
votes
2answers
209 views

How to install non compiled programs?

I was using Ubuntu from 9.8 until now 11.10 ,and there are some programs that have this sequence to install : In the terminal cd to the program's folder and write ./configure write configure make ...
3
votes
4answers
266 views

How to compile bcmwl-ubuntu?

Running on kernel < 4.0 I used the precompiled bcmwl-kernel-source from the repository without any problems. Now I updated my Ubuntu 14.04.2 LTS to kernel 4.0.0-040000-generic where the package ...
4
votes
2answers
4k views

VMWare player and Ubuntu 15.04: net driver does not compile anymore, how to fix?

I use VMWare Player on Ubuntu and run a different number of virtual machines on it. It worked fine until 14.10, when the kernel was upgraded I would be asked to recompile the modules etc; but it ...
0
votes
4answers
6k views

Post installing comodo issues

I have installed comodo antivirus for my Ubuntu 12.04, even if I'm a newbie I managed to enter finalize the installation, you know when you have to type sudo /opt/COMODO/post_setup.sh, went through ...
0
votes
1answer
28 views

Compiling simple program in terminal [on hold]

Please help me, I have problems compiling a simple C++ program, it shows the following errors in the terminal. cpp: In function ‘int main()’: Hello.cpp:6:7: error: no match for ‘operator>>’ ...
0
votes
0answers
29 views

Kernel questions

I'd like to install kernel 4.0.4 on my 14.04. I want to do it mainly for educational purposes. In fact, I want to learn how to install the binary kernel and how to compile it from sources. I found ...
0
votes
1answer
123 views

Recipe for target 'vmlinux' failed?

I'm attempting to build a kernel for QEMU to emulate a raspberry pi: http://xecdesign.com/compiling-a-kernel/ https://www.raspberrypi.org/documentation/linux/kernel/building.md However, running the ...
-2
votes
0answers
24 views

After run '>>> GPIO.setup(1, GPIO.OUT)', app python3 crash: [closed]

After executed the followings commands, app python3 crash: ~# rp01@rp01:~$ sudo python3 [sudo] password for rp01: Python 3.4.3 (default, Mar 26 2015, 23:09:09) [GCC 4.9.2] on linux Type "help", ...
1
vote
1answer
26 views

Installation of 3rd party soundcard driver

I'm using Ubuntu 14.04 LTS. I got a new PCI soundcard with 3rd party divers: aqprox 32bit pci. CHIPSET C-Media CM8738 PCI-6CH-CX In the linux drivers folder I have this files: -rw-r--r-- 1 ...
0
votes
1answer
24 views

How to recompile the kernel without the sources?

Is it possible to recompile the current running kernel WITHOUT downloading new sources packages? I just want to reconfigure my currently running & patched kernel. I no longer have the original ...
3
votes
2answers
2k views

undefined reference to symbol 'exp@@GLIBC_2.2.5'

Similar question has been asked here but is unanswered. I have an implementation of Levenberg-Marquardt (downloaded from somewhere) and I'm trying to compile it but getting the following error. ...
0
votes
1answer
40 views

Installation of file on ubuntu

I just tried to install this file here on my Ubuntu 14.04 machine. When I click on it ubuntu opens a dialogue to install pypar2 which I did and then the file is opened with pypar2 it looks like this: ...
1
vote
0answers
24 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 ...
0
votes
0answers
9 views

How to compile a cpp file using cmake?

this is my first question here so excuse me if I'm doing something wrong. I try to compile a cpp file (named code_kinect.cpp) using cmake, but when I compile I get an odd error message /usr/bin/ld: ...
0
votes
0answers
9 views

How to get libloginhelper in Trusty?

I'm trying to compile gok (Gnome On screen Keyboard) version 2.30.1 on Xubuntu 14.04. The only pkg-config packages that I'm missing are: checking for gtkdoc-mkpdf... no checking whether to build ...
1
vote
1answer
36 views

What are cflags? [closed]

I have some experience with Gentoo, so I know the compiler meaning of CFLAGS, but when I try to configure https://github.com/OpenSC/pam_pkcs11 : # ./bootstrap&&./configure&&make ...
1
vote
1answer
3k views

Makefile:448: *** missing separator. Stop. error

The tutorial I am following is the automake hello world. I am compiling a code using GTK+2 and C language hp@ubuntu:~/amhello$ autoreconf --install configure.ac:2: installing `./install-sh' ...
0
votes
0answers
20 views

Error trying to compile fox-1.6.36 on ubuntu 14.04.0

I'm trying to compile fox1.6.36 from source to install mkahawa. ./configure went fine. make ended with this error. /usr/bin/ld: ControlPanel.o: undefined reference to symbol 'XGetDefault' ...
20
votes
1answer
10k views

How to download, modify, build and install a Debian source package? [duplicate]

If I want to make minor changes to the source code of a Debian package, how do I go about downloading, incrementing the package version, building the (modified) source, and installing it on my ...
16
votes
2answers
8k views

How to build all my installed package from sources?

I've read about how source-based linux distros like Gentoo can have considerable performance increases when compared to pre-built distros like Ubuntu because they install from source with ...
2
votes
2answers
9k views

“make” and “make install” never work

I have been trying it from a long time now and this time it got my nerves... The commands make and make install used to install a program from an extracted tar ball never work for some reason... The ...
1
vote
1answer
26 views

Altough I installed GSL library, g++ cannot compile my code

In order to use gnu gsl library I've installed it with the following command : sudo apt-get install libgsl0ldbl When I write a simple c++ code just to check whether I installed it correctly or ...
1
vote
0answers
19 views

Build Ubuntu Touch: adding android system image to installation … error: device not found

I'm trying to build Ubuntu touch from source. I'm building it for nexus 4 (mako) I've alredy install ubuntu on it, but a want to play with the source code so I need to build it. Everything seems to ...
0
votes
2answers
25 views

How to specify to install libraries to /usr/local/

I'm trying to configure and install an application and library package. The package is this. I followed the instructions and it installed fine, and I'm able to run the binary from the src directory, ...
1
vote
0answers
146 views

VMHGFS not compiling with VMware Workstation 10.0.6 under Ubuntu 14.04

I've got the current Ubuntu desktop installation from the website and installed it within my VMware Workstation 10.0.6 build-2700073 with the VMware Tools version 9.6.5-2700074. Every time I try to ...
1
vote
1answer
34 views

mps430-gcc .run file not doing any thing

I am using ubuntu 14.04 64 bit on virtualbox on Windows 8.1 64 bit host. I have to build some project and the project uses cmake system. I need to cross compile my project for Texas Instruments ...
1
vote
0answers
20 views

Compile kernel gets no error but version doesn't change

So I'm trying to compile a linux kernel in Ubuntu 14.04 to change the linux version from 3.16 to 3.14.4 and also to change one thing in config. I followed this tutorial step by step. Exept Step 6 ...
2
votes
0answers
39 views

Esterel Compiling in Ubuntu 64 bit

The latest version of esterel is available only in 32 bit. Installed it in 64 bit ubuntu. When compiling esterl to C. I haven't get any errors. esterel -simul foo.strl cc -c foo.c While running: ...
0
votes
1answer
31 views

Error when using command 'make'

I get error whenever I'm trying to 'make' file, I did this before I typed 'make': tar xjf xarchiver-0.5.4.tar.bz2 cd ./xarchiver-0.5.4 ./configure Configure command: ...
0
votes
0answers
5 views

How to copy artifacts generated by a build (php web app) to a directory on the same server?

We're using TeamCity 9 on Ubunutu system. I want to copy the the artifacts published in the build to a directory (defined in Apache config as virtual directory) so that our application would get ...
1
vote
1answer
32 views

Cross compling Gstreamer for ARM

Hi i was trying to compile Gstreamer for ARM platform. I am facing some issues as followed i have set INSTALL_PATH installed glib at INSTALL_PATH ./configure --prefix=$INSTALL_PATH ...
0
votes
1answer
46 views

In 15.04, Ubuntu SDK “make” is failing to build and run Ubuntu Core apps for the desktop.

I am getting this error in compile 01:09:30: Starting: "/usr/bin/make" Scanning dependencies of target ubuntu-clock-app.desktop [ 1%] Merging translations into ubuntu-clock-app.desktop... Died at ...
1
vote
1answer
107 views

The imported target “Qt5::Gui” references the file “/usr/lib/x86_64-linux-gnu/libEGL.so” but this file does not exist. [closed]

So, 15.04 x64, just installed. I installed the nvidia binary in the old way (console, switching off lightdm) because I got an error about DRI2 authentication. Then I wanted to build the nv opengl ...
0
votes
1answer
29 views

How to build a package for my QML app?

I want to build a package for my app, written with C++ and QML. For this I'm using Ubuntu SDK. I'm working on Ubuntu 15.04. Here is the project tree : Player : player.qmlproject components (a ...
1
vote
2answers
2k views

Errors installing wireless driver

I have a wireless dongle and I'm attempting to install their Linux drivers from here. When I run install.sh (I only have the CLI), I get these errors. How can I get this working? This is a 64bit ...
1
vote
1answer
40 views

Are Ubuntu builds deterministic? Why not?

Are Ubuntu builds deterministic? I assumed they are, that is, if I recreate the process of building Ubuntu installation media, I will get the same image, (bit-for-bit, with the same checksums) as the ...
0
votes
1answer
18 views

Mozilla NSS building

In this instruction :"In order to start the build process, use "cd nss" and execute "make nss_build_all". By default this will produce a build in debug mode and for a 32-bit architecture. You may set ...
0
votes
1answer
40 views

Restore ZFS automount

I've upgraded to 15.04 and I found the package ubuntu-zfs to be broken on systemd. I found the bug description on GitHub but I don't know how the procedure to be done as described: The correct ...
0
votes
2answers
188 views

Update QJSON on Ubuntu 12.04?

I currently have libqjson-dev 0.7.1-6 installed on 12.04 via package manager. I need 0.8.0 in order to run an app I like. I have little experience compiling from source, less with cmake. I assume ...
2
votes
1answer
25 views

Error while building Unity 8: “Could not determine USS private plugin installation dir.”

I am going through the steps to build Unity 8 and when I get to $ ./build it fails with this error Could not determine USS private plugin installation dir. How do I proceed?
64
votes
8answers
72k 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
0answers
54 views

What are the steps to Install WRF and NetCDF?

I've to install the Weather Research & Forecasting (WRF) model software from http://www2.mmm.ucar.edu/wrf/users/download/get_sources.html It must be installed with a lot of other libraries, ...