Compiling is the process of transforming source code into byte codes for a particular computer architecture.

learn more… | top users | synonyms (2)

1
vote
0answers
265 views

Where to get UUID libraries and code

What is the difference between the libuuid that comes with the util-linux-ng package and the one that comes with e2fsprogs? Also, if I want to compile libuuid from source, where should I get said ...
1
vote
2answers
47 views

Cross compiling libSDL

I'm trying to cross-compile libSDL version 1.2 for a custom made, Debian based Linux system. The toolchain I'm using is already configured properly so that I just run gcc/g++ on the desired code and ...
2
votes
2answers
540 views

GNU Screen: you have neither usable sockets nor usable pipes

I am trying to build GNU screen on CentOS 6 Minimal and When I type the command ./configure it gives me this error you have neither usable sockets nor usable pipes -> no screen I tried to use ...
1
vote
1answer
395 views

Install libxcb from source

I try to install libxcb from source, but I have an error, I do not understand why, this the error: configure: error: Package requirements (pthread-stubs xau >= 0.99.2) were not met: No package ...
1
vote
3answers
2k views

Installing PostgreSQL 9.0 on RHEL 6.4 (How to get Yum to Include a version of OpenSSL I built from source)

I receive the following errors from yum install postgresql90-server: Error: Package: postgresql90-9.0.15-1PGDG.rhel6.x86_64 (pgdg90) Requires: libssl.so.10(libssl.so.10)(64bit) Error: Package: ...
3
votes
1answer
1k views

Error compiling FTDI VCP drivers: Cannot find version.h

driver installation fails of FTDI VCP driver during make install. Running ElementaryOS with kernel 3.11.0-14-generic make install awk: cannot open ...
2
votes
3answers
2k views

Compiling code from apue

Just now I have began reading the book: Advanced Programming in the UNIX® Environment. I wanted to try running its first code example. I am running Scientific Linux 6.4. I downloaded the source code ...
2
votes
0answers
151 views

How can I automatically include all firmware needed by selected Linux kernel modules

I have certain modules which I need compiled into the kernel. Some of these modules require firmware, which used to be automatically included from /usr/src/linux/firmware/. However, no new firmware ...
3
votes
0answers
542 views

How can I install M4 on Linux, avoiding the dependency loop with Automake and Autoconf?

I am trying to install GNU M4 on my Chromebook using the 1.4.17 tarball, but when I run ./configure and thenmake I get an error related to aclocal, which is apparently part of the GNU Automake ...
0
votes
2answers
50 views

Where does g++ store compiled sources?

I compiled an application with a Makefile and g++ and it turned out, that g++ doesn't have to recompile the whole application again when I modify the Makefile (I changed to paths to the dynamic link ...
2
votes
1answer
3k views

How to compile with third party libs properly?

