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

learn more… | top users | synonyms (2)

3
votes
1answer
114 views

Can we replace the kernel config file and get the desired changes in the kernel?

The question heading is bit confusing I will try to explain myself. I have downloaded kernel source code (3.2.29) I have a kernel config file from another system (with the same hardware), what I ...
0
votes
1answer
170 views

ERROR: GNU libc not found!

While using make.sh command for toolchain, I encountered the following error: Checking for toolchain prerequisites Checking for GNU bash [ DONE ] Checking for GNU binutils ...
0
votes
1answer
5k views

How to fix a “/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found” error?

I've been getting this annoying problem. I want to compile a .so under Ubuntu using the Anjuta IDE. It compiles fine and all, but when I load it, that's when the error comes up: /usr/lib/libstdc++.so....
5
votes
2answers
536 views

configure flags

What is the Ubuntu way of downloading the source for a package and then building it while passing specific flags to the configure portion of the process? I hope I'm explaining what I mean properly. ...
0
votes
1answer
2k views

How to add a custom driver to my kernel?

I want to add a custom driver to my kernel source. But I have no idea how to do this. Any help will be appreciated. Thanks.
1
vote
1answer
3k views

How do I install Rigs of Rods?

How do I install Rigs of Rods (open source vehicle simulator based on soft-body physics)? I have compiled applications before like Gedit, Handbrake, XBMC but I can't seem to install/compile Rigs of ...
1
vote
0answers
949 views

How do I install/compile CORSIKA & FLUKA for 32-bit Ubuntu 12.04?

I want to use some programs (CORSIKA and FLUKA) which are essentially designed for 32 bit systems. I've installed the 32-bit version of 12.04 on my system (Intel® Core™ i7-2700K CPU @ 3.50GHz × 8). ...
2
votes
2answers
3k views

Subversion 1.7 on 12.04 precise: libsasl error, compiling from source?

Background: I am a longtime Gentoo user, and this is my first time using Ubuntu (installed on a VM to avoid compiling everything from scratch). I am familiar with a Linux environment but somewhat ...
5
votes
4answers
23k views

How long does it take to compile a kernel (linux 3.2.5)? [closed]

How long does it take to install kernel (linux 3.2.5) on 12.04 using make install -j 4 command? My terminal is displaying this for around 40 minutes now. root@user-desktop:/usr/src/linux-3.2.5# make ...
6
votes
2answers
21k views

“make” and “make install” never work

I have been trying it from a long time now and this time it got my nerves. The commands make and make install used to install a program from an extracted tar ball never work for some reason. The ...
13
votes
3answers
15k 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. ...
3
votes
1answer
255 views

Now that I built Unity How do I Install it?

Hello there I built my own custom unity 6.2 and I built it so that it is in my home directory. I like how it looks now and want to replace the unity that I have installed on my system with the one ...
1
vote
1answer
705 views

How do I enable sound with the “linux-virtual” kernel?

I've been trying to enable sound for the linux-virtual kernel as I want to run an ultra slim Ubuntu server under VirtualBox but need audio. The resource usage difference between virtual and generic/...
2
votes
0answers
485 views

Installing binutils-2.22 on Ubuntu 10.04 [closed]

I am trying to install binutils-2.22 on Ubuntu 10.04. I have downloaded the source code of binutils-2.22, configured it with a custom prefix (to not conflict with the system binutils) and built it. ...
2
votes
1answer
2k views

How to install Mono from source?

I am trying to install Mono from source (because in the future I will need to fix a bug in it). PROBLEM: The compiled Mono does not behave properly. Note: http://www.mono-project.com/...
7
votes
5answers
1k 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 ...
9
votes
1answer
7k 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 g++-...
1
vote
4answers
2k views

I am trying to build libmtp 1.1.14 but I cannot fix this error

I have run this in a terminal. git clone git://libmtp.git.sourceforge.net/gitroot/libmtp/libmtp cd libmtp ./autogen.sh (answering yes to all questions) But when I try to run the ./configure --...
0
votes
1answer
841 views

undo export cflags and export cxxflags change

I recently mistakenly executed some commands I'd like to undo. In an attempt to compile flightgear 2.8 for Ubuntu 12.04 I stupidly used the following commands from and OS/X guide: export CFLAGS="-g -...
3
votes
1answer
2k views

How do I install a driver provided as source code?

I have a USB-to-LAN converter, and downloaded the its drivers. The driver folder consists of a Makefile file, a .c file and a .h file. How do I install such a driver?
2
votes
1answer
291 views

Compiling C++ in Ubuntu ( psa - Point Set Analysis)

I'm new in Ubuntu and trying to compile a C++ code on it. The code uses 2 dependencies (Cairographics and FFTW3). I have installed both of them using ./configure, make and make install in directory $...
1
vote
1answer
2k views

Why is compiling drivers for the Ralink RT3070 wireless chipset failing?

I'm attempting to compile drivers for my Telewell TW-WLAN 802.11g/n USB adapter, but I'm getting an error I cannot solve during the make. I'm following these instructions. I can get the adapter to ...
1
vote
1answer
180 views

Help compiling banshee-telepathy-extension

