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

learn more… | top users | synonyms (2)

1
vote
1answer
3k views

Error : Cannot run C compiled programs. if you meant to cross compile use --host' Ubuntu

I'm completely new to Ubuntu I downloaded and unpacked a tar.gz package, after extraction, it is said in its documentation : "type ./configure --disable-gts" But when I run this command alone it ...
2
votes
1answer
105 views

How to compile a program from launchpad

I tried looking through the documentation but I couldn't figure it out. make and ./configure don't work so I thought I would ask here. I'm trying to install this ( ...
1
vote
1answer
73 views

Different versions of libstdc++6 on 12.04

After upgrading Server 10.04 to 12.04, I was receiving errors related to lgcc_s while trying to compile with g++ and gcc. There are several versions of libgcc_s installed in ...
0
votes
0answers
134 views

Problem installing Ripple

I have a fresh installation of Ubuntu 12.04, and have followed all OS-specific Ripple build instructions on the Ripple wiki. All works fine through the section of the Ripple wiki called: Getting the ...
0
votes
0answers
154 views

Are Ubuntu packages Haswell-optimized?

I was looking at the new features in the intel 4xxx haswell cpus, it looks like there are new optimizations like AVX2, and AES instructions for fast encryption. Is this something that you must compile ...
1
vote
0answers
1k views

Make compiling error 'No rule to make target' when trying to install a driver

When I try to install a driver via sudo make I get these errors: make -C /lib/modules/3.8.0-31-generic/build M= make[1]: Entering directory `/usr/src/linux-headers-3.8.0-31-generic' make[2]: *** No ...
0
votes
1answer
148 views

fatal error: /usr/include/boost/coroutine/coroutine.hpp: No such file or directory

fatal error: /usr/include/boost/coroutine/coroutine.hpp: No such file or directory /usr/include/boost can not find coroutine, where is it ?
0
votes
0answers
152 views

/usr/include/boost/config/select_stdlib_config.hpp:17:19: fatal error: cstddef: No such file or directory

want to compile a zeromq program with boost library and boost threadpool from sourceforge however, got error gcc -g server.c -lzmq -lboost_system-mt -pthread -o server `pkg-config --cflags --libs ...
0
votes
0answers
40 views

how to compile mpi program which having zeromq?

mpic++ -g server.c -lzmq -lboost_system-mt -pthread -o server `pkg-config --cflags --libs gtk+-2.0` In file included from server.c:1:0: zhelpers.h: In function ‘void s_dump(void*)’: zhelpers.h:82:44: ...
0
votes
1answer
39 views

Is it possible to define a macro variable through make?

Below is my c code: #include main() { #ifdef HELLO printf(" hello "); #else printf(" else "); #endif } And my Makefiles is: all: gcc uss_main.c -o out ...
0
votes
1answer
245 views

Help on installing a tar.gz on Ubuntu

Okay, I am trying to install, Icecast http://www.icecast.org/ guggy@guggy-pc:~/Downloads/icecast$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build ...
2
votes
1answer
87 views

Redirect stdout to a file and stderr to another file

Use find to compile a list of all directories in /proc, redirecting the output so that the list of directories ends up in a file called directories.txt and the list of error messages ends up in a file ...
0
votes
0answers
15 views

Compiling GNOME-shell in Ubuntu 12.04

If I build GNOME 3.8 in Ubuntu 12.04 from the source will it create any dependency problems?
0
votes
2answers
62 views

Help me setup my new build! [closed]

Background: Linux user for about 2 years More of a GUI guy than a terminal guy, but I can sudo apt-get install program-name Don't know how to compile or install from .zip/tar files. If there are ...
0
votes
1answer
188 views

Compilation problem in Geany

I started using Geany recently and I tried to compile a new .c file I wrote, but the complier did not seem to recognize conio.h ["Fatal Error"] and simply ignored math.h. As a result I could not build ...
1
vote
0answers
98 views

Error compiling VLC Players on Ubuntu 12.04.

When I issue this command for dependent libraries for VLC Player sudo apt-get build-dep vlc The error I get in return is: The following packages have unmet dependencies: libpulse-dev : Depends: ...
0
votes
1answer
958 views

LESS css compiler help in Terminal

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 ...
2
votes
1answer
990 views

Compiling code that depends on QT4 with QT5 installed

