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

learn more… | top users | synonyms (2)

0
votes
2answers
31 views

grep to get compile error

I have created a simple c program and have left off a ';' on purpose to get an error. I want using the grep command to know whether the compilation was successful or not. I use: gcc test.c | grep ...
0
votes
0answers
9 views

arm-none-eabi-gcc not found error

I've installed (ubuntu 10.04) arm-none-eabi-gcc (with libc-avr, avr-gcc and so on), using command apt-get install, but when I try to compile something I get the following error: --- Making ...
-1
votes
0answers
7 views

Converting ifort maakefile to gfortran makefile

I am trying to compile a program which was written for the ifort compiler but i have a gfortran/gcc compiler. Part of the makefile reads FC = ifort FLAGS= -c -w -r8 -O3 On replacing ifort ...
0
votes
0answers
8 views

Building and hosting Ubuntu packages using C++11

The full question would be: Is Ubuntu ready to host C++ applications packages, compiled with C++11, and which use a large set of dependencies? Let's say that we have an official Ubuntu package (C++ ...
0
votes
0answers
8 views

Cannot compile MEEP 1.2.1 and libctl-3.2.2 from source on Ubuntu 14.04.1 Lts 64-bit

In order to install MEEP 1.2.1 I first installed Guile 2.0 packages via the command line with the following commands: sudo apt-get install guile-2.0 guile-2.0-dev guile-2.0-doc guile-2.0-libs Then ...
3
votes
2answers
161 views

How do I prevent apt-get from upgrading packages built from source with apt pinning? [duplicate]

I have a package installed (xcp-xapi) which is prone to a bug. The fix is very simple (only a couple of lines in the code) so what I do is the following: apt-get source xcp-xapi Then I find the ...
0
votes
0answers
9 views

No Wireless drive detection in new built kernel for reverse bisecting

I need to do a reverse bisect for a bug and I narrowed the versions down to two. Now, I need to build a 8 new kernels. However, when I built them, the kernel cannot detect my wifi drive so that I can ...
0
votes
2answers
778 views

How to build the Darling project on Ubuntu?

The Darling project is an open source Darwin/OS X emulation layer for Linux. I downloaded the source code with git and tried to build it with cmake but it failed. The document says I need these ...
1
vote
2answers
1k views

Cannot find -lgfortran

I'm trying to install a package in R (package "ks"). It fails with error message: /usr/bin/ld: cannot find -lgfortran I've already installed the Ubuntu package build-essential: sudo apt-get ...
4
votes
1answer
986 views

Maya Calendar from Elementary OS on Ubuntu

The Maya Calendar from Elementary OS seems really nice: Has anyone been able to run it on Ubuntu ? Is it available on some repository ? After installing the dependencies, I only get a ton of error ...
0
votes
0answers
9 views

Missing Shared Library - Common Problem

I am trying to execute an example Hello World program from http://www.vlfeat.org/gcc.html. I am able to successfully compile the program but when I am running the program I am getting the following ...
0
votes
2answers
9k views

Can't run make - gcc: command not found

I'm trying to follow a tutorial to get CudaMiner working on Linux. I have PAINSTAKINGLY installed NVidia drivers, Cuda 5.0 and incidentally I'm failing on the last step when I run make: make ...
0
votes
2answers
4k views

Help locating linux/version.h

I'm trying to fix an old program, Previous issues I had could be found at Missing modversions.h When I make the program it gives me the following error, kaodv-mod.c:22:27: fatal error: ...
-1
votes
0answers
11 views

“[-Wunused-result]” when compiling minksy [closed]

I'm trying to build this package http://sourceforge.net/projects/minsky/, but when running 'make' i get following error: In file included from /usr/local/ecolab/include/xml_unpack_base.h:26:0, ...
4
votes
3answers
1k views

Compiling midnight commander

I need help with compiling midnight commander so that I can make some changes (for educational purposes). Or even creating the make files. After downloading latest version from git. I try to perform ...
0
votes
1answer
44 views

“No such file or directory” when trying to build ecolab

