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

learn more… | top users | synonyms (2)

2
votes
1answer
1k views

Compiling Meshlab

I am trying to install Meshlab as per the documentation. I installed all the dependencies and followed the steps. But am having trouble with certain steps here. In order to successfully compile a ...
2
votes
1answer
384 views

Compiling php 5.2 from source under 12.04, apxs2 (via libtools) ignores the -prefix used with ./configure

In the source directory: ./configure --prefix=/home/ashkan/Development/php/bin/php-5.2 --with-mysql --with-apxs2=/usr/bin/apxs2 make works fine but make install says: Installing PHP SAPI module: ...
0
votes
1answer
48 views

Source package: precise build dependencies policy for Software Centre

I was seeking for a detailed specification of what's allowed as build dependencies for sources packages to be published in the Software Centre. I found Ubuntu Policy Manual — Chapter 4 - Source ...
2
votes
1answer
254 views

dcraw issue with fuji x raf

I have ubuntu 12.04 lts 64bits. I can not decode raw raf fuji X file with the dcraw utility (report error : Corrupt data near 0xdc800) as availaible in the "logithèque" dcraw 8.99-1build1 This is ...
1
vote
1answer
2k views

How to compile a c++11 program using future in Ubuntu 12.04?

I'm trying to compile a c++ program in Ubuntu 12.04. I'm using g++ 4.7 (installed from a ppa). I'm using std::future, but I have an error. The code: $ cat main.cpp #include <iostream> ...
5
votes
1answer
1k views

Patch, compile and run Wine without installing

I'm not familiar with compiling software from source. I would like to test a patched version of Wine following this procedure. I already have Wine installed and do not wish to modify it. I just want ...
0
votes
1answer
5k views

How to install arduino-1.0.3-linux32.tgz?

Can't ./configure after I tar'ed Linux version from here: http://arduino.cc/en/Main/Software
0
votes
1answer
48 views

Manually Adding Installed Package

i built some packages myself using make & make install instead of apt-get because some packages in ubuntu repositories are not the latest version, sometimes not new enough to build some package ...
2
votes
1answer
3k views

'libavformat/avformat.h: No such file or directory' while compiling OpenCV for Arm A8

I am using Ubuntu 12.04. I get errors while cross-compiling OpenCV for Arm A8. Can someone help to resolve? $ make Scanning dependencies of target zlib [ 0%] Building C object ...
0
votes
1answer
117 views

Installing Trimaran

I'm having the same issue as posted here, but in my case, using Ubuntu 12.04 LTS Live USB, inside ~/trimaran/openimpact folder, try to execute ./install_openimpact Shell replies me at the end: ...
3
votes
2answers
658 views

Installing Piklab

I have tried to install Piklab into my Ubuntu 12.04 LTS 32-bit, and I tried to use this and this method. None of them really worked. During cmake ., my shell displays me lots of messages, but I think ...
4
votes
3answers
7k 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 ...
1
vote
0answers
113 views

Which settings for re-compiling libav-tools?

Which settings is Ubuntu's package libav-tools compiled with? I want to re-compile libav-tools (even better: the whole libav) without adding or removing its features.
1
vote
0answers
42 views

How do you rebuild and apply a portion of the kernel?

I was following the steps here to build my own kernel, which worked great, then I wanted to make a small tweak to the setup file (/arch/x86/kernel/setup.c) and rebuild it to see my message printed in ...
0
votes
2answers
779 views

How to install a program from a .tar.gz [duplicate]

I already extracted the file and when I drag the file to the terminal this is the directory I get " '/home/ali/Downloads/Stencyl-2.1.0 ". Now can someone give me exact instructions for this ...
4
votes
3answers
1k views

How do I compile/run C++ code in the console?

I'm trying to run my C++ code using the console. I used the header file conio.h like I did when I used Turbo C++ IDE in Windows, and I ran the code in console using g++ filename.cpp I have ...
1
vote
1answer
230 views

How to Compile and install Virtual usb?

after days of searching I found this link and seems it has what I've been looking for ! I couldn't install it , I'm so new linux user can u give me a hand in this :( please readme file says : ...
1
vote
0answers
350 views

vlc no gui from build

