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

learn more… | top users | synonyms (2)

46
votes
6answers
43k 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?
44
votes
4answers
21k 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" ...
26
votes
4answers
7k 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 ...
23
votes
4answers
8k 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, ...
20
votes
4answers
34k 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 ...
20
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 ...
19
votes
6answers
11k views

How to install new tmux 1.8 on Ubuntu 12.10 or 12.04?

Are there any PPA? If no, how to make it from sources? Which dev libs I'll need to do this?
16
votes
4answers
25k views

Cannot find install-sh, install.sh, or shtool in ac-aux

This is my first time trying to compile and install anything on a linux machine. I got the latest version of https://github.com/processone/exmpp via git and read the instructions which state: 2. ...
15
votes
5answers
564 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?
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 ...
13
votes
1answer
6k 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 ...
13
votes
1answer
9k 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 ...
12
votes
5answers
44k 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 ...
11
votes
4answers
7k 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
5k views

How to install tmux from source?

I've download tmux and am trying to install it on Ubuntu 10.04. $ ./configure Configured for Linux $ make cc -DBUILD="\"1.3\"" -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -iquote. -c -o attributes.o ...
11
votes
1answer
13k 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 ...
11
votes
4answers
26k 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 ...
11
votes
2answers
3k views

How to compile gedit LaTeX plugin?

Because I'd like to use the Gedit LaTeX plugin that is unfortunately not available for Gedit 3.2 in the repositories, I want to compile it myself. The most recent version you can get on ...
10
votes
3answers
8k views

Build 32-bit on 64-bit Ubuntu: installing ia32-libs does not include libstdc++

Googled for a while but drawn a blank. Need to build 32-bit app on 64-bit Ubuntu. Realise that I need to install ia32-libs. I have done this and apt-get tells me it's already at the latest version. ...
10
votes
3answers
376 views

How to find out how many people have downloaded from PPAs

How do I find out how many people use a particular PPA. I see on a particular PPA ; Package build summary A total of 108 builds have been dispatched for this PPA. Completed builds 108 successful 0 ...
10
votes
7answers
928 views

How do I port software that I have written for Windows to Ubuntu?

I have written software packages for the Windows platform. I want to change to Ubuntu. At the moment I use Visual Basic and Access Databases. Can anyone suggest What I should use to rewrite my ...
10
votes
1answer
836 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 ...
9
votes
2answers
8k views

Where can I find the configure options used to build a package?

I need to install asterisk 1.6.2.18 on Ubuntu 10.10 I would like to know what the configure options were that were used to generate the ubuntu package of asterisk 1.6.2.7. My favorite server distro ...
9
votes
5answers
11k 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.
9
votes
1answer
9k 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 ...
9
votes
1answer
21k 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 ...
9
votes
3answers
351 views

VMware no longer compiles after upgrade

I used VMware on ubuntu 10.04 for quite a while. When 10.10 was released I did a clean install. I tried to reinstall VMware, but after installing, I wasn't able to compile the modules. Does anybody ...
8
votes
2answers
626 views

Can't compile with GCC on Ubuntu 12.04

I'm trying to compile and run the below C program on my Ubuntu & Windows machines with both GCC & VC9. However, I'm facing below issues: On Ubuntu machine: GCC compiles fine, but when run, ...
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 ...
8
votes
2answers
589 views

How to cross-compile an existing deb package from 64bit to 32bit architecture

I have rebuilt a deb package with a custom patch for my computer which is a 64bit machine. I did it using: sudo apt-get -b source [package name] Now my question is, how to do that in a similar ...
8
votes
5answers
2k views

Compiling latest GNOME-Shell

This question pretends to be a central place where people share info about compiling the latest and greatest GNOME-Shell environment in Ubuntu 10.10. As GNOME-Shell now depends on gtk3 and in a lot ...
8
votes
1answer
5k 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: ...
7
votes
3answers
40k 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 >= ...
7
votes
2answers
44k 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 ...
7
votes
2answers
237 views

How can I install Inkscape from BZR?

In order to get the latest version of Inkscape, one has to use BZR. How can I install inkscape using BZR and properly install it on my System?. Detailed step by step guide would be preferable.
7
votes
3answers
2k views

Is there a PPA with a Wayland build I can use?

It seems like Wayland is coming to Ubuntu in the distant future. Being the curious type, I thought I would give it a try. I was going to build it myself, but wanted to save myself the trouble if there ...
7
votes
2answers
2k views

Can I rebuild a package without recompiling the source?

I am building a new .deb and want to fix lintian errors in the packaging. However, every time I rebuild, the rules file does a 'make clean' and thus starts compiling again. Is there a way to ...
7
votes
2answers
4k 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
1answer
529 views

How do I compile format junkie?

The ppa:hakermania/format-junkie is down, at least for me, is it possible to compile format junkie in 11.10? If so, how? This is the list of files I have: about.cpp error_logs.h ...
7
votes
2answers
3k 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 ...
7
votes
1answer
4k views

Compiling 32-bit app on 64-bit, cannot find -lX11

I'm invoking a command like: g++ ... -o"myapp" -lX11 ... And getting /usr/bin/ld: cannot find -lX11 I've installed the following packages to support multiarch: ia32-libs, libc6-dev-i386 and ...
6
votes
5answers
824 views

How are the programs in /bin directory compiled into a non-readable format?

I've noticed that most of my commands/programs in the /bin directory are compiled. I wish to duplicate this non-readable code format myself. Can someone tell me why and/or how these programs get this ...
6
votes
3answers
307 views

Will a package I compile myself perform better than installing from the repositories?

Does a package performance is different when it's compiled from sources, or installed from repository ? Is it possible, what during the compilation, the package will be "more adapted" (performance, ...
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??
6
votes
4answers
5k views

Does compiling a linux kernel make the OS faster?

Does compiling a downloaded linux kernel (e.g 3.2) make the OS (e.g ubuntu) faster on that specific machine?
6
votes
1answer
1k views

What does “compiling a kernel” mean?

What is meant by term kernel compilation? Does it involve working directly on the source code of the kernel; making changes to the kernel program and then compiling the whole source code? Or does it ...
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
9k views

How to install ktechlab?

How to install ktechlab in Ubuntu 11.10?
6
votes
1answer
847 views

How can I quickly recompile the kernel after changing the configuration?

I'm trying to fix a suspend problem on my Dell Inspiron 600m. I think the problem is that the video driver modules aren't being reloaded properly. So, I'm going to try to compile the video drivers ...
6
votes
1answer
6k views

Does a file reported as “not a dynamic executable” by 'ldd' depend on other libraries?

Just making sure I got this right - I call ldd /path/to/executable and it returns "not a dynamic executable". This means that it doesn't depend on other libraries, correct? If so, does it mean that ...