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

learn more… | top users | synonyms (2)

0
votes
2answers
566 views

failure linking 32bit app using libexpat on Ubuntu 14.04 64bit

I'm trying to build the i386 version of the fontconfig packages, and the configure script fails to find the expat library, which is installed for both architectures. The failing test app build ...
0
votes
1answer
161 views

How to get appropriate lib package name for a specific header file [duplicate]

It's common problem that we get some error like "abc.h no such file" when compile source. Only way to find the solution(as i know) is search in internet. What i need to do, compile the source, it will ...
0
votes
1answer
33 views

Junk File after compiling

Every time I compile software I get a lot of useless files and folders after compiling (junk files ) However I do not know what files to delete because I am afraid it might damage the software. For ...
0
votes
0answers
80 views

Trouble compiling winelib app on x64-64 on trusty

wineg++ -m32 rdwrops.cpp -O2 -ffast-math -fvisibility=hidden -fPIC -mtune=generic -msse -Wall -Ivestige -I/usr/include/alsa -c -o rdwrops.wine.o In file included from rdwrops.cpp:17:0: ...
0
votes
1answer
811 views

I'm trying to create a makefile when I get the following errors

I'm am trying to compile USB drivers. Here is the result of my make file attempt: user@ubuntu1310:~/Downloads/Linux_Driver$ sudo make -o cp210x make -C /lib/modules/3.11.0-12-generic/build M= modules ...
0
votes
1answer
522 views

Compiling C code for ARM processor on Ubuntu 12.04

I am compiling my simple "Hello world" C code using the following command: arm-linux-gnueabi-gcc-4.4 test.cpp -o test It generates an error: arm-linux-gnueabi-gcc-4.4: error trying to exec ...
0
votes
0answers
38 views

Building BURG images for EFI64

I'm trying to build BURG for EFI64, as no PPA contains BURG for EFI systems. I managed to build it in a local directory inside of my home, but now I don't know what to do. How do I generate all the ...
0
votes
0answers
34 views

jobs option in qmake

I was just compiling in qmake when i recalled that make has make -j which allows you to compile on a certain number of cores. I tried qmake -j but that failed. I looked for the term "jobs" in the ...
0
votes
0answers
21 views

dinotrace viewer installation [duplicate]

I have install dinotrace on Ubuntu 12.10. instructions on this link: http://www.veripool.org/projects/dinotrace/wiki/Installing Getting the following error in make cmd: ...
0
votes
1answer
910 views

How to install an 'ansi c' compiler ? ? ? ( how can I extend GCC G++ with ANSI C )?

To explain the problem (try two): I can't install the lua compiler (lua dot org) with the newest version of Ubuntu, quote out of the manual to install lua: Installing Lua Lua is distributed in ...
0
votes
0answers
120 views

Using pkg-config to build OpenVPN

I want to build OpenVPN 2.3.4 on Ubuntu 14.04. Therefore I downloaded and built the required libraries (lzo, openssl). I installed them in /opt. How do I ./configure OpenVPN with pkg-config to use the ...
1
vote
1answer
4k views

cannot install lxml in virtualenv (python)

I cannot install lxml. In system i have python-lxml package, but i need other... Please help, if you can - my task is install lxml for development in virtual enviroment using virtualenv. I found this ...
2
votes
2answers
536 views

How to use -exec option in find command

I wanna solve some problems in compiz with my brain and hands. By the way I entered following command to build compiz from source in Ubuntu 12.04 find /opt/compiz-built/share/gconf/schemas -exec ...
1
vote
1answer
289 views

OpenMP activation on geany

I am new to parallel programing and C, and was wondering how to active openMP on geany or another C program on linux? It is a simple hello world i am trying to make: #include <stdio.h> ...
1
vote
1answer
2k views

Error while compiling OpenCV in Ubuntu 14.04

I followed the instructions for compiling opencv2.4.9 from Install OpenCV 2.4.9 in Ubuntu 14.04, 13.10 I am getting the following error during the build process. Can someone point out to me how to ...
0
votes
1answer
648 views

CrossCompiling with libboost for ARM architecture

I am using a 32 Bit Ubuntu system and my goal is to compile my C++ program for arm architecture (beagleblack). However, my C++ program needs libboost meaning I get errors like this while compiling: ...
0
votes
1answer
104 views