I have QT5 installed on 12.10 I believe because it is a dependency for the Ubuntu SDK and the Ubuntu touch tools which I have been using. I have QT4 installed as well, infact I had it installed ...
2
votes
0answers
112 views

Problem when compiling GCC in Ubuntu

I have run into the well known problem when installing GCC: configure:3605: error: in /usr/local/gcc-4.8.1/i686-pc-linux-gnu/libgcc': configure:3608: error: cannot compute suffix of object files: ...
0
votes
0answers
65 views

Compiling Realtek WiFi card driver fails [duplicate]

To get my WiFi card Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01) working properly, I downloaded the UNIX driver source from Realtek's website. While trying to compile ...
1
vote
0answers
2k views

Trying to compile Opencv C++ code getting some Reference error [closed]

do we have to give path for OpenCV in Ubuntu 13.04.If so Tell me that also ? This is code : #include "opencv2/opencv.hpp" #include "opencv2/video/video.hpp" #include "opencv2/highgui/highgui.hpp" ...
-2
votes
1answer
476 views

Python 3.3.2 with Shared option is incomplete

On Ubuntu 12.04, I am trying to compile and install Python3.3.2. My compile commands: ./configure --prefix=/usr/local --enable-shared make make install Then I run: /usr/local/bin/python3.3 ...
2
votes
1answer
789 views

How to build and install latest SimpleScreenRecorder from git?

I want to install SimpleScreenRecorder (SSR) from git as recommended by the developer. The binary version crashes and it is possible that the git version already has the fixes for my crash problem. ...
0
votes
0answers
88 views

dpkg-buildpackage build only one package

Get source file with apt-get source, now have problem building it (compilation error). There are multiple packages in debian/control, and I want to build only one of them. How?
0
votes
0answers
212 views

Initializing a Build Environment Installing required packages (Ubuntu 10.04 — 11.10)

I am trying to initialize a Android build environment on Ubuntu 10.04.4. I have followed the instructions provided by Google and have run into a issue at the following step under "Installing Required ...
0
votes
0answers
37 views

ubuntu12.04 LTS warning: *.so not found

When I compile a program, there is a warning *.so not found, but I used -L to specify the location of the dynamic library. Why doesn't it link? I use Ubuntu 12.04 LTS.
0
votes
0answers
33 views

Difficulty in compiling Makefile

Can you help me with this? suman003@suman003-Lenovo-IdeaPad-Y400:~/es7501_lab1/src$ make ccache g++ -ggdb -fPIC -I/opt/Xilinx/Vivado_HLS/2013.2/Linux_x86_64/tools/systemc/include -I. ...
1
vote
1answer
641 views

How to build vim with gui option from sources?

I'm having a hard time building a VIM 7.4(obtained from vim's ftp site) with gui option. It builds ok without the gui option. Here's how I'm doing it: cd ~/Downloads/vim74/src ./configure ...
1
vote
0answers
59 views

Trouble installing specific .tar.bz2

I've used Ubuntu for over a year now and I have never gotten the hang of tarballs. I have a .tar.bz2, I've extracted it but I can't figure out where to go from here. I tried running ./configure but I ...
3
votes
1answer
107 views

Will Ubuntu work with reproducible builds?

In a comment on the question Does Ubuntu deliberately contaminate its binaries to help NSA?, Jorge Castro notes that debian is thinking about working with reproducible builds. They state Why do we ...
0
votes
1answer
278 views

The bug is not reproducible, so it is likely a hardware or OS problem

I'm trying to install Samba 4.0.9 on one server but I keep getting this error everytime. I have tried everything from apt-get -f install to editing /var/lib/dpkg/status Package: Samba4 Install ok ...
1
vote
1answer
143 views

I get compiling error using ROHC and libpcap library [closed]

I am using Ubuntu 12.10 32-bit.In my project I am using ROHC and libpcap library. when I run simple pcap program like- #include <stdio.h> #include <pcap.h> int main(int argc, char ...
1
vote
1answer
229 views

wsnet simulator: Segmentation fault (core dumped) during installation

I installed wsnet simulator about one month ago and everything was OK (I had any problem). Now I uninstalled wsnet ( sudo rm –r /usr/local/wsnet.2) I want to install it again and I follow install ...
1
vote
1answer
976 views

