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

learn more… | top users | synonyms (2)

10
votes
1answer
764 views

How to upload package with dependencies to my PPA?

I made a package for my PPA and uploaded it. It built without any problems. Then I made another package that depended on the first and uploaded it. It failed because it couldn't find the files in the ...
37
votes
4answers
16k views

If I build a package from source how can I uninstall or remove completely?

I used source code to build one package such as below: ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib --with-package-name="Myplugin" ...
20
votes
4answers
30k views

How can I install a realtime kernel?

I have read a lot of threads with similar questions, but after reading the answers, I am very confused. I have found in them lots of url's with repositories but people discusses about which ...
11
votes
2answers
7k views

What's a simple way to recompile the kernel?

I'm interested in compiling a new kernel under Ubuntu 12.04 x86 64 bit. I found this wiki page which is basically a mirror for this blog and there are a lot of steps (git, etc.) that appear useless ...
11
votes
2answers
6k 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 ...
4
votes
0answers
501 views

How to compile source code from a tarball? [duplicate]

Possible Duplicate: How to install a .tar.gz file? please explain in an easy way.
39
votes
6answers
26k 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?
10
votes
4answers
6k views

Install Apache, Php, Mysql latest versions not available via apt

I need to install the latest versions of apache, php and mysql that are available on their websites, but the problem is that apt repositories don't have these updates versions yet. Versions that I ...
3
votes
2answers
1k views

Building own kernel on ubuntu

I'm trying to build my own kernel, as I want to write a kernel program which I need to compile into the kernel. So what did I do? Download from kernel.org, extract, do the make menuconfig and ...
7
votes
1answer
17k views

How to solve configure: error: readline library not found?

I have an Ubuntu 10.04 LTS server with a minimal install that I want to compile postgres on. With the minimal install the server did not have gcc so I had to do an apt-get install gcc but now I keep ...
2
votes
2answers
1k views

How do I find the dependencies when building software from source?

Here is what I have done. I downloaded foxtrotgps.1.1.1.tar.gz as it is the latest to /home/crash/usr/local.src I extracted it to my /home/crash/usr/local/src as directory /foxtrotgps.1.1.1 I then ...
9
votes
1answer
8k views

Cross-Compile for ARM?

