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

learn more… | top users | synonyms (2)

0
votes
1answer
34 views

Compiling simple program in terminal [closed]

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
34 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 ...
1
vote
1answer
54 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
31 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 ...
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
65 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
41 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
19 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
143 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
35 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' ...
22
votes
1answer
11k 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
9k 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
10k 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
88 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
37 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
49 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
1answer
96 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
29 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
46 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
154 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
12 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
134 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
82 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 ...
0
votes
1answer
44 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 ...
2
votes
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
44 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
29 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
57 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
209 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
36 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?
73
votes
8answers
82k 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
153 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, ...
1
vote
1answer
261 views

How to install Gnome Software Center in Ubuntu Gnome 15.04?

How can I install the Gnome Software Center? I have found the .tat.xz file on Softpedia http://linux.softpedia.com/get/System/Software-Distribution/GNOME-Software-102470.shtml but am unable to ...
1
vote
3answers
14k views

“fatal error: gtk/gtk.h: No such file or directory” using make

I am trying to use make command to build. I am following this. I am compiling a code using GTK+2 and C language hp@ubuntu:~/amhello$ make make all-recursive make[1]: Entering directory ...
1
vote
1answer
72 views

How to build .deb files of vim which support both python2 and python3 on Ubuntu14.04?

I tried this tutorial but when I ran the command dpkg-buildpackage -us -uc, it failed.... I don't know what's wrong. This is the log: Test results: test87 FAILED TEST FAILURE Makefile:49: recipe ...
0
votes
0answers
58 views

Navit compile and run failure

I'm trying to compile and run Navit navigation software on Linux. Procedure is quite simple and with suxes I compile and run Navit on another Ubuntu machine. ~/co svn://svn.code.sf.net/p/navit/code/ ...
1
vote
3answers
5k views

How do you fix a gcc compile 127 error? sudo apt-get install g++ doesn't work

*emphasized text*when I try to run a program I get the following error. ubuntu@ubuntu-VirtualBox:~/Desktop$ make g++ -Wall -Wno-switch -I. -g -c -o pass.o pass.cpp make: g++: Command not found ...
0
votes
0answers
53 views

Error while compiling softwares using make: cannot find -lXm, -lXt, -lX11

make compilation showing errors like /usr/bin/ld: cannot find -lXm /usr/bin/ld: cannot find -lXt /usr/bin/ld: cannot find -lX11 collect2: error: ld returned 1 exit status make[1]: *** [candle] Error ...
1
vote
3answers
1k views

Error while installing tiff-4.0.3

I get the following errors while installing tiff-4.0.3: pranav@pranav-Inspiron-1545:~$ cd dependency/ pranav@pranav-Inspiron-1545:~/dependency$ tar -xvf libtiff4-3.6.0-5.tar.bz2 usr/bin/cygtiff4.dll ...
0
votes
0answers
198 views

configure: error: C compiler cannot create executables Ubuntu 14.04

I am getting configure: error: C compiler cannot create executables error while installing harminv program for meep simulations on Ubuntu 14.4 . Kindly guide me how can i remove the error. config log ...
4
votes
1answer
240 views

How to compile programs that use term.h?

I try to compile the code below: #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <term.h> //#include "/usr/include/term.h" void clear_screen(void) { ...
1
vote
1answer
85 views

Ubuntu touch compiling: missing msm_ion.h

I've started porting Ubuntu Touch to the LG Volt (LS740) from Boost Mobile. I have my device tree vendor blobs and kernel sources all in place, but I'm getting a compile error: In file included from ...
1
vote
0answers
28 views

Error in statically linking libSDL

I am trying to statically link libsdl on a test I wrote. What I did is: g++ test.cpp -Wl,-Bstatic $(sdl-config --static-libs) -Wl,-Bdynamic which gave me the error: ...
0
votes
1answer
665 views

Compiling C code for ARM processor on Ubuntu 12.04

I am compiling my simple "Hello world" C code using the following command: arm-linux-gnueabi-gcc-4.4 test.cpp -o test It generates an error: arm-linux-gnueabi-gcc-4.4: error trying to exec ...
0
votes
1answer
189 views

Adding custom changes to the OpenBlas for Python

My question: How do I get Python to use my own compiled OpenBLAS version? Background The Theano install guide suggests that one should test that the BLAS library components associated are correctly ...
0
votes
0answers
44 views

Compiling on ubuntu from raspberry pi

Could somebody help me out on getting the compiler that a raspberry pi uses on ubuntu? I am using NOOBS on the raspberry pi, but when I transferred a program over on ubuntu, I get a seg fault (core ...
3
votes
3answers
337 views

Can I call a .cpp program in Bash?

I am new in Bash programming. I want to call my C++ program in Bash file. My program is myProg.cpp: #include<iostream> using namespace std; int main() { cout<<"Salam! ...
1
vote
1answer
60 views

What is the best config file for kernel compilation

I need to recompile the kernel and I'm not sure what config file is the best Should I use make oldconfig or make defconfig I need all the features and modules that are installed by default in a ...
0
votes
0answers
44 views

How to install osdlyrics in Ubuntu 14.04

I've been trying to install osdlyrics on ubuntu 14.04 via ppa but it kept saying package not found everytime i run sudo apt-get install osdlyrics so i finally decided to get the tarball and compile ...