libpng15.so.15, cannot open shared object file

I recently downloaded a binary of Blender, and upon running it on got the following error: jdphenix@jdphenix:~/blender/blender_59865$ ./blender ./blender: error while loading shared libraries: ...
2
votes
1answer
96 views

Where does a compiled program go?

I followed instructions to download wine 1.7.1 source to apply a patch to insert into playonlinux. The compiling seems to go well, it says build complete at the end. But now what? The source folder ...
0
votes
2answers
254 views

Problem compiling driver for usb31000sw usb-ethernet adapter

I'm trying to build a driver for the Startech USB31000SW. A linux driver is included but it has to be compiled and installed. When running make I get the following errors: make -C ...
0
votes
1answer
93 views

Libgmp3 not present

I need libgmp.so.3 to install GHC. However, installing libgmp-dev only installs libgmp.so and libgmpxx.so according to the installed files list. I have seen elsewhere people using symlinks, but this ...
0
votes
0answers
67 views

Compiling libboost

I downloaded latest libboost for a game server, and I ran ./bootstrap.sh and ./b2. I later found out that you need the command ./b2 install, and it has gone 15 minutes building on my VPS server. I ...
0
votes
0answers
165 views

why do I get undefined reference to zheev when linking against lapack

Using gcc version 4.6.3 I try to compile C code that invokes the LAPACK routine zheev, but I get the following error message: In function 'HermiteEigValVec': HermiteEigValVec.c (text+0x192): ...
0
votes
0answers
111 views

Trying to compile Unity 5.20, getting dependency information error

When trying to compile Unity 5.20, I get this error: dh_shlibdeps dpkg-shlibdeps: warning: Can't extract name and version from library name `libcompiztoolbox.so' dpkg-shlibdeps: warning: Can't ...
0
votes
0answers
64 views

Error while installing assault-cube

While compiling assault-cube from source downloaded from the assault-cube website I got the following error: make install make -C ../enet all make[1]: Entering directory ...
1
vote
1answer
588 views

How to install latest version of Cheese from source in Raring?

The source files can be downloaded from here. I want to use the last stable version. How to install Cheese from source? Or Is there any .deb file of version 3.8.3 available somewhere?
0
votes
0answers
32 views

How to compile ubuntu os from source

I want to build ubuntu 12.04.3 LTS system from source code. Is there a user guide for the build process anywhere available?
0
votes
0answers
49 views

SpringRTS engine stuck at version 91, I need 94.1 to play online. Lobby version stuck 0.168, 0.169 is current

I'll walk you through what I did in hopes that that can maybe elucidate what I'm doing wrong. I went to the Ubuntu Software center and downloaded both the Spring Engine and the lobby client, and ...
2
votes
3answers
420 views

Scid Chess Program Compiling issue

First of all I would like to point that I'm new to Ubuntu so sorry if what I am asking is ridiculous. I have downloaded Scid 4.4 chess program and I have tried to compile it as it was explained on ...
1
vote
1answer
164 views

What is changelog.Debian.gz file during packaging?

while packaging I encountered following error dh_builddeb dpkg-deb: building package `remotedevicecontroller' in `../remotedevicecontroller_1.0-1_i386.deb'. dpkg-source -b remotedevicecontroller-1.0 ...
1
vote
1answer
347 views

How to run parallel make with debuild?

I am trying to make a package of a piece of software that I've (co-) written. I'm using debuild -i -us -uc -b And in principle that works fine. In order to shorten compilation time I'd like to ...
2
votes
1answer
242 views

How to find root cause which results in my ubuntu 12.04 suddenly reboot frequently while I using make to compile?

When I was using make to compile my source code, the ubuntu reboot suddenly, after reboot and re-compile for a while, the ubuntu reboot again, this problem frequently occurred these two days, and I ...
2
votes
1answer
597 views

Can't compile with CMake - Error

I'm trying to compile this package from launchpad: https://code.launchpad.net/~tombeckmann/+junk/indicator-terminal I installed valac, as the package has some vala code. And CMake, as there's a ...
0
votes
0answers
78 views

Not sure which IDE I should use for editing codes written in C [duplicate]

I am looking for an IDE which I can use to edit/compile/run C/C++ codes on my Ubuntu 13.04 installation. I have been checking the forum for information, and I found Anjuta being suggested by a few ...