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

learn more… | top users | synonyms (2)

0
votes
2answers
148 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 ...
0
votes
1answer
34 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?
0
votes
1answer
64 views

gfortran compiling GILDAS fails with undefined references to libgio

I'm trying to compile the software package GILDAS (http://www.iram.fr/IRAMFR/GILDAS/) from source on 14.04, and am getting stuck on the make checks, with an error which seems to be an issue either ...
1
vote
1answer
138 views

Updating linux kernel

Is it possible to update the Linux kernel without installing a new version of the Linux distro? If I want to download the kernel from the Linux website and manually install by compiling it, how can it ...
14
votes
5answers
62k 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
166 views

Ubuntu iso build debootstrap error chroot/test-dev-null: Permission denied

I am trying to build an ubuntu trusty tahr iso image from the sources. But a get all the time this error message and I don't now how I can solve it. I execute the build script as root. I: Validating ...
0
votes
0answers
43 views

error: BITS_PER_LONG undeclared (first use in this function)

We are trying to compile our source code (.c files) on Ubuntu 14.04 64-bit OS. This worked properly on Redhat Linux 32-bit version. On this Ubuntu server also compilation was successful after making ...
0
votes
0answers
29 views

Want to build my own Ubuntu from source code [duplicate]

I have two requirements I want whole Ubuntu 12.04 Source code. I want to compile it. Can you please tell me about from where I can get the source code and what tool I will need to compile it? ...
1
vote
2answers
3k views

My computer doesn't recognize the following library: linux/config.h when compiling

I have code written in C and I have included some libraries such as linux/config.h and linux/kernel.h. Whenever I compile the file, it gives me an error saying No such file or directory ? Is there ...
0
votes
1answer
60 views

Replace prebuilt package with self-compiled version

I need to update my Point Cloud Library (PCL) that I installed via official instructions with my own version that I just compiled according to this manual. The reason is I need to fix a bug in PCL ...
0
votes
0answers
30 views

Failed to compile qBittorrent on Ubuntu 12.04

I'm trying to install qBittorrent following this tutorial https://github.com/qbittorrent/qBittorrent/wiki/Compiling-qBittorrent-on-Debian-and-Ubuntu However whenever I run the commands cd ...
0
votes
0answers
21 views

Compile lightest kernel for ubuntu 14.04 [duplicate]

I want to compile my own kernel for Ubuntu 14.04 64bits and do it the lightest as possible following this criteria: Lightest Kernel only with Visual Interface, no need lan, wlan, sound, etc... With ...
3
votes
2answers
85 views

Is there a plugin for the terminal which allow to detect and open files?

I'm looking for a terminal plugin/extension that would allow me to detect files path in terminal output and open them in a text editor by clicking on them. The perfect solution would open the file at ...
0
votes
0answers
47 views

Installing input-wacom drivers gives error at ./compile on my Gateway M275E penabled laptop

sam@sam-M275:~/input-wacom-0.23.0$ ./configure && make && make install checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is ...
24
votes
4answers
9k views

What are the packages/libraries I should install before compiling Python from source?

Once in a while I need to install a new Ubuntu (I used it both for desktop and servers) and I always forget a couple of libraries I should have installed before compiling, meaning I have to recompile, ...
1
vote
0answers
27 views

Permission denied when running C programs outside the Home directory [duplicate]

I have been creating some C programs and I have saved them to my Home directory while editing. I have compiled them with gcc and then run the executable file with ./ and they work fine. However, when ...
0
votes
1answer
203 views

Problem compiling JOS - undefined reference to `__udivdi3' and `__umoddi3'

I'm taking a class on operating systems this semester and have ran into a problem while setting everything up. I cloned the git repository for the JOS operating system and would like to try to ...
0
votes
1answer
247 views

Solved: “cannot find -lmpi*” when compiling openmpi code