Im trying to build ecolab.5.D19 but I get error message "No such file or directory" even if the directories and files exists, and im in the same folder as MAKEFILE. I use the following command, which ...
1
vote
0answers
28 views

Errors when trying to compile Android

Here's my error, any help would be greatly appreciated: libcore/luni/src/main/native/Register.cpp:36: error: undefined reference to 'register_android_system_OsConstants(_JNIEnv*)' clang: error: ...
-1
votes
1answer
55 views

Can't configure gr-ais

http://www.reddit.com/r/RTLSDR/comments/1mcikt/for_the_nautical_set_rtlsdr_with_grais_and_opencpn/ following the above, I get this error scott@scott-P5QC:~/gr-ais/build$ cmake ../ -- Build type not ...
0
votes
1answer
16 views

error when compiling lgogdownloader

My system is Ubuntu 12.04 ,I compiled and installed gcc 4.8.2 myself . The homepage of lgogdownloader is :https://sites.google.com/site/gogdownloader/ When I tried to follow the official instructions ...
0
votes
4answers
150 views

I cant install Sleepyhead under Ubuntu

I am trying to install Sleepyhead following the tutorial http://ubuntuforums.org/showthread.php?p=11756055#post11756055 but I cant compile the src code` horacio@horacio-ThinkPad-X201:~/sleepyhead$ ...
0
votes
3answers
3k views

Post installing comodo issues

I have installed comodo antivirus for my Ubuntu 12.04, even if I'm a newbie I managed to enter finalize the installation, you know when you have to type sudo /opt/COMODO/post_setup.sh, went through ...
1
vote
1answer
12 views

Custom compile sqlite as php so

In Compile sqlite with soundex feature I learned how to do a custom compile of sqlite. While this was a step towards my goal of using sqlite's soundex in a functional test, I find I'm not there yet. ...
4
votes
3answers
5k 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 ...
0
votes
0answers
10 views

Passing arguments while running a build

I have a folder with source code files in it. (.hh and .cc files). I modified one of the .hh file as below, if(a>='number1' and a<='number2') { ..... } So every time I change the number1 and ...
1
vote
2answers
3k views

Compile .less files into .css after every update

I have installed node, and npm. With npm I downloaded less. And when I do lessc styles.less styles.css -x -w in terminal, it compiles and compresses the code, but doesnt watch the file for ...
1
vote
1answer
22 views

How to parallelize dpkg for large dkms packages?

A lot of dkms modules which are installed as apt packages (e.g. zfs-dkms and openafs-modules-dkms) need a lot of time to build (> 5 minutes) and don't use any parallelization (at least not ...
-1
votes
2answers
46 views

i can't Compiling Blender on ubuntu 14.04?

I am just using ubuntu 14.04, and i want to compile blender with Cmake, Here is the Website:http://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Linux/Ubuntu/CMake When i already in the Cmake ...
0
votes
1answer
59 views

How I should build the official Linux driver for Wireless PCI card D-Link DWA-525 v.A2 in Ubuntu 14.04?

I have a new PCI wifi card, D-Link DW-525. By now i'm having no problem, since it has running a free driver. Using the command sudo lspci -v it returns this: 01:05.0 Network controller: Ralink ...
8
votes
2answers
80 views

Is there any open-source way to make a static from a dynamic executable with no source code availability?

Let me explain the problem with an example. I use some old program in my day to day work, like for example xfig and pdfedit. Now, these programs are quite old and not updated too often; my fear is ...
2
votes
2answers
749 views

How to compile deskew plugin for Gimp?

I'm interesting in using this Deskew plugin which appears somewhat old, with broken links in the gimp registry. https://github.com/prokoudine/gimp-deskew-plugin How do I go about installing it on ...
0
votes
3answers
1k 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 ...
2
votes
3answers
206 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" ...
0
votes
2answers
119 views

Update QJSON on Ubuntu 12.04?

I currently have libqjson-dev 0.7.1-6 installed on 12.04 via package manager. I need 0.8.0 in order to run an app I like. I have little experience compiling from source, less with cmake. I assume ...
0
votes
1answer
33 views