I've made some changes to the banshee-telepathy-extension, but I can't get it to compile on Ubuntu 12.04, even after issuing a banshee checking for BANSHEE_1_THICKCLIENT... no configure: error: ...
0
votes
1answer
1k views

where or how to compile or download libzdb-devel

I'm trying to compile the development library for libzdb, because dbmail requires this dev package to compile. While I've downloaded and compiled the package from libzdb, this is just the regular ...
4
votes
1answer
9k 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 packages:...
1
vote
1answer
1k views

How do I find the build dependencies of aircrack-ng?

I have been trying for a day now to install a package thats given as source code and everything i have tried gives me errors and i would like to know if theres a way to look in the files or something ...
5
votes
1answer
2k 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 ...
1
vote
1answer
1k views

Compilation of erld on ubuntu 12.04

I am compiling erld, a program to run Erlang programs as a UNIX daemon, see https://github.com/ShoreTel-Inc/erld/wiki The make instructions which I followed are here: https://github.com/ShoreTel-...
0
votes
3answers
1k views

Why can't I compile this version of Postfix?

I just installed postfix 2.7.11 in Ubuntu server from source code. I do not use the ubuntu own one because I need the old version. I found a very interesting problem. Before, in both CentOS 5 and 6, ...
3
votes
3answers
9k views

How do I build libcurl from source?

I've been trying to install libcurl from the git source. However when I cd into the repository and run ./configure I keep getting this error: [*****@****** bagder-curl-f0d611d]$ ./configure -bash: ./...
3
votes
2answers
2k 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 ...
3
votes
1answer
769 views

How do I compile sndpeek on the latest ubuntu?

What do I sudo apt-get as prerequisite to be able to make install sndpeek. Also, there are three options, make linux-alsa, make linux-oss, and make linux-jack. Which is appropriate to current out-of-...
1
vote
2answers
1k views

Why does “pkg-config” print only a blank space with the “--cflags” option?

I installed libcurl using :sudo apt-get install libcurl4-openssl-dev. When I try to compile my program I read that we have to pass where libcurl is located to the GCC compiler(although for me its ...
7
votes
1answer
2k 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 ...
14
votes
4answers
47k 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 ...
2
votes
1answer
101 views

Can i reasonably link in C code to an application managed with quickly?

I'm looking around for a way to program some gui apps in ubuntu 12.04. I ran across the quickly tutorial and the tool looks fantastic. It looks like the primary language you develop with is python, ...
4
votes
1answer
3k 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
4answers
1k views

Can't Compile in NTFS Partition

I want to compile a source code in a NTFS partiotion but can not as shown in the following picture: Although i can write files into that partition but Compile NOT! How can i solve it?
3
votes
2answers
5k views

Can not compile any C code under Xubuntu

I am not a seasoned C programmer, but I compile some C code sometimes. The last time I successfully compiled and run some C code I did it on the same system that I have now (the very same OS on the ...
3
votes
1answer
18k views

How can I install boost-devel in Ubuntu 12.04?

I want to compile flvtool++, but it requires boost-devel libraries. I tried to install it via this command: sudo apt-get install boost-devel But I got the error: E: Unable to locate package boost-...
32
votes
2answers
33k 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 ...
3
votes
4answers
953 views

Eclipse on Ubuntu 10 java-6-openjdk has missing jar's

Out of the blue, my eclipse is reporting missing jars in my Java Build Path. netx.jar gnome-java-bridge.jar plugin.jar I wonder what I did wrong ? Was it a upgrade that messed it up ? I am unable ...
0
votes
3answers
6k views

Underfined reference clock_gettime not solved by -lrt

I'm trying to compile the program the source for which is here. As per his instructions I'm compiling using the command g++ -O3 -lrt netmon.cpp -o netmon. I get this output: netmon.cpp:(.text....
0
votes
1answer
1k views

automake “permissions denied”

i want to compile changes i made to a project created with automake. I changed my Makefile.am files accordingly and ran ./autogen.sh ./configure make make finally gives me the error: ... make[2]: ...
29
votes
4answers
15k 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 ...
1
vote
4answers
10k views

Makeinfo package not found in 12.04 [closed]

Please can anybody give me an answer for this? I have already tried: sudo apt-get install makeinfo textinfo texi2html But, I still get the error: Unable to find the pacakge.
2
votes
0answers
52 views

All special dependencies are lost when I do “quickly share” or “quickly package” [duplicate]

Possible Duplicate: Why does 'quickly package' fail with “An error has occurred when creating debian packaging”? I am developing an app using Quickly and it has a few ...
1
vote
2answers
3k views

How to overcome “Permission denied” running C program even after “chmod +x”?

After compiling a C program on Ubuntu 10.10, after executing chmod +x ./a.out, I am still getting bash: ./a.out: Permission denied. How can I run my new executable?
0
votes
2answers
2k views

g++ cannot find include files (qt3)

allan@allan-VirtualBox:~/blackjack_for_the_hopelessly_luckless$ make g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/...
0
votes
1answer
2k views

How do I build Allegro?

I'm trying to build allegro on 12.04 but it continues to give me error, I've downloaded the tar.gz folder of version 5.0.7 and installed cmake, what else do I need? And how do I proceed?