I had try to install openmpi 1.8.1 from the source code at Unbuntu 14.04 server. I would like to use mpi for large scale calculation on single machine with multi cores. The simple "Hello world" test ...
0
votes
1answer
136 views

KGraphViewer replacement

Is there a replacement package for the deleted KGraphViewer? The qt dev pacakage is installed. Compilation of the latest Umbrello works. Also I tried to compile it from the git remake ...
0
votes
0answers
63 views

Problem compiling

I am trying to compile the latest ngspice (26) as a shared folder. I am using ubuntu 14.10, and have only a little understanding in the compiling process While following direction from the "compile ...
8
votes
2answers
3k views

Is it possible to find out what options packages were compiled with?

I am interested in knowing which options are used to compile vim in the package "vim" as I am trying to compile vim from source on another system, not running Debian/Ubuntu, and would like it to work ...
0
votes
1answer
102 views

A MASM Compiler?

I have been looking for a MASM Compiler for ubuntu. I have move all my development tools to ubuntu and now I'm taking a MASM class and I need a MASM compiler really bad. I have seen some videos on ...
1
vote
1answer
6k 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?
0
votes
1answer
363 views

How to compile C/C++ program with GStreamer

I'm trying to compile this code: #include <stdio.h> #include <stdlib.h> #include <gst/gst.h> int main (int argc, char *argv[]) { const gchar *nano_str; guint major, ...
0
votes
0answers
49 views

Building and Installing ICU from Source

The setup process for ICU on Linux systems seems to be pretty standard. For whatever reason, though, it's giving me a hard time. I'm following the "official" readme instructions that come with the ...
0
votes
0answers
12 views

Decompilation of an executable/object-code

Upto what extent it is possible to decompile a code written in C or Java(executable or object-code respectively)? It may not be legal because of copyrights but is it not hard to locate anything like ...
9
votes
3answers
5k views

Receiving error while trying to debug in QtProject

I installed the latest version of the QtProject so now I can debug C++ code. While trying to debug for the first time I got this error: ptrace: Operation not permitted. Could not attach to the ...
0
votes
0answers
20 views

How to build php from source with a custom name

I have PHP 5.5 running on my Ubuntu 14.04x64 server using PHP5-FPM that's bound on port 7501 and would like to run PHP 5.6 concurrently on the same server with it's own location and it's own package ...
6
votes
1answer
3k views

How (recipe) to build only one kernel module?

I have a bug in a Linux kernel module that causes the stock Ubuntu 14.04 kernel to oops (crash). That is why I want to edit/patch the source of only that single kernel module to add some extra debug ...
0
votes
0answers
49 views

Where do the extensions of self compiled PHP on ubuntu 14.04 go?

I downloaded PHP 5.3.29 and configured it with the following options: ./configure' '--with-apxs2=/usr/bin/apxs2' '--enable-ftp' '--enable-mbstring' '--with-mcrypt' '--with-mysql' '--with-mysqli' ...
0
votes
0answers
68 views

c++ compiler errors using make across multiple projects