`build-dep` download location?

I downloaded build dependency of nautilus with sudo apt-get build-dep nautilus now; where can I find its .h and .cpp files?
0
votes
1answer
26 views

gfortran compiling GILDAS fails with undefined references to libgio

I'm trying to compile the software package GILDAS (http://www.iram.fr/IRAMFR/GILDAS/) from source on 14.04, and am getting stuck on the make checks, with an error which seems to be an issue either ...
1
vote
1answer
48 views

Updating linux kernel

Is it possible to update the Linux kernel without installing a new version of the Linux distro? If I want to download the kernel from the Linux website and manually install by compiling it, how can it ...
13
votes
5answers
56k 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 ...
0
votes
0answers
69 views

Ubuntu iso build debootstrap error chroot/test-dev-null: Permission denied

I am trying to build an ubuntu trusty tahr iso image from the sources. But a get all the time this error message and I don't now how I can solve it. I execute the build script as root. I: Validating ...
0
votes
0answers
17 views

error: BITS_PER_LONG undeclared (first use in this function)

We are trying to compile our source code (.c files) on Ubuntu 14.04 64-bit OS. This worked properly on Redhat Linux 32-bit version. On this Ubuntu server also compilation was successful after making ...
0
votes
0answers
28 views

Want to build my own Ubuntu from source code [duplicate]

I have two requirements I want whole Ubuntu 12.04 Source code. I want to compile it. Can you please tell me about from where I can get the source code and what tool I will need to compile it? ...
1
vote
2answers
3k views

My computer doesn't recognize the following library: linux/config.h when compiling

I have code written in C and I have included some libraries such as linux/config.h and linux/kernel.h. Whenever I compile the file, it gives me an error saying No such file or directory ? Is there ...
0
votes
1answer
25 views

Replace prebuilt package with self-compiled version

I need to update my Point Cloud Library (PCL) that I installed via official instructions with my own version that I just compiled according to this manual. The reason is I need to fix a bug in PCL ...
0
votes
0answers
16 views

Failed to compile qBittorrent on Ubuntu 12.04

I'm trying to install qBittorrent following this tutorial https://github.com/qbittorrent/qBittorrent/wiki/Compiling-qBittorrent-on-Debian-and-Ubuntu However whenever I run the commands cd ...
0
votes
0answers
21 views

Compile lightest kernel for ubuntu 14.04 [duplicate]

I want to compile my own kernel for Ubuntu 14.04 64bits and do it the lightest as possible following this criteria: Lightest Kernel only with Visual Interface, no need lan, wlan, sound, etc... With ...
-1
votes
0answers
39 views

smbd starts during Samba installtion, makes installation fail. Safe to delete some stuff?

My Setup: Ubuntu 14.04 Trusty Server 64 Bit with all updates What i have done so far: Installed Samba via tasksel Removed it via tasksel because i got an error about a missing python library when ...
3
votes
2answers
75 views

Is there a plugin for the terminal which allow to detect and open files?

I'm looking for a terminal plugin/extension that would allow me to detect files path in terminal output and open them in a text editor by clicking on them. The perfect solution would open the file at ...
2
votes
2answers
1k views

How do I set up ccache?

I want to use ccache to speed up compilation. I came across how do I enable ccache This is what I have done so far: $ sudo apt-get install -y ccache Then $ dpkg -l ccache ii ccache 3.1.6-1 ...
0
votes
0answers
24 views

Installing input-wacom drivers gives error at ./compile on my Gateway M275E penabled laptop

sam@sam-M275:~/input-wacom-0.23.0$ ./configure && make && make install checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is ...
1
vote
2answers
7k views

“fatal error: gtk/gtk.h: No such file or directory” using make

I am trying to use make command to build. I am following this. I am compiling a code using GTK+2 and C language hp@ubuntu:~/amhello$ make make all-recursive make[1]: Entering directory ...
23
votes
4answers
9k 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, ...