Is the compiled version of a binary dynamically linked to the system SSL library?

In my case I build nginx from source and I want to confirm whether I need to rebuild it whenever a new OpenSSL update is released. From what I understand either of these two commands can be used to ...
1
vote
2answers
58 views

Howto specify library location when compiling

How do I specify the location of a library when running ./configure ? I have searched around and think the answer lies in setting LDFLAGS and CPPFLAGS, but I,m not sure how to do it. Specifically, I ...
0
votes
1answer
3k views

config.status: error: cannot find input file: `Makefile.in'

I'm trying to install mod_WSGI on Ubuntu 12.04. Here is the set of commands that I'm following: wget http://modwsgi.googlecode.com/files/mod_wsgi-3.4.tar.gz tar xvfz mod_wsgi-3.4.tar.gz cd ...
1
vote
1answer
386 views

Lubuntu - compiling vlc v.1 command make and make install not working

Good day everybody! So, this is my first topic on Ubuntu's forum, and as a perfect Linux beginner and a non-English speaking student, I'll try to do my best to be the most explicit as I can. So ...
-1
votes
2answers
43 views

Is Ubuntu automatically bootable? [duplicate]

I'm just wondering if if I'm going to have to build a disc or write a disc. If I need to build a disc in order to make it bootable, can you give me some instructions on how to do so? I'd most likely ...
0
votes
0answers
38 views

getting error in opening py file [duplicate]

I'm installing a software in Ubuntu 12.04 and got the following error: http://paste.ubuntu.com/7638369/ server@ubuntu:~/Desktop/revkit-1.3$ ./tools/gui/gui.py Traceback (most recent call last): ...
0
votes
0answers
1k views

configure: error: Could not find libavformat - part of ffmpeg after installing libav from source and trying to compile minidlna

I tried to install minidlna on my machine but it appeared to me that it's not in repositories anymore. Well then I decided to compile it myself. After downloading version 1.1.3 I tried to compile but ...
1
vote
1answer
168 views

Compiling old versions of R (2.11 or older) on Ubuntu 13.10 (or newer)?

I am trying to compile an old version of R (2.11.1, specifically). "Why?", you might ask. Well, I have a program I am trying to run (that was not written by me, but I am hoping to use in my ...
0
votes
1answer
705 views

What does make distclean do?

I'm new to compilation. I'm installing FFmpeg and there's a make distclean (or once there was make clean) after every step. What does it do?
0
votes
0answers
42 views

Error when compiling bochs [duplicate]

I'm trying to compile bochs. Here is my configure command: ./configure --enable-fpu --enable-3dnow --enable-x86-64 --enable-a20-pin --enable-cdrom --enable-debugger --enable-debugger-gui ...
1
vote
1answer
1k views

Issues with importing existing source C++ code in Eclipse CDT

I have cloned an emulator's source code from git, and would like to work on it on Eclipse CDT on my Ubuntu 12.04. I have tried different ways, such as creating a hello world project, and simply ...
1
vote
2answers
250 views

How do I compile a C++ program I made in vim?

Whenever I type in g++ toe.ccp this comes up: /usr/bin/ld:toe.ccp: file format not recognized; treating as linker script /usr/bin/ld:toe.ccp:1: syntax error collect2: ld returned 1 exit status
3
votes
2answers
5k views

How to build curl with the latest openssl?

So I build openssl ./config make sudo make install sudo ln -sf /usr/local/ssl/bin/openssl `which openssl` I build curl ./configure --with-ssl make make install OpenSSL looks installed ...
1
vote
0answers
818 views

Cmake fails while configuring OpenCV

I'm trying to buid OpenCV and use it in Qt. I have installed all required packages for OpenCV and Qt, after that I tried too run cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ...
2
votes
1answer
2k views

linux-3.14.4 kernel install problem in ubuntu 14.04

I am trying to install the latest kernel 3.14.4 on my Ubuntu 14.04. But it gives me an error when I try to install using make file. I have also done the make oldconfig, it took more than 3 hours to ...
1
vote
1answer
2k views

unable to run make during installation of kernel 3.3.6

desktop:~/Desktop/linux-3.3.6$ make xconfig make[1]: Warning: File `scripts/kconfig/.zconf.tab.o.cmd' has modification time 1.7e+04 s in the future CHECK qt * Unable to find the QT4 tool qmake. ...
2
votes
1answer
198 views

