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

learn more… | top users | synonyms (2)

1
vote
2answers
653 views

Ubuntu: can't find ndbm.h

I need to compile an old apache version, 1.3 and compilation process fails because: mod_auth_dbm.c:77:18: fatal error: ndbm.h: File or directory not found where is it?
3
votes
2answers
1k views

Disable stack protection on Ubuntu for buffer overflow without C compiler flags

I'd like to try some shell codes and I want to disable linux protections. I know I could compile using flags but I know another way exists to disable these protections in general I just can't ...
1
vote
0answers
288 views

CMake Error: The current directory is different than

I'm trying to compile the source code for Shrewsoft VPN. The instructions say to compile the source on step 4. However... I get this error: user@ubuntu:~/Ubuntu One/Programs/ShrewSoft VPN$ sudo ...
1
vote
1answer
283 views

Kernel headers for VMware tools

I tried to compile VMware tools on my server. I compiled the kernel myself, I didn't use RPM. As VMware tools needs the kernel header files, I executed the following command in my kernel folder ...
0
votes
1answer
356 views

Unable to install libevent without admin priviledges

I just downloaded libevent-2.0.21-stable, which I am hoping to compile so that I can use tmux. However, when I run: ./configure --prefix=/path/to/libevent-2.0.21-stable/ make make install ...
2
votes
2answers
295 views

Adding Buildroot Package

I'm trying to add a package to buildroot, but I'm not having much success. The package I'm trying to add is an autotools package called scew. I've followed the buildroot guidelines about adding ...
2
votes
1answer
1k views

How do I remove/uninstall a program that I have complied from source? [duplicate]

How do I remove a program that I have compiled from source using the ./configure; make; make install method? Does it matter whether I have kept the original directory that the source was stored in or ...
2
votes
3answers
139 views

How do I compile wxWidgets with the same options as the package as the repository?

I am compiling wxWidgets as a pre-step to compiling the newest version of pgAdmin3 since there isn't a deb version in the repository that supports version postgres 9.2. I am having troubles and ...
0
votes
2answers
45 views

Compile Unix with a custom application [duplicate]

I wonder, is it possible to compile Unix along with a my custom program so that it runs only my custom program on start up of computer, as if my program starting with boot up?
0
votes
1answer
216 views

PHP compilation - link to library

I am compiling php 5.3.13 on my server. I want to create an autonome php5 folder. So prefix is: /usr/local/php5 In this folder I have a lib folder, where I put all lib needed for php to be executed ...
4
votes
1answer
101 views

User Mode Linux compile fails

I am trying to compile User Mode Linux on a 64 bit machine with defconfig and getting the following error. arch/x86/um/user-offsets.c:1: sorry, unimplemented: code model "large" not supported yet ...
1
vote
1answer
730 views

How can I compile and install the latest FFmpeg on Linux?

I want to install the latest version of ffmpeg on Linux (Ubuntu/Debian). It should meet requirements to stream via rtmp, convert streams with x264, create segment files to stream to IOS devices. How ...
3
votes
3answers
2k views

Can't compile XBMC 12 because of TAGLIB problem

I am trying to compile the latest version of XBMC on CentOS 6 x64 but on ./configure I get: checking for TAGLIB... no configure: error: Could not find a required library. Please see the README for ...
5
votes
2answers
768 views

What package could “linux-headers-3.7.5-1-ARCH” mean?

I'm debugging a closed-source software installer that seems to have some pre-conceived notions about my distribution. The installation aborts after not finding apt-get. The command it attempts to run ...
2
votes
2answers
172 views

How does a package like ATLAS know which fortran compiler to use?

How does a package like ATLAS know which compilers I have installed on my system? For example, say that I install a local version of gfortran, how do I "register it" in the system so that a package ...
3
votes
1answer
94 views

Creating deb file: hidden files specification by `install` file

I'm creating a deb-file and enumerating the files and paths I need to have in the package using the install file. It looks like dir1/* path1 dir2/* path2 ... But in a result deb-file there are no ...
5
votes
2answers
143 views

Emacs on OpenBSD for DEC VAX?

I have managed to install OpenBSD 5.2 on my DEC VaxStation 4000 Model 90 but to my surprise have not found a binary for Emacs (any version) for the VAX architecture. As best as I can tell I do not see ...
0
votes
0answers
173 views

