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

learn more… | top users | synonyms (2)

10
votes
1answer
874 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 ...
46
votes
4answers
28k 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" ...
17
votes
2answers
11k 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 ...
51
votes
6answers
53k 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?
21
votes
4answers
37k 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 ...
13
votes
2answers
7k 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
1answer
5k 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 ...
4
votes
0answers
514 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.
15
votes
1answer
8k 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 ...
12
votes
4answers
8k 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 ...
11
votes
1answer
25k 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 ...
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 ...
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 ...
14
votes
1answer
18k 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 ...
2
votes
2answers
3k 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 ...
3
votes
2answers
1k views

Bochs Compiling Error AGAIN

I'm trying to compile bochs with this command: ./configure --with-x11 --with-wx --enable-ne2000 --enable-iodebug --enable-disasm --enable-debugger --enable-e1000 --enable-usb --enable-pci it works, ...
8
votes
1answer
7k views

While compiling TrueCrypt, I get “undefined reference to symbol 'dlclose@@GLIBC_2.2.5'”

I'm trying to compile TrueCrypt 7.1a from source on Ubuntu 13.04. However make fails during the linking process with the following error: Linking truecrypt /usr/bin/ld: ...
6
votes
2answers
6k 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 ...
3
votes
1answer
8k views

how to run java program in ubuntu in following situtations

sachin@sachin-Lenovo-G550:~$ java -version java version “1.7.0_21″ OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-1ubuntu1) OpenJDK Server VM (build 23.7-b01, mixed mode) When I ran the ...
1
vote
2answers
3k 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 ...
8
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 ...
26
votes
4answers
8k 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 ...
9
votes
2answers
55k 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 ...
3
votes
3answers
2k views

How should I set up a Linux file server for data sharing with Windows PCs and a PS3?

I have the following pieces of hardware I would like to network mostly for file sharing (media primarily): 1 gaming laptop, 1 i7 (2.3Tb storage) desktop, 1 P4 desktop (500g storage), and 1 250gig PS3. ...
12
votes
4answers
30k views

What's the Linux equivalent to Windows batch files?

I have a batch file which I use to create an .apk file on my Windows machine. Now I need to be able to create the .apk file in Ubuntu but I don't know how translate my .bat file to a script to be able ...
3
votes
3answers
5k 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 ...
2
votes
3answers
23k 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 ...
6
votes
2answers
9k views

How can I install the latest version of libmtp?

In the latest version of the libmtp library there are fixes for my Android device so I would like to install the latest version I'm just not sure how! I would assume that this would pushed into the ...
4
votes
1answer
423 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 ...
3
votes
2answers
8k 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
2k views

Installing Python 3.4 from source

I am running Xubuntu 13.10 i386 with the python (2.7) and python3 (3.3) packages installed. I have downloaded and compiled the source code for Python 3.4 but the binary file is named python. How can I ...
2
votes
2answers
769 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 ...
2
votes
2answers
6k 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 ...
2
votes
1answer
7k 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
238 views

How to install RevKit

I’m trying to install a software called RevKit on Ubuntu 12.10 and the following instructions1 need to be followed: RevKit can be downloaded from the www.revkit.org website. Opening a Bash ...
1
vote
1answer
6k 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
226 views

Cannot compile Glasgow Haskell Compiler

./configure checking for gfind... no checking for find... /usr/bin/find checking for sort... /usr/bin/sort checking for ghc... no configure: error: GHC is required unless bootstrapping from .hc files. ...
1
vote
2answers
4k 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
997 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
27 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
2k 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 ...
20
votes
2answers
5k 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 ...
11
votes
3answers
47k 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 >= ...
11
votes
5answers
12k views

Where does Ubuntu store its library files?

I want to add my own library to use in c compiling, but don't really know where ubuntu stores it.
10
votes
1answer
12k views

No acceptable C compiler found in $PATH

I want to install one package named speech_tools-2.1-release.tar.gz. After I run command ./configure in this package, it show me a message: Configure: error: no acceptable C compiler found in $PATH ...
8
votes
2answers
83 views

Is there any open-source way to make a static from a dynamic executable with no source code availability?

Let me explain the problem with an example. I use some old program in my day to day work, like for example xfig and pdfedit. Now, these programs are quite old and not updated too often; my fear is ...
7
votes
2answers
4k 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
6k 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
576 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?
7
votes
3answers
10k views

How to install ktechlab?

How to install ktechlab in Ubuntu 11.10?