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

learn more… | top users | synonyms (2)

1
vote
2answers
521 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 ...
1
vote
3answers
11k 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
19 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
9 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
3k 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
12 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 ...
2
votes
3answers
74 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 ...
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
18 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 ...
0
votes
4answers
5k 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 ...
4
votes
1answer
136 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
37 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
9 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
2answers
453 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
42 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 ...
-1
votes
1answer
35 views

Compiling error: expected ‘)’ before ‘&’ token [closed]

I'm trying to compile some code and I get an "error: expected ‘)’ before ‘&’ token" in this part of the code: int number_of_features; number_of_features = 400; CVAPI(void) ...
0
votes
0answers
17 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
97 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
39 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
10 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 ...
0
votes
1answer
23 views

What are the make/build/install commands for module?

I'm working on a hardware issue. In a nutshell, Bluetooth isn't working. Solution I saw was to build and install this package but it's been years since I did that. Could use some hints. ...
-7
votes
2answers
207 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 ...
0
votes
0answers
11 views

Compile node.js

How do I compile a node.js file on Ubuntu 14.04? I have tryed what the terminal tells me to do " ./configure and make" but nothing works. please help Thanks Geza
0
votes
1answer
32 views

installation of file on ubuntu

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 pypar 2 it looks liek this ...
0
votes
0answers
19 views

How do I build the Ubuntu installation media? [duplicate]

I would like to build my own variant of Ubuntu, taking the stock Ubuntu as a starting point. For starters, I would like to replicate the process of building Ubuntu installation media, and go from ...
-2
votes
0answers
26 views

linuxband installation [duplicate]

I'm trying to install linuxband. Unlike the question in Unable to install libjack-dev, I am able to install libjack-dev, i.e., I've installed all the requirements and dependencies listed here. The ...
3
votes
1answer
915 views

Recommendation for a Colecovision emulator?

I'm searching an emulator for colecovision - a home games console from the early '80s. I've found two: ColEM, which starts but doesn't seems to load the cartidges AdamEM, compiled but not working ...
0
votes
1answer
8 views

How to use a never library on Ubuntu 12.04

I run Ubuntu 12.04 on my laptop and I have originally installed libxcb version 1.8.1 from package, but I need a newer version, because I need it to use the new mesa. I have compiled it from git with ...
0
votes
1answer
62 views

Problem installing Asterisk on Ubuntu 14.04.2

First, the card A200 from Sangoma is detected... lspci does list the card. For installation, I followed the instructions at http://wiki.sangoma.com/wanpipe-linux-asterisk-dahdi. All was well until ...
5
votes
1answer
1k views

warning messages while compiling c program using gcc [closed]

I am new to linux. I use gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 on Ubuntu 12.04 LTS. When I compiled the c program using pointer, I got the -Wformat warning as shown below. But if I execute a.out ...
1
vote
2answers
4k views

3.15.5 stable kernel not building, “gzip: stdout: no space left on device”, /boot is NOT full

Running into an issue building the 3.15.5 stable kernel on Ubuntu 14.04 LTS. Relevant portion of sudo make modules_install install INSTALL /lib/firmware/edgeport/down2.fw INSTALL ...
59
votes
8answers
67k 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
23 views

How to install Cockatrice in Ubuntu

I'm trying to install the latest client of Cockatrice in Ubuntu. I was told I had to do it from Github, and I'm trying to follow the instructions but I don't know how to download the Readme file or ...
3
votes
2answers
226 views

How do libraries/includes work?

I'm trying to understand how libraries work. Here are some questions I have about it: I downloaded a tarball and extracted it. When I do "./configure", it searches in pre-defined directories from ...
0
votes
0answers
52 views

“gl31.h not found, please install gl31.h” but libgles2-mesa-dev includes it

I recently changed my OS to Ubuntu to use some open source based on GCC compiler. However, after installing NVIDIA Cuda 7 and compiling Cuda 7 sample, I got this warning message: WARNING - ...
0
votes
0answers
47 views

Nginx compile error

./configure --sbin-path=/usr/local/sbin --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid ...
0
votes
2answers
803 views

The bug is not reproducible, so it is likely a hardware or OS problem [closed]

I'm trying to install Samba 4.0.9 on one server but I keep getting this error everytime. I have tried everything from apt-get -f install to editing /var/lib/dpkg/status Package: Samba4 Install ok ...
-1
votes
1answer
15 views

custom kernel for secure system

I am pretty new to the linux community and I've started learning it for last few months. After learning the basics of commands and system architecture im now trying to learn the grass root level ...
15
votes
5answers
74k 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
15 views

gfortran cannot recognise pthread

I am using gfortran for fortran compiling and I was trying to compile a new code with watson sparse linear solver, but when hit compile it appears with these messages: libwsmp64.so: undefined ...
2
votes
2answers
315 views

dcraw issue with fuji x raf

I have ubuntu 12.04 lts 64bits. I can not decode raw raf fuji X file with the dcraw utility (report error : Corrupt data near 0xdc800) as availaible in the "logithèque" dcraw 8.99-1build1 This is ...
-2
votes
0answers
45 views

How to compile PSensor ATI gpu temp

i was wondering if someone could help me compile Psensor to show amd/ati gpu temp. Ive read the "readme" pages over on the Psensor site and im new so i dont understand how to "compile" it. i have ...
0
votes
0answers
24 views

how to apply new kernel configuration created by make menuconfig

I am compiling Raspberry PI kernel and i am asking here because i think it is almost same or similar. while following this step, i want to change some configuration of kernel. So i used make ...
0
votes
0answers
18 views

I cannot install Sleepyhead

I cannot compile Sleepyhead. I have read all the tutorials like this one. Sleepyhead fails in the linker step: /usr/bin/ld: cannot find -ludev
0
votes
1answer
68 views

Kernel module compilation fails (gcc: error: elf_x86_64: No such file or directory)

I'm trying to compile a simple kernel module, but the compilation fails due to a wrong argument passed by make to gcc. This is the Makefile: obj-m += test.o all: make -C /lib/modules/$(shell ...
4
votes
4answers
9k views

No Terminal Library Found when Compiling Vim

I am running Ubuntu 12.04. I'm trying to a get a particular plugin for vim working and it requires that vim has ruby support enabled (the plugin is command-t). People tell me that I must go into my ...
0
votes
0answers
43 views

Applying recent kernel change to older (14.04 LTS) kernel

I believe there is a kernel fix for 2015 lenovo touchpad buttons not working in linux. It was just created (3/15) on the mainline kernel. This issue (see last post): issue report Pointing to this ...
0
votes
0answers
18 views

dssi-vst on 64 bit for use with Qtractor?

I'm wondering how to use Windows VST plugins with Qtractor, as I have yet to find VST instruments such as string sections and other orchestral instruments that are native to Linux. LMMS was good for ...
1
vote
3answers
2k views

How can I upgrade sqlite3 to at least 3.4.2 (or newer)?

When I try to run sudo apt-cache showpkg sqlite3, I only get the version 3.4.2. I need later than that to compile the sqlite3-ruby gem, and I can't make from source files (even with a ./configure ...
2
votes
2answers
6k views

Solve error file compiling PHP configure: error: libXpm.(a|so) not found

I got an error while compiling PHP, I am listing the details below. Error configure error libxpm.(a so) not found I have checked with dpkg -L libxpm-dev. it is showing the needed file is in the ...