How do I set up GCC for cross compiling for the ARM processor? The host would be on x68 ( AMD64 - Ubuntu 12.04 ) and the target would be ARM ( Raspberry Pi as well as Pandaboard - will do separate ...
1
vote
2answers
2k views

Is it better to compile from source or to install from a .deb package?

Sometimes, when downloading software from the Internet, I find that there is a .deb package ready for either my Debian/Ubuntu and also a tarball to be compiled. In the beginning I would simply use the ...
4
votes
1answer
4k views

Why can't I install g++?

while trying to compile a program with the following command: g++ -o <output_file> <my_file.cpp> I found the following report.... The program 'g++' can be found in the following ...
1
vote
2answers
2k views

Compiling AVLD on 11.04

I'm trying to install AVLD 1.4 on Natty. I've unpacked the files, but when I compile them with make, it fails: make -C /lib/modules/2.6.38-8-generic-pae/build M=/home/jmendeth/Downloads/avld_0.1.4 ...
11
votes
1answer
4k views

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

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 ...
5
votes
1answer
3k 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 ...
7
votes
2answers
36k 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 ...
26
votes
4answers
6k 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 ...
2
votes
3answers
22k views

How do I install the build dependencies for Android?

I'm trying build the Android source using these packages. ButI am getting this error: $ sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib ...
4
votes
1answer
378 views

Recompile all packages and trigger on updates

I am using Ubuntu on a bespoke router and after seeing the latency drops capable with custom compiling on Gentoo, I would like to recompile all packages with CFLAGS="-march=atom". The guide for this ...
2
votes
2answers
5k views

Code::Blocks: g++ not found

Recently I have installed Code::Blocks IDE on my Ubuntu 12.10. The following error appears when I try to run or compile any code written in there: Compiling: /home/sabbir/first.cpp /bin/sh: 1: g++: ...
2
votes
2answers
5k views

Error when I try to compile the kernel 2.6.37

I have downloaded the kernel 2.6.37 from kernel.org. I have tried to compile it but I get an error: $ make menuconfig scripts/kconfig/conf --silentoldconfig Kconfig *** *** Configuration file ...
5
votes
2answers
2k views

Installing packages into local directory?

I'd like to install software packages, similar to apt-get install <foo> but: Without sudo, and Into a local directory The purpose of this exercise is to isolate independent builds in my ...
2
votes
1answer
5k views

How to get 32 bit version of libraries on Ubuntu 64 bit?

I'm trying to compile a program which uses Google's V8 library (which is 32 bit). Therefore any library I use within my program also has to be 32 bit. Where can I download the 32 bit version of ...
1
vote
2answers
3k 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 ...
1
vote
1answer
505 views

How to compile deskew plugin for Gimp?

I'm interesting in using this Deskew plugin which appears somewhat old, with broken links in the gimp registry. https://github.com/prokoudine/gimp-deskew-plugin How do I go about installing it on ...
1
vote
2answers
3k views

Madwifi Driver Installation Error : “Cannot detect kernel version”

I cannot get past this error when trying to run "make" on the driver source. Makefile.inc:81: *** Cannot detect kernel version - please check compiler and KERNELPATH. Stop. Does anyone know the ...
1
vote
2answers
908 views

Kernel compile error with iw_ndis.c

I have a hp pavilion dm3t with intel HD graphics running ubuntu 10.10 64 bit. I'm trying to compile and install a patched kernel according to this, ...
0
votes
0answers
18 views

Errors while compiling cudasw program

I wanted to compile Barracuda program. What I did was: untar this program using: tar -xvzf barracuda_source_r280.tar.gz then I typed make output is down here ...
0
votes
1answer
567 views

Missing modversions.h

I`m trying to compile a program, which was actually designed for Linux OS based on kernel 2.4. When I run the make command, I get the following error ...
19
votes
2answers
4k views

Compile 32bit kernel on 64bit machine

I'm trying to compile a kernel for a 32bit single-core Intel Atom machine. Needless to say, the compile is taking inordinate amounts of time. It's been going for 2 hours and it's still only halfway ...
7
votes
2answers
2k views

How do I install the X.org Radeon/ATI driver?

I recently downloaded version 7 of the Radeon/ATI X.org Driver from this link: http://cgit.freedesktop.org/xorg/driver/xf86-video-ati My question is how do I compile and install it? I don't like ...
5
votes
4answers
5k views

Can't build gcc anymore since upgrade to 11.10

On Monday I've upgraded to from Ubuntu 11.04 (my initial installation) to 11.10 and now I can't build gcc from source anymore. Since I forgot to uninstall the gcc package before the upgrade, Ubuntu ...
15
votes
5answers
547 views

Does compiling programs from source speed up my operating system?

Somewhere I read that I should remove default programs in ubuntu and then compile and install them again for speeding up my os. Is this true?
6
votes
1answer
1k views

How to build Compiz from source?

Similarly to this question made for Unity, I would like to know what is the correct procedure to build the latest development release of Compiz from source. In particular, it would be useful to know ...
6
votes
3answers
33k views

How do I install glib?

I want to build the Empathy in Ubuntu 11.04. When I follow the build process, ./autogen.sh The shell said to me that libtoolize: copying file `m4/lt~obsolete.m4' checking for autoconf >= ...
4
votes
3answers
5k views

Initialising the Build Environment for Android on 64-bit 12.04

I am looking to initialise the build environment for the AOSP codebase (or for that matter, any Android source), and one of the first steps in the process is to; $ sudo apt-get install git gnupg flex ...
3
votes
3answers
2k views

Unable to compile RealTek RTL8188CE driver on Ubuntu 13.10

I am trying to compile the Realtek drivers on my machine and I am getting the following errors: make -C /lib/modules/3.11.0-12-generic/build M=/home/david/Downloads/rtl8188ce-linux-driver modules ...
3
votes
1answer
106 views

Will Ubuntu work with reproducible builds?

In a comment on the question Does Ubuntu deliberately contaminate its binaries to help NSA?, Jorge Castro notes that debian is thinking about working with reproducible builds. They state Why do we ...
3
votes
1answer
3k views

Why does gsl-library not compile/link in 11.10, despite that it did under 11.04 with the same makefile and program?

I have a problem with the gsl library in Oneiric - after upgrade from Natty to Oneiric I cannot build a program anymore with my own makefile, despite the fact that in QT Creator everything works fine ...
3
votes
3answers
3k views

The best way to compile a kernel for an i7 processor?

I have compiled my own kernels for a while now. I started when I got my i7 processor and wanted its turbo boost to work properly. I've since bought an SSD so continue to benefit from a more recent ...
2
votes
3answers
4k 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
2answers
470 views

“/usr/bin/ld: cannot find -lX11” building Firefox OS?

Tried to Build Firefox OS with Ubuntu 13.10 and got this error: host SharedLib: libOpenglRender (out/host/linux-x86/obj/lib/libOpenglRender.so) /usr/bin/ld: cannot find -lX11 /usr/bin/ld: cannot find ...
6
votes
4answers
2k views

Installing CoverGloobus

Is there any easier way to install Covergloobus 1.6 in Ubuntu 10.10 ? PPA doesnt work , tried to compile it but failed , are there any other ways??
4
votes
1answer
2k views

How to speed up compilation of Ubuntu apps (make, cmake, gcc)

I am compiling some programs here and I have 4 cores. Is there a way to tell make, cmake or gcc to compile using all cores or something to that affect.
3
votes
1answer
3k views

How to compile & install Emerald window manager in Ubuntu 13.04 64bit?

Please give me directions to compile & install Emerald specifically in Raring Ringtail 64bit edition. I've tried to compile it from the source many times, but had no luck.(Compile log : ...
3
votes
1answer
2k views

How to compile wine

I am a Wine PPA user for Scott Ritchie for several years and have loved that PPA but I want to start compiling Wine for testing purposes in another PC with Ubuntu. So I have a couple of questions ...
2
votes
1answer
775 views

How to build and install latest SimpleScreenRecorder from git?

I want to install SimpleScreenRecorder (SSR) from git as recommended by the developer. The binary version crashes and it is possible that the git version already has the fixes for my crash problem. ...
2
votes
3answers
3k views

How to solve dpkg-source source problem when building a package?

Has anyone here had some experience creating a Debian / Ubuntu package? I am trying to backport the lammps package (http://packages.ubuntu.com/quantal/lammps) from Ubuntu 12.10 (Quantal) to Ubuntu ...