Errors during 32-bit glibc2.17 compile

I'm trying to compile the current glibc (2.17) from the official ftp on my machine (kernel 3.7.3). No patches or extras are applied. For x86_64 everything works fine, but I need the 32-Bit libs as ...
1
vote
1answer
394 views

When compiling I get an error, `@LIBICONV@: No such file or directory`?

When I run make for flac, I get this gcc: error: @LIBICONV@: No such file or directory make[3]: *** [flac] Error 1 make[3]: Leaving directory `/home/ubuntu/flac/src/flac' make[2]: *** [all-recursive] ...
0
votes
1answer
525 views

How do I resolve the following error during “configure: error: XSLT configuration could not be found”

When compiling Icecast 2, I get this error when I run autogen.sh: $ autogen.sh ... stuff ommitted configure: error: XSLT configuration could not be found What is the reason for it, and how do I fix ...
3
votes
0answers
123 views

What steps are involved in porting an Xorg OpenGL app to DirectFB?

I'm looking for a birds-eye view on porting a small app1 that uses some OpenGL functions from it's home on Xorg to run in a more stand-alone fashion using DirectFB. I am unfamiliar with both C and ...
2
votes
2answers
726 views

USB Driver Compilation Error

I'm currently trying to compile a Linux USB UART driver, which is provided here: http://www.exar.com/connectivity/uart-and-bridging-solutions/usb-uarts/xr21v1410 The driver consists of 2 header files ...
3
votes
1answer
123 views

Which library are LO headers belonging to?

I'm trying to configure liquidsoap and compile it from source. The ./configure process gets stuck at this point: checking lo/lo.h usability... no checking lo/lo.h presence... no checking for ...
2
votes
0answers
2k views

mounting udev on /dev failed: No such device

I am trying to compile Linux kernel 3.2.36 with its source code on the x86_64 architecture. I followed the following set of commands under my Linux source distribution directory: make defconfig ...
1
vote
2answers
711 views

sipe (plugin pidgin-gaim) unable to find libpurple headers

I downloaded : pidgin 2.10.6 and sipe 1.14.1 from sourceforge. I install pidgin with the following command in the folder of pidgin (2.10.6): ./configure --prefix=/home/tony/soft/pidgin_sipe ...
2
votes
0answers
387 views

FreeBSD 9.1 buildworld fails in libclangsema

I just went thru and updated a dozen or so machines from 9.0-RELEASE to 9.1-RELEASE and the last one is dieing during buildworld: c++ -O2 -pipe ...
1
vote
1answer
389 views

linux driver installation error - “/lib/modules/2.6.18-194.el5/build: No such file or directory. Stop.”

I got an error /lib/modules/2.6.18-194.el5/build: No such file or directory. Stop. while installing moxa driver, following is the shell screen shot. [root@lnx149-252 driver]# pwd ...
1
vote
0answers
187 views

Run Apache2 as root

I am teaching a security class and I would like to show them how it is very stupid to run apache as root (that means I don't need to be preached to about how stupid it is; I agree with you) I'm having ...
2
votes
2answers
2k views

How can I solve this make error when building gcc-4.7.2 for LFS?

Everything was going so well... I'm trying to build gcc-4.7.2, following the instructions in the LFS book. When I run make, I get the following: checking for MPFR... no configure: error: libmpfr ...
1
vote
1answer
113 views

Yarbu Execution

I am attempting to use a Project called Yarbu It appears to be exactly what I am looking for. However I am a noob at Linux and am having difficulty getting it to work. I successfully completed the ...
2
votes
1answer
112 views

Compile a program without sudo access

I am connected to a linux system with SSH in my college. I found that ctorrent is a console alternative of bitorrent. I have downloaded the tar.gz source but to compile/install it needs sudo access ...
2
votes
1answer
441 views

Build kernel in one machine, install in another

I want to build my Linux kernel on my host and use it in my VWware virtual machine. They both use the same Ubuntu kernel now. On my Host, I do make and make configure. Then, what files should I copy ...
3
votes
1answer
127 views

Compile mkvtoolnix for router with customized firmware

I am using my router (asus-rt66u with customized firmware (tomato) as a media server. To get the tools I need, I have been using the optware package manager which has has bunch of cross-compiled ...
4
votes
0answers
370 views

Linux From Scratch 7.2: Error while making binutils-2.22 in chapter 6

I get the following error while executing make tooldir=/usr ../../binutils-2.22/libiberty/regex.c:130:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] ...
1
vote
1answer
443 views

Adding Objective C compiler to GCC 4.7.2

I finished building the GCC 4.7.2 with C, C++ and Go compilers on my Ubuntu 12.04. I now want to add the Objective C compiler, is it possible to add it to the previous build? If so, how should i ...
0
votes
1answer
55 views

Galculator does not compile

I'm trying to compile galculator-2.0.1 but when I run make I get some errors like galculator-general_functions.o: In function `set_button_color': ...
3
votes
1answer
265 views