I'm trying to install an LC3 assembler for school. I run the config script and type make and a several weird compiler errors pop up. I tried this building simpl and just now lc3db Here's output (the ...
2
votes
1answer
7k views

“ERROR: zlib check failed” while compiling Qemu

I recently formatted my PC and reinstalled Ubuntu 13.04 via Wubi in Windows. And after updates I'm getting this error: basel@ubuntu:~/Desktop/qemu-1.6-test$ ./configure ...
0
votes
1answer
19 views

Installing godag on ubuntu

On Ubuntu/Linux, I did this: hg clone https://godag.googlecode.com/hg/ godag and after this: go run mk.go install and it gives me this error: up 2 date: utilz/stringbuffer up 2 date: ...
0
votes
2answers
538 views

Compile error: checking for libXaw… configure: error: No X toolkit could be found

Can anyone solve this error? After I configure emacs and run make, i get the following: [jroberts@pc emacs-24.3]$ make make: *** No targets specified and no makefile found. Stop. Here is the ...
1
vote
0answers
119 views

OsmocomBB - compile error

I tried to install OsmocomBB on my Ubuntu, I've got gnu-arm-toolchain, but when I'm compiling there is an error: configure: error: in `/home/robert/OsmocomBB/osmocom-bb/src/shared/libosmocore/build- ...
1
vote
1answer
770 views

Why can't I use conio.h or ncurses.h?

I am new user to Ubuntu. I wrote a simple program in C. When I try to compile it to use conio.h, the compiler gives me fatal error. So I tried by ncurses.h, but still I am getting same error.
0
votes
0answers
14 views

Compile old Linux sources in new Ubuntu environment

Have old Linux sources that among other things include linux/tqueue.h. I understand this is obsolete Linux tasking. The target system is ARM with an obsolete Linux which is not changing. Only the ...
11
votes
2answers
58k 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 ...
0
votes
1answer
166 views

I'm trying to compile the latest kernel from source but I am getting an error

So I am following this guide: http://kernelnewbies.org/OPWfirstpatchSetup I followed the steps and installed the kernel from source. When I boot into the new kernel, Ubuntu loads up but then I only ...
4
votes
1answer
3k views

How to enable RELRO support?

We have been trying to build a LFS system on 12.04 64-bit. In the configuration stage of glibc, I receive the error configure: error: linker with -z relro support required How can I enable the ...
0
votes
1answer
267 views

Building xvidcap on Ubuntu 14.04 - undefined reference to symbol 'XGetWindowAttributes'

I'm trying to build xvidcap from sources on Ubuntu 14.04 since no package is available. I've stumbled upon following error during make: gcc -Wall -g ...
0
votes
1answer
91 views

Ubuntu 14.04 libc.a file not recognized

When i try to compile a simple .c file with gcc i always get this error: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libc.a: file not recognized: File format not recognized i tried ...
0
votes
2answers
66 views

Makefile: how to change a specific rule

this is my first question here, I hope to do everything in the right way. I'm a quite new Ubuntu user and if possible I need some help with a specific Makefile. I downloaded QEMU 2.1.0 and I'm ...
2
votes
1answer
736 views

asm/errno.h: No such file or directory

I'm trying to install gcc 4.8.1 at the moment. Currently 4.8.2 and 4.9.1 are installed. I downloaded an 4.8.1 from here http://gcc.cybermirror.org/releases/gcc-4.8.1/ . After extracting the files I ...
0
votes
1answer
137 views

How to install IRSTLM (automake warning during the build)?

I am trying to install MT. So this purpose, i am trying to install "irstlm-5.80.03" version on "Ubuntu 14.04," but, when I give the command ./regenerate-makefiles.sh then found following error: ...
2
votes
2answers
2k views

How to build vim with gui option from sources?

I'm having a hard time building a VIM 7.4(obtained from vim's ftp site) with gui option. It builds ok without the gui option. Here's how I'm doing it: cd ~/Downloads/vim74/src ./configure ...
0
votes
0answers
126 views

kernel make zImage error - No rule to make target vmlinux

I've been searching for a couple of days and I can't find anything on google about an interesting error I get when compiling a linux kernel. I initially thought this problem had something to do with ...
0
votes
2answers
123 views

Upgraded to 14.04 LTS from 12.04 LTS. Now C++ program does not compile [closed]

As the title states, I am having problems compiling my program, and the error is C++11 specific. Is there some way I can go back to the compiler I had on 12.04? Do I need to install another version of ...
0
votes
1answer
15k views

Install error---make: *** No targets specified and no makefile found. Stop

apcoer@apcoer-Aspire-Series:~$ cd Desktop apcoer@apcoer-Aspire-Series:~/Desktop$ cd libgraph-1.0.2 apcoer@apcoer-Aspire-Series:~/Desktop/libgraph-1.0.2$ ./configure checking build system type... ...
2
votes
1answer
884 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. ...