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

learn more… | top users | synonyms (2)

9
votes
2answers
1k 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, I'...
22
votes
7answers
18k 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?
5
votes
3answers
27k views

How to fix compilation errors that mention “stray ‘\342’” and “stray ‘\200’”?

I wrote this program: #include<stdio.h> int main() { printf(“Hello World\n”); return 0; } I saved it as first.c and tried to compile but receiving this problem I have installed even gcc ...
5
votes
3answers
6k views

Which version of Python do I have installed?

I'm trying to write a simple Python script using Geany. This IDE will automatically compile the code I write but I'm not sure which version of Python it is using. If I enter python --version in the ...
0
votes
0answers
30 views

How To Install Powertop 2.3 & Permanently Save Changed Of Powertop Suggestions In Ubuntu? [duplicate]

I have Google every ppa and checked that they all have the powertop 2.1, So how can i install powertop 2.3 just recently released. How do make permanently save changes of powertop, i know i can put ...
8
votes
1answer
632 views

When compiling the Linux Kernel, what is the purpose of `make randconfig`?

In what scenario would one want to use this tool? It would seem to make less work, but the upshot is, of course, that you don't know what configuration options will be used for your kernel, which ...
3
votes
4answers
6k views

Broken python (2.7) after manually building and installing python 2.6

running Ubuntu 12.04, I had the usual python 2.7 in place . I needed python 2.6 , so I downloaded the source and did ./configure make sudo make install A mistake, as I did not want to replace my ...
2
votes
2answers
8k views

Solve error file compiling PHP configure: error: libXpm.(a|so) not found

I got an error while compiling PHP, I am listing the details below. Error configure error libxpm.(a so) not found I have checked with dpkg -L libxpm-dev. it is showing the needed file is in the ...
0
votes
1answer
1k views

Trying to compile Magic Set Editor

When I try to compile magicseteditor I get these errors: g++ -DHAVE_CONFIG_H -I. -I./src -I/usr/lib/i386-linux-gnu/wx/include/base-unicode-debug-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -...
1
vote
0answers
367 views

Installing gphoto2 to use the python binding not working

I want to use the Python bindings that are available for gphoto2 and this requires a build from their tarballs. My first step is simply to build gphoto2 such that it recognizes my camera and thus far ...
1
vote
0answers
14 views

curl/types.h file or directory not found [duplicate]

I have a cpp code to compile but while compiling it is showing the error of curl/types.h file or directory not found, compilation error, fatal error. I am using ubuntu 12.10. please help me to fix ...
2
votes
2answers
764 views

top source code compilation error

I have downloaded the top source code from the following location. http://sourceforge.net/projects/unixtop/?source=dlp After extracting the code, i run the following command: ./configure make cc -...
2
votes
0answers
49 views

Where can I download mingw32 version 4.72 for ubuntu?

I am cross compiling some software for linux that needs the 4.72 version of the mingw32 compiler to work. However, the version in the repos is only 4.4, where can I find 4.72?
3
votes
1answer
2k views

Update to PHP 5.4.7 [duplicate]

I am currently running PHP 5.4.6-1ubuntu1.1 (cli) (built: Nov 15 2012 01:18:34) on xubuntu . I would like to update to latest version or >= 5.4.7. Is there another way to do instead of making it from ...
1
vote
0answers
283 views

I have a problem installing activestate python instead of the default. How can I fix it? Syntax error: “)” unexpected

I am getting this error when trying to run the ./install.sh for ActivePython. How can I correct this? cd /tmp wget http://downloads.activestate.com/ActivePython/releases/2.7.2.5/ActivePython-2.7.2.5-...
0
votes
1answer
1k views

/bin/bash: --pkg: command not found

I am attempting to build a package using jhbuild but am running into an error during the build phase. The output for this phase is: *** Building egg-list-box *** [1/1] make -j 8 make all-am make[1]: ...
1
vote
2answers
5k views

Installing tar.gz when there is no configure file

I've downloaded a tar.gz for the game Solar 2, and extracted it. Frustratingly, there is no configure file for it, nor is there an INSTALL or a README file. If I skip straight to the "make" command, ...
2
votes
3answers
328 views

Why do people say 'make install' is bad?

I keep seeing people saying make; make install is bad. I can't seem to find anyone with a reasonable explanation. So, why is it bad? Or why do people tend to say "It's bad, use clear install instead" ...
1
vote
3answers
2k views

Error while installing tiff-4.0.3

I get the following errors while installing tiff-4.0.3: pranav@pranav-Inspiron-1545:~$ cd dependency/ pranav@pranav-Inspiron-1545:~/dependency$ tar -xvf libtiff4-3.6.0-5.tar.bz2 usr/bin/cygtiff4.dll ...
0
votes
1answer
484 views

Scanalyze install

I am trying to install Scanalyze. I downloaded the source code, and in the compilation instructions for Ubuntu, he has mentioned that for later versions of gcc (mine is 4+), there is a separate ...
2
votes
1answer
2k 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
2answers
865 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
55 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
2answers
388 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
4k 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
2k 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 ...
1
vote
1answer
9k 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
60 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 ...
3
votes
1answer
8k 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 3rdparty/zlib/...
0
votes
1answer
159 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
920 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 ...
5
votes
3answers
9k 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 ...
0
votes
2answers
1k 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 ...
6
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
349 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
716 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 2.0.5-0-...
6
votes
3answers
18k 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 ...
21
votes
1answer
53k 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
614 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
365 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
1k 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
2k 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
139 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 ...
9
votes
3answers
10k 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 ...
2
votes
1answer
406 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
742 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
120 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. ...
13
votes
4answers
9k 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 ...
1
vote
1answer
348 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 https://oggvideotools.svn.sourceforge.net/svnroot/...