IP_TRANSPARENT missing from glibc headers

I'm trying to use the IP_TRANSPARENT declaration. I am using debian 6.0.5. IP_TRANSPARENT is only defined in linux/in.h however it conflicts with netinet/in.h. In centos for example, IP_TRANSPARENT is ...
1
vote
1answer
352 views

How to compile tmux 1.7 on CentOS 5.8?

I would like to have tmux 1.7 on my machine with CentOS 5.8 (64 bit). It requires libevent in version at least 1.4.14b or 2.0.20 and the latest version in yum packages for CentOS 5.8 is 1.4.13 . I ...
4
votes
1answer
371 views

Automatically apply module patch and compile kernel when updated?

I've recently applied a one-line patch to drivers/bluetooth/btusb.c in order to enable compatibility with my Bluetooth device. However, whenever I get a kernel upgrade, the patch will be lost until ...
2
votes
1answer
94 views

how do i check if (manually) upgrading software will break existing software?

As an example, let's say I want to upgrade sqlite3. The version I have after (apt-get) updating and upgrading is 3.7.13. The most current version is 3.7.14. If I install the most current version from ...
1
vote
2answers
291 views

compiling with gcc broken for users but fine for root

So somewhere along the way compiling as a regular user has stopped working on my server. I'm on Debian Stable. Can't think what has changed on my system that would result in this, or how to fix it, ...
1
vote
1answer
443 views

Building kernel module

I have a 3rd party device driver which I am trying to cross-compile. When I build the driver everything goes smooth but I don't see any driver.ko file, however driver.o file is generated fine and I ...
1
vote
1answer
236 views

cannot find libarchive when compiling YAP prolog in OSX

I am trying to compile the last development version of Yap Prolog in OSX (Mountain Lion). The first time I tried I saw this message: ################################################################## ...
2
votes
1answer
611 views

gcc 4.6.3 local installation with gmp 5.0.5 mpfr 3.1.1 errors

I am trying to install a new gcc version (g++ version) in my home directory on a server I have access too. This server already has gcc elsewhere (and gmp etc) but older versions, and I want to locally ...
1
vote
0answers
79 views

How do I install additional modules when building an Apache RPM?

We've been compiling and installing Apache under /usr/local/apache2 and in turn would tar the folder up to distribute to our other servers. I would like to convert this into an RPM package for easier ...
3
votes
2answers
2k views

How to build a custom kernel on Fedora?

I want to test an (upstream) custom kernel on Fedora. The plan so far is: use a recent fedora config as starting point, e.g. /boot/config-3.6.6-1.fc17.x86_64 lookup build dependencies lookup right ...
1
vote
0answers
203 views

Compiling libqwplot3d on armhf

This started as an attempt to compile GNURadio on armhf (Pandaboard & Beagleboard). Thanks to the answer by Mike Larsen. I tried to compile libqwplot3d. apt-get build-dep qwtplot3d apt-get source ...
1
vote
3answers
100 views

Is there a way to know which options were used at compile time?

Take a look at the following command line: gcc -o hello -Wall -D_BSD_SOURCE hello-world.c Now, is there a way to know about these options by doing some processing on the 'hello' executable.
1
vote
1answer
141 views

Autotools does not detect my architecture correctly. How to handle?

I am trying to build the latest ffmpeg from the git repo. However, as you can see below, autotools does not detect correctly that my box has 64-bit architecture (Ubuntu 12.04). Consequently, during ...
1
vote
2answers
293 views

Can't compile kernel in gentoo

I installed gentoo by the handbook from official site. When I got into the step 7.b. Installing the Sources, the book says: Code Listing 2.2: Viewing the kernel source symlink When you take ...