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

learn more… | top users | synonyms (2)

4
votes
2answers
10k 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++: ...
0
votes
1answer
1k views

getting build dependencies and source by default

Is there an application by which the build dependency as well as the source code of the software gets downloaded automatically as soon as we install the software from a .deb package or the software ...
1
vote
2answers
2k views

Trouble on installing, getopt file missing

total noob here, but my work requires me working on ubuntu. I'm trying to install a program, but this is what's popping up. $sudo perl Makefile.PL Warning: prerequisite Getopt::ArgvFile 1.11 not ...
1
vote
1answer
2k views

Glib.h error while trying to compile an application

I've been trying to compile this app from source https://code.launchpad.net/gala and i keep getting this message when i run MAKE: Scanning dependencies of target gala [ 11%] Building C object ...
1
vote
0answers
4k views

How can I run a program installed from a tar.gz file? [duplicate]

I've recently installed ubuntu 12.10 and noticed that whenever I install any type of tar.gz software in the terminal, it says installation finished but I don't find the software. example: Checking ...
2
votes
0answers
7k views

How to fix 'error: GLib >= 2.28 is required' when compiling linux-nfc on Ubuntu 10.04?

I try to compiled linux-nfc code, and running its configure file, but I get an error: configure: error: GLib >= 2.28 is required I try to update the glib with apt-get install libglib2.0-0 ...
1
vote
2answers
2k views

Where can I find the 'build' command needed to build the environment for EDK 2?

I followed the step-by-step article here: UEFI/EFK2 . Everything works nice until I need to actually build it. At the paragraph 'Building MdeModulePkg module package' the description says: Just type ...
0
votes
1answer
27 views

What packages do I need to install in order to bulld postgres from source?

I need to be able to build postgres-8.4.2 from source. What dependencies should I install?
1
vote
1answer
445 views

Differences in compiling between gcc 4.4 and gcc 4.6?

I just moved from RH (CentOS 6) with gcc 4.4.6 to Ubuntu 12 with gcc 4.6.3. I have a program that references a third party library. I have successfully build and installed the library on the Ubuntu ...
1
vote
1answer
152 views

How to write debian/changelog to allow build package other people

I've created simple debian package which I am building using bzr bd. the problem is my colleague is unable to build this package using this method, without changing changelog's email to her own, so ...
2
votes
1answer
733 views

How do I build Eidete from source?

I have recently become interested in Eidete Screencaster, and I am trying to compile it from source on Ubuntu 12.04.1 LTS. After running bzr branch lp:eidete, I navigated into the ~/eidete directory ...
-1
votes
2answers
1k views

To write a batch processing script which runs on bash

How to convert your java program so that it runs as a batch program i.e it can be run like a command in the ubuntu or any linux machine. What is the procedure and what are the steps to follow? ...
3
votes
1answer
2k views

How to install NetworkManager-0.9.0.tar.bz2 package on 10.10? [closed]

bapi@ubuntu:~$ cd Downloads bapi@ubuntu:~/Downloads$ cd NetworkManager-0.9.0 bapi@ubuntu:~/Downloads/NetworkManager-0.9.0$ make make: *** No targets specified and no makefile found. Stop. ...
3
votes
2answers
6k views

Strange problem with libc: undefined reference to `crypt'

I moved from Archlinux to Kubuntu 12.04 yesterday. I compiled buildroot 2012.08 on Archlinux without any problem. Though on Kubuntu libcrypt seems to be broken. sysvinit can't find it anywhere. ...
8
votes
2answers
11k 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 ...
0
votes
2answers
2k views

compiling problems

I have got below error message when I tried running a program. undefined reference to `fftw_malloc' f11.c:(.text+0x24d): undefined reference to `fftw_malloc' f11.c:(.text+0x260): undefined reference ...
0
votes
0answers
130 views

Program exits when building in mingw studio in ubuntu

Is anyone here who uses mingw developer studio in ubuntu? I found this arhive: http://www.iit.upcomillas.es/libroc/mingw-devstudio_linux-2.06.tar.gz I launch the program and everything works well ...
3
votes
1answer
2k views

how do I compile just wireless drivers in kernel?

I have patched a file for my wifi driver in net/wireless/drivers/zd1211rw/, and I couldn't get it to compile just that driver. so I backed up into the main directory of my linux kernel source, and ...
2
votes
1answer
64 views

How to use 'screen' to compile a project and give a notification when compilation is done?

I am using "Screen" on Ubuntu. How can I use 'screen' to compile my project and give me a notification when compile is done whether the build is successful or not?
7
votes
1answer
679 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 ...
2
votes
2answers
2k views

LLVM-3.1 libLLVMSupport.a undefined reference to `dladdr'

I'm trying to compile using the llvm-3.1 package. I'm running 12.04 x64 (3.2.0-26 kernel) && 12.10 (3.5.0-4) x64 backported llvm-3.1 from quantal, then debian experimental. Next I tried 12.10 ...
3
votes
1answer
105 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
166 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: ...
5
votes
2answers
444 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
1k 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
2k 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 ...
-2
votes
1answer
489 views

Will someone compile and setup a ppa for Diaspora Shattered Armistice? [closed]

Not a but, just a suggestion. There's been a lot of talking about gaming in Linux the last weeks. A couple days ago this game was released for windows, mac and Linux. The Linux version have to be ...
1
vote
0answers
802 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
2k 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 ...
2
votes
4answers
16k 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 ...
2
votes
2answers
11k 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 ...
11
votes
3answers
12k 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
239 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
594 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 ...
2
votes
0answers
447 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: ...
7
votes
5answers
958 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 ...
8
votes
1answer
6k 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 ...
1
vote
4answers
1k 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
695 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
1k 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
269 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
151 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
7k 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
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
979 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: ...