When I start VLC(installed version), I get output like the following in a Terminal window and then a new VLC player in graphical window: $ vlc VLC media player 2.0.5 Twoflower (revision ...
4
votes
3answers
8k views

Cross-compilation issues with GCC/G++

I am using gcc to compile a C++ application on my CI server (http://ci.berboe.co.uk) and as the vps that it is compiled on has the x86-64 architecture I need to cross-compile to get the compiled ...
11
votes
1answer
14k 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
1answer
267 views

linking cpp object file to c object file and create executable

Suppose i have a c++ file, created an object file and c file created another object file. Now i need to link both into one executable. While i'm trying it is giving errors about c++ not found. Can ...
4
votes
1answer
276 views

How do I obtain the offical Ubuntu patched kernel source without using git?

I'm needing to custom compile a kernel to enable some very specific hardware features that are not on by default and have to be compiled in. I started following this guide but it seems to be slightly ...
-1
votes
1answer
893 views

How to Install touchegg on Ubuntu 12.10?

I am running Ubuntu 12.10 and I am trying to install touchegg so I can have multi-touch on my mousepad. I was following the guide here but I am not able to compile the source for some reason. Can ...
3
votes
0answers
1k views

Compiling RTL8192CU Driver for Edimax EW-7811UN for Ubuntu 13.04 (Raring Ringtail) [closed]

Yesterday, I upgraded to Ubuntu Raring 13.04 and can no longer compile the latest RTL8192CU driver from the Realtek website (3.4.4_4749-2012/11/12). Raring Ringtail runs under kernel 3.8.0-1-generic ...
1
vote
2answers
951 views

Why I get “No Vala Compiler Found” while compiling?

I tried to install Unity Greeter (unity-greeter_0.2.8.orig.tar.gz) to my Ubuntu 12.04 system from source. But after enter ./configure in terminal, following error appeared:
2
votes
2answers
125 views

Can I compile a windows only software for ubuntu

I understand that some of you might think that I have some brain problems if I am asking a question like this, but I could not find an answer by googling so I want to ask you this question pleas do ...
2
votes
2answers
817 views

How to use 'apt' to get source code and then do separate compile

I want to get the source code for a project and then build it the same way that apt would. E.g. I want the working source code and be able to run 'make' or similar command on the source. How can I ...
1
vote
0answers
212 views

How can I direct make-kpkg to output .deb files to a different location?

I am compiling a new kernel on my Ubuntu 12.04.1 using make-kpkg. In order to do so, I'm doing the same process as suggested in izx's answer. However, I want to direct the generated .deb files to my ...
2
votes
1answer
253 views

Why does compiling C code on Xubuntu fail?

I recently did a fresh OS reinstall - switched from openSUSE to Xubuntu. I had backed up all my scientific data post-processing scripts (written in C or in FORTRAN). Code I had recently used and ...
4
votes
1answer
247 views

What is the “right” way to debianize software that uses the scons build-system?

What specific tools are available, if any, or should we just use a fake Makefile that runs scons?
0
votes
1answer
75 views

Jenkins polling for Ubuntu Kernel upgrades?

Say I wanted to distribute a binary kernel module for a custom in-house piece of hardware to users inside my company. The ideal situation is that it requires no compilation on the part of the user. ...
8
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 ...
0
votes
1answer
180 views

Compiling oggvideotools 0.9 on Ubuntu 12.04

I'm trying to compile oggvideotools 0.9 on Ubuntu 12.04 server (0.8 is in the ubuntu repos, but I want the current 0.9 trunk version) svn co ...
1
vote
1answer
134 views

How to config and compile kernel

I know I can download new and stable kernels from kernel.org but I don't know how to config , compile and install it. of course there is a document file in kernel folder. But that text is very complex ...
2
votes
1answer
476 views

How to see the intermediate code on compilation of a C program?

I want to see the intermediate code generated during the compilation of a C program. Using the -S flag, the object code is generated but is there anything to see the .i files, called as intermediate ...
0
votes
1answer
2k views

OpenCV program won't compile (Quantal)

I am trying to compile a simple program using OpenCV in Ubuntu Quantal. I have installed all the OpenCV packages available. My code is the following #include <stdio.h> #include ...
10
votes
1answer
10k 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 ...
1
vote
1answer
1k views

Linking error when trying to compile on a shared drive

I am trying to compile OpenCV library on a shared drive on my system. I was able to configure and generate makefiles successfully by using these settings, but when i try to compile I get the following ...
1
vote
0answers
231 views

What glib do I need?

I am running Ubuntu 12.04 and I am trying to compile the cpabe toolkit, but first I have to compile libbswabe. However, when I try to build libbswabe-0.9 it gives me an error stating that glib.h ...
1
vote
1answer
289 views

When will the sdl 1.3 libraries be available (implementing force feedback), or how do I compile them?

I want to use sdl force feedback for my joystick and use it on dolphin-emu. I need the 1.3 sdl libraries and only 1.2 are available. I tried to build them, but with no luck. Can anyone help?
1
vote
1answer
898 views

./configure error when compiling xgrafix on ubuntu 12.04

I have ubuntu 32 bit on i7 processor. I tried to compile and install this package called xgrafix, i have installed dependencies, but now it has error as following. ...
2
votes
1answer
622 views

Error during “Make Install” while installing Player

I want to install Player on Ubuntu Platform. 1) I give "configure" . This is done successfully. 2) After giving "sudo make install" , I get the following error: Making install in replace make[1]: ...
0
votes
1answer
178 views

Force ./configure NOT to look in /usr/lib /usr/bin /usr/include

I want to compile FFmpeg but as you know its compile will (by default) look in the system's 'lib include bin' directories before following my orders set via --extra-cflags or --extra-ldflags Now the ...
0
votes
0answers
39 views

How do I compile kernel modules? [duplicate]

Possible Duplicate: How do I install development tools for 12.10? I need to compile kernel modules under Ubuntu version 12.10 What is the build command please? (I am new to Linux and ...
0
votes
1answer
764 views

Error installing ath9k Wireless Driver for Ubuntu 12.10

I'm following the instructions of this external link. When I enter sudo make install }}} I get the following error: make -C /lib/modules/3.5.0-17-generic/build ...
6
votes
1answer
293 views

Free Software for Billing (Colombia)

English I'm looking for a billing application (also inventories, shopping, clients, providers, accounts, etc) for small businesses. The software should adapt with Colombia's necessities. I searched ...
3
votes
1answer
4k views

Fglrx AMD Catalyst 12.6 doesn't compile in Ubuntu 12.10 (64 bit or 32 bit)

Ubuntu won't compile the AMD Catalyst driver package 12.6 from the AMD website. After package creation and during installation I see in /var/lib/dkms/fglrx/8.970/build/make.log there is an error ...
2
votes
0answers
283 views

I have two versions of glib on my system, and I don't know how to remove the old one

While trying to compile a program (pygobject), running ./configure I am told that I don't have glib. So, I download the tarball and compile and install, no problems. now when I try to ./configure ...
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 ...
0
votes
1answer
426 views

Why won't xattr PECL extension build on 12.10?

I was using the xattr pecl extension in 12.04 (in fact, I think since 10.04) without problem. Not surprisingly, I had to reinstall it after upgrading to 12.10 because of the new version of PHP. But ...