This is a follow up question to Confusion about linking boost library while compilation: What is to do, when I generate a Makefile by qmake and I have only a third party boost lib installed (I ...
1
vote
2answers
109 views

Minimal Linux, stuck at building GRUB

I am trying to build a minimal linux, for experimenting out with drivers (LLD 3 book refers kernel version 2.6.10). LFS looks out to be a hell of a task, and I am not sure of if I would be able to ...
3
votes
2answers
2k views

Confusion about linking boost library while compilation

For a client I needed to add boost 1.54 to the system. So I downloaded the latest version (1.55) and built it within a special directory: /usr/local/lib/boost1.55/. This works. Then I had to adapt the ...
0
votes
2answers
657 views

Compiling python .py to .pyc doesn't happen

I have read that python will compile the source file .py by itself to produce .pyc, but this doesn't happen in my case. I have the source file inside /opt/osqa folder where I always have to use sudo ...
0
votes
2answers
119 views

compiling bash 4.2 with patches

I want to compile bash 4.2 from source. but http://ftp.gnu.org/gnu/bash/bash-4.2.tar.gz is more 2 years old. Should i apply all the patches from http://ftp.gnu.org/gnu/bash/bash-4.2-patches?
4
votes
4answers
88 views

When should one compile and install from source?

To install software on a Linux system, many tools like yum, apt-get, rpm, dpkg and so on are available to either fetch a package from a repository or install a downloaded package. Alternatively, it ...
1
vote
2answers
57 views

Do applications usually use dynamic linked libraries?

If I want to compile an application which needs packages that are not provided by distribution's package manager and I want to generate a distribution package from it, do users who use this ...
2
votes
0answers
202 views

Binutils documentation compilation problem

I'm trying to compile and install binutils+GCC for my machine on my own. I have compiled lastest binutils sources without getting any error, but installation seems to have some problems with gas ...
0
votes
2answers
109 views

Building from source on linux - mess in installed packages [duplicate]

Everytime when I want to build application from source on linux, I have to install dependencies libraries in my operating system (ubuntu). Typical scenario: Start ./configure Got error about missing ...
0
votes
1answer
1k views

Error while Compiling Subversion with a custom-compiled Apache on a shared server

Am using a RHEL 5.5 shared server, my user has complete access to /opt folder. No root access, cant write to /etc, /usr etc. So, I downloaded httpd-2.4.6 and httpd-2.4.6-deps onto /opt (ie. ...
2
votes
0answers
986 views

How to compile gcc toolchain with special sysroot correctly?

I try to compile a new gcc, including binutils and glibc. Since I can not be root, I want to install it all in ~/local. I set these variables: PREFIX=~/local && export PREFIX ...
0
votes
0answers
310 views

Doubt when compiling USB/IP drivers

I need to install a USB 3G modem to a Windows virtual machine (running on OVM). The modem will be plugged on a Linux host. (Would Windows be easier?) I don't understand what the following README file ...
1
vote
0answers
430 views

How to compile and install iperf on a MIPS based router?

I have a DIR-825 router based on Atheros AR7161 (MIPS) running DD-WRT v24-sp2 std. How can I compile and install iperf on it? Can I compile it directly on the target device, or do I have to cross ...
4
votes
2answers
2k views

“No such file or directory” when executing a cross-compiled program on a Raspberry Pi

I recently bought a Raspberry Pi. I already have configured it, and I install a cross compiler for arm on my desktop (amd64). I compiled a simple "hello world" program and then I copy it from my ...
2
votes
0answers
880 views

“Kernel panic - not syncing” after building Centos-6/elrepo 3.10.19 kernel from source

I need to rebuild the Centos-6 / elrepo 3.10.19 kernel from source. Background: the GVision touch screen drivers are incompatible with kernels > 3.8 and require source code patches to add code to ...
1
vote
1answer
141 views

What's the right way to install an appropriate package containing <signal.h> on a Linux Mint VM?

I have Linux Mint installed on a VM: Linux jonathan-mint-virtual-machine 3.5.0-43-generic #66-Ubuntu SMP Wed Oct 23 17:33:43 UTC 2013 i686 i686 i686 GNU/Linux I tried to compile something that ...
2
votes
0answers
54 views

How do you know what development packages to install before compiling a program from source? [duplicate]

An example for Python: What are the packages/libraries I should install before compiling Python from source? At this point, the only way I know is to ./configure and wait for it to stop at errors, ...
0
votes
1answer
70 views

Squeeze/Lenny compilation : Library Link error

I've got a problem here : I have a C++ Library ("DataTsBroad") and a C++ Test app ("DataTsBroadTest"), to test it. Actually, the Lib and the Test app are both compiled an a Debian Lenny. Now, i ...
2
votes
2answers
404 views

How do I redirect only stderr?

I am having a bit of trouble doing this. I am required to run a compiled .java file and redirect only stderr to a file called error. So the .java file is named javaProgram.java. This is what I have ...
1
vote
3answers
128 views

How do I know on which IDE to edit a project's source code?

EDIT: Thanks to all answerers and commenters, there's enough material to keep me busy for a while ! I recently switch to Linux and wanted to do my first development steps with the following ...
3
votes
2answers
315 views

Where are my ALSA, pulseaudio lib

I tried to install darkice with lame. To compile it, I need ALSA and Pulsaudio: checking for lame library at /usr ... found at /usr checking for vorbis libraries at /usr ... configure: WARNING: not ...
1
vote
2answers
52 views

How to check if aptitude did something?

I've a CI build process during which I install a debian package from my local reprepro. I have a Makefile which does call aptitude to install the package from its own repository like this sudo ...
2
votes
1answer
69 views

Compiling programs to OSX

I have to decide between a MacBook Pro or an iMac. I have a desktop with Ubuntu and I love it. I have experience with terminal and I install texlive, TeXstudio, Bluefish, Geogebra, wxMaxima, gnuplot ...
1
vote
0answers
123 views

Compiling Wine 1.7.1 from git in Gentoo

Trying to compile Wine 1.7.1 with the great new D3D and Opengl patches. I proceed like this : 1-Download the GIT source code from here : ...
2
votes
1answer
104 views

Change a driver's source code and compile

I have made some little change to if_igb in /usr/src/sys/dev/e1000/if_igb.c. How can I compile only this file and load it to kernel dynamically? I'm using FreeBSD 8.2 Release.
2
votes
1answer
1k views

buildroot compiling driver

I'm using Buildroot for compiling embedded linux. It works well because I have target Makefile configurations, but now I need driver for my usb devices. I manage to compile Qt appilactions(c++) on my ...
3
votes
1answer
2k views

How to make EDID

I read the post here and I tried to make do with what I understood from the post but here are some questions: Where is the /lib/firmware located in for example /usr/src/linux/lib/firmware or ...
5
votes
2answers
148 views

How do you get hardware info and select drivers to be kept in a kernel compiled from source?

I would like to create a minimal kernel for a web server. When you compile a kernel from source how do you get hardware info and then know what drivers need to be kept in the kernel so the rest can ...
2
votes
1answer
162 views

making a toy unix os : issues with ld

So I'm following this tutorial on rolling out your own toy unix. I'm stuck at compiling the sample source on this page. This is a download link to the sample source code The Makefile looks like ...
10
votes
1answer
306 views

How do I apply software patches?

I have an application foobar for which someone has written a patch to add a feature I like. How can I use the patch?
3
votes
1answer
887 views

Compilation of my wifi driver (RTL8192CE) fails

I'm kind of desperately trying to make my wifi work on my newly-installed Debian Sid (amd64, kernel 3.10.11-1). The relevant line of the output of lspci is : 06:00.0 Network controller: Realtek ...
2
votes
3answers
354 views

Linux USB Driver Compilation

I'm using Linux Mint 15. When I try to compile the EXAR UART driver file version for kernel v3.5.0 and later provided here: ...
0
votes
0answers
103 views

log4cxx/logger.h or libcql/cql.hpp fatal error while doing make -j4

I am running make -j4 and I am getting below exception... userName@phx5qa01c-4e23:~/build$ make -j4 [ 1%] [ 2%] Building CXX object nda/common/loadtest/CMakeFiles/loadtester.dir/LoadTester.cc.o ...
2
votes
2answers
266 views

netcdf installation and usr/local… folders

I need to install netcdf on a SuSE Linux machine but I am having a few problems understanding the usr/local/ folders and my the myusername/local/ folders. What I think I need to do is go into the ...
2
votes
1answer
140 views

Build bash (or alternate linux package) with custom binary/doc name

I am trying to build Bash 4.2 as an RPM package for use on Enterprise Linux 5 systems, which come by default with 3.2.25. This works successfully, however, I want both versions to co-exist on the ...
1
vote
1answer
255 views

GLIB_GSETTINGS not found while compiling gnome extension

having failed to install a gnome extension from their website I looked for another way on Google. The guide I found was like: sudo apt-get install gnome-common git clone ...
2
votes
1answer
441 views

Unable to boot using self built kernel

I built kernel 3.11.3 following the instructions here. There were no issues in the build. The steps I followed automatically made entries in grub and copied the image to /boot too. At boot time, when ...
2
votes
2answers
102 views

How do add GNU findutils into an existing location

I have installed the GNU "core" utilites coreutils-8.21 into this location on my UNIX server: /opt/app/p1sas1c1/apps/GNU I would now like to ADD the findutils-4.4.2 package. My reading the INSTALL ...
0
votes
3answers
397 views

Kernel panic after building kernel in Red Hat Linux?

I've been trying to build a new kernel for Red Hat Enterprise Linux virtual installs under VM Ware. I've followed these steps so far: Download the kernel from kernel.org. Extract the downloaded ...
4
votes
2answers
167 views

Does Debian have any kind of virtual environment for make install?

If someone used a Python virtualenv he knows we can run scripts in its own environment installing all necessary libraries which won't impact main python distribution. Do we have something similar in ...