How to compile classicsudoku?

I've just downloaded a game from http://sourceforge.net/projects/classicsudoku/?source=directory I don't know how to compile it, because there is no configure file. and autogen.sh command shows ...
0
votes
3answers
424 views

Eclipse and java 7 but no javac?

I have a java computer program that I can compile in Eclipse just fine. I want to compile it from the command line and get the message javac not found. I figured that I just didn't have my path setup ...
1
vote
1answer
871 views

How do I install chemsuite? Getting “configure: error: Can't find X includes” when I attempt to compile

I extracted the tarball, cd'ed to the directory, ran ./build as per the INSTALL file in said directory directed me to do. But it told me I needed a package called "X" and I've searched for such a ...
0
votes
1answer
206 views

compile and install modified kernel

I have made some changes to the vmx.c file of the kernel. Now I am using make menuconfig followed by make -j 5 command to compile the modified kernel(No errors just a warning..) Now I am using ...
0
votes
0answers
48 views

What are differences in Ubuntu C++ programming and Windows C++ programming?

The getch() function has to be replaced by getchar() in G++ (or any other compiler for that matter) for successful compilation. I am new to Ubuntu, so I would like to know what are the other possible ...
6
votes
2answers
4k 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
1answer
167 views

Error “undefined reference to xercesc_2_7”

I've been trying to install SUMO and only recently got the ./configure to make all of the files; but, when I try to 'make' it gives the [all-recursive error 1: ...
6
votes
2answers
2k 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
1answer
5k views

How to enable c99 and c11 on gcc?

When I compile the following code it gives compilation error that error: ‘for’ loop initial declarations are only allowed in C99 mode for(int i = 0; i < 5; i++) and to compile your code use ...
0
votes
2answers
33 views

Where should I put compiled binaries so that the would become searchable?

I'm compiling software from source. This software project doesn't come with an installer, so I just put the binary in /usr/local/bin, then I can start it from the terminal with a command software ...
0
votes
0answers
16 views

revkit installation [duplicate]

so i need to install this software called revkit on ubuntu 12.10. below are the instructions as per the manual: Requirements RevKit needs a couple of packages which can easily be installed with the ...
1
vote
3answers
403 views

How to install RevKit

I’m trying to install a software called RevKit on Ubuntu 12.10 and the following instructions1 need to be followed: RevKit can be downloaded from the www.revkit.org website. Opening a Bash ...
1
vote
0answers
73 views

How to do build a 64-bit develop environment in Ubuntu 12.04 LTS 32-bit? [closed]

I using the Ubuntu 12.04.4 LTS 32-bit. But now, I want to build 64-bit binaries & packages as same source of Ubuntu 12.04.4 LTS 32-bit on it. I think that, If I use CLFS(Cross Linux From ...
1
vote
1answer
153 views

“Can not compile without isnan function or macro” when trying to compile geos on 14.04

Using a procedure for building geos on ubuntu 12.04, I'm trying to build geos on 14.04 and get the error, "Can not compile without isnan function or macro" when make is executed. sudo apt-get -y ...
1
vote
0answers
60 views

'__FDELT' and '__FDMASK' not declared in this scope (posix_types.h not included)

I'm running Ubuntu 12.04 LTS, 64bit version. I'm getting the following error when compiling a C++ program: ../elements/userlevel/socket.cc:477: error: '__FDELT' was not declared in this scope ...
1
vote
1answer
336 views

How to set /usr/bin/i586-mingw32msvc-g++ to gww?

I use cross compiling for C++ using MinGW... I use /usr/bin/i586-mingw32msvc-g++ filename.cpp to compile, but I want to be able to type gww filename.cpp I think I need to set a PATH ...
2
votes
1answer
298 views

trying to install terminal window managers

I'd like to try some terminal window managers such as Viper Window Manager (VWM) and Twin ("Textmode WINdow"), but I'm having difficulties getting them running in Ubuntu. Are packages available for ...
2
votes
0answers
176 views

Is it possible to compile a kernel module under chroot?

Under a chroot environment, is it possible to build a kernel module without having the kernel installed, just the headers? It sounds like something you wouldn't want to do, but in my case I do. I've ...