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

learn more… | top users | synonyms (2)

0
votes
1answer
270 views

Clang/LLVM Install Within Slackware?

I would like to install the Clang/LLVM compiler suite within Slackware since I use it as my default C conpiler for my C programming assignments. I am currently building it within a build directory ...
2
votes
2answers
2k views

ldconfig issue with non-standard lib directory in CentOS

I am working with a virtual machine (CentOS 5.3) that has very little storage space on the main drive (which includes /usr, /usr/local, etc). Most of the storage space is available on a separate drive ...
8
votes
2answers
2k views

Why does FreeBSD use the GPL-licensed GCC?

Why does FreeBSD use GCC as its default compiler? I am under the impression that a core pillar of the FreeBSD philosophy is not to use any GNU software and in particular, GPL code. Yet GCC which is ...
1
vote
2answers
283 views

How to install LuaJIT on FreeBSD without using Gmake?

Has anyone been able to install LuaJIT v2 on FreeBSD AMD64(x64) without using Gmake (just freebsd-make)? If so how? When I attempt to use freebsd-make, LuaJIT doesn't build.
1
vote
2answers
586 views

Kernel module for Cisco VPN client doesn't compile under ubuntu 10.04 LTS?

I am trying to install a Cisco VPN client under Ubuntu 10.04 LTS. In the extracted folder I type: alex@alex-laptop:~/Downloads/cisco4.8/vpnclient$ sudo ./vpn_install and there is output of activity ...
1
vote
1answer
1k views

Linking issues with libjpeg

I have a game I'm writing which recently required libjpeg. I wrote some code using libjpeg on some-other-machine and it worked as expected. I pulled the code to this machine and tried compiling and ...
1
vote
1answer
120 views

Make errors when compiling hulahop

When I cloned hulahop I had a few possibilities to install it. I have chosen the path with autogen.sh I used commands: $ sh autogen.sh # -> OK $ ./configure # -> OK But make fails: $ ...
1
vote
2answers
1k views

apt-get : no installation candidate for libxul-dev

When I'm installing libxul-dev I end with this error message: $ sudo apt-get install libxul-dev Reading package lists... Done Building dependency tree Reading state information... Done Package ...
1
vote
1answer
156 views

How can I install hulahop

I cloned hulahop via git and I'd like to use it and try to run this example. I have a problem to find out how to build and install it. I also tried to install it with apt-get but I don't have this ...
1
vote
2answers
2k views

moc command not found?

On my Gentoo systems I've never had a problem with this and I run moc as I run any other command in the terminal. I recently switch to Fedora 15/16 and notice that running moc doesn't work. I get ...
3
votes
2answers
141 views

Bind locally installed library

I have no root-acces on a machine and i'm trying to install a library called GiNaC locally in my home folder. I use this tutorial http://www.ginac.de/tutorial/Configuration.html#Configuration. At the ...
3
votes
4answers
966 views

Stripped down Kernel for a Laptop

I am a Linux noob, but I am willing to learn. My immediate objective is to compile a small kernel for my laptop without sacrificing usability. I am familiar with the kernel compilation steps (don't ...
1
vote
3answers
2k views

Troubles installing php with MySQL support

So I wasn't sure if this question would go best here or on Overflow or Server Fault, but decided to try here first. I'm installing LAMP on a VPS, and am running into issues configuring and building ...
3
votes
3answers
3k views

Where do executables look for shared objects at runtime

The title is pretty explicit. I understand how to define include shared objects at linking/compile time. However I still wonder how do executables look for the shared object (*.so libraries) at ...
5
votes
2answers
2k views

On Gentoo, how do I rebuild all packages depended on some other package?

I made mistake and changed perl non-threaded version to threaded by unmerge first, change USE flags to include ithreads and emerge perl again. Now most packages depending on perl are broken. How do I ...
2
votes
2answers
771 views

No sound on Ubuntu 11.04

I have a problem on my notebook (MSI E-620) running Ubuntu Natty Narwhal x86. When I installed it there was just output, when I plugged my headphones in. The speakers in my notebook do not play ...
2
votes
3answers
194 views

Optimizing c++ compiliation for a specific machine

I am programming a code to simulate a membrane which will run on computation cluster (single node). I want to optimize the code for that machine. I have used the -optimize, -O3 and -march=core2. How ...
2
votes
1answer
203 views

How do I build custom Ubuntu CD's automatically?

I'd like to build custom Ubuntu installation CD's daily (CRON job). Think Daily Build but with custom packages coming from a text file. Packages would be a mix of some official Ubuntu packages as well ...
1
vote
1answer
643 views

Linux kernel 2.6.38 compilation error

When I try to compile the Linux 2.6.38 kernel on my Linux PC, I get: $ make defconfig $ make I get: ubuntu/ndiswrapper/iw_ndis.c:1966:2: error: unknown field ‘num_private’ specified in initializer ...
1
vote
3answers
3k views

How to stop warnings from being treated as errors in JHBuild

I tried building mutter module using JHBuild and it fails: <snip> make[4]: Entering directory `/home/wena/src/mutter/src' CC screen.lo core/screen.c: In function 'reload_monitor_infos': ...
2
votes
3answers
682 views

How can I reconfigure my Ubuntu PC's 2.6.37.6 kernel to shrink it to 950 KB or less?

I need to recompile the kernel with minimum configuration so that after compiling its size stay below 950 KB and it should boot correctly after compilation. I need to compile with minimum possible ...
6
votes
1answer
471 views

Grubby fatal error in Linux kernel installation

I have compiled Linux kernel 2.6.24.6 from source (without problem) and tried to install it. Specifically, after unpacking the Linux source code, I did make && make modules to compile. ...
5
votes
3answers
591 views

How to speed up my build

I am doing a build on a Linux machine with ubuntu 10.04 on it. I want to know how can I really speed up my build. I have 4 CPUs and lots of RAM. I already reniced the process group to -20. Is there ...
4
votes
4answers
282 views

Looking for small distro (to be installed automatically, with g++ and javac)

I'm looking for linux distro only with comand line and i need in it only g++,javac,python. I found Damn Small Linux but it dont have g++ and javac. It should have it out of the box because linux will ...
3
votes
2answers
2k views

Some M4 macros don't seem to be defined

I am trying reinstall pacman on my Arch Linux distribution. When I run the configure script "configure.ac", I get a bunch of undefined macros: error: possibly undefined macro: AM_INIT_AUTOMAKE. If ...
2
votes
1answer
2k views

Why does 'make' complain about a missing rule when I try to build a program from source?

I am a Linux novice, and I am attempting to compile scientific software called DL_POLY_Classic. I downloaded the zip file dl_class_1.6.tar.gz and unzipped it using the command tar xvzf ...
1
vote
1answer
214 views

Changes for py2cairo ebuild to activate xpyb in build

I would like to build qtile for Funtoo/Gentoo and there is also a nice py2cairo ebuild, but it misses an option for xpyb, so it builds without those options, now my interesst is to fork that ebuild ...
5
votes
2answers
5k views

How to include local header files in linux kernel module

Say I have a module mymod with source files as follows: src/mod/mymod.c src/inc/mymod.h I try to include mymod.h as follows #include <mymod.h> My makefile contains EXTRA_CFLAGS= ...
3
votes
3answers
3k views

Is there a Linux distro compiled with clang/llvm?

Is there a Linux distro compiled with clang/llvm? It looks like as of late 2010 the kernel was working. If not, would it be more likely to be a technical or licensing issue?
29
votes
4answers
14k views

Why can't gcc find libevent when building tmux from source?

I want to install tmux on a machine where I don't have root access. I already compiled libevent and installed it in $HOME/.bin-libevent and now I want to compile tmux, but configure always ends with ...
1
vote
2answers
570 views

Ocaml compilation error in AIX 6.1

I meet the following error when I try to compile Ocaml on my server running AIX 6.1 : "../Makefile.shared", line 39: make: 1254-055 Dependency line needs colon or double colon operator. ...
21
votes
2answers
2k views

Is it possible to compile a full Linux system with Intel's compiler instead of GCC?

Perhaps this is a stupid idea? Maybe there are some compatibility issues? I have the impression that for Intel-based systems, the Intel compiler would potentially do a better job than GCC. Perhaps ...
1
vote
2answers
403 views

libxml linker error

I've got an app which won't link, giving error: /usr/lib64/libcroco-0.6.so.3: undefined reference to `xmlGetProp@LIBXML2_2.4.30' /usr/lib64/libcroco-0.6.so.3: undefined reference to ...
0
votes
2answers
1k views

How to install wireless driver in Fedora 15?

I have tried ndiswrapper 1.56 for fc15... it gives the following error : $ make make -C driver make[1]: Entering directory `/home/dhinesh/sware/ndiswrapper-1.56/driver' make -C ...
15
votes
5answers
737 views

Keeping track of programs

When I install a simple program it often uses make && make install and doesn't often even have an uninstall target. If I wish to upgrade a program is it standard protocol to assume it just ...
7
votes
1answer
1k views

What is the proper way to set SELinux context in an RPM .spec?

I am trying to build an RPM that targets RHEL4 and 5. Right now I call chcon from %post but multiple Google entries say "that's not how you are supposed to do it" with very limited help on the right ...
4
votes
1answer
174 views

How do I know which files will be included in a linux kernel before I build it?

I am working on a project that includes building an old kernel version of linux. This is fine, but I still need to patch the kernel of all previously found security vulnerabilities based on CVEs. I ...
3
votes
3answers
338 views

Output compiler options from SSH

How can I list the configuration options that ssh/sshd was compiled with? I'm attempting to troubleshoot a SELinux configuration issue, and want to make sure that SSH was compiled with ...
2
votes
1answer
157 views

Debian package issue: files are installing into '/'

I have been recently trying to package a small Python utility to put on my PPA and I've almost got it to work, but I'm having problems in making the package install the binary (a chmod +x Python ...
2
votes
1answer
360 views

Fall-back for $VIM is invalid

I am working directly on a dev server and want to build my own vim, for my purposes, not for all system users. The build scenario is: hg clone https://vim.googlecode.com/hg/ vim cd vim/src ...
0
votes
2answers
241 views

Installing MySQL 5.5 on Mac OS 10.6

I am trying to install MySQL from source on my Mac OS. I've expanded the source code, and am now trying to configure it. However, I can't get past that step: ...
6
votes
3answers
313 views

How can I build and install PL/R as a non-privileged user?

There is a postgres instance, and I have the ability to build my own instance. Using these instructions I ran: USE_PGXS=1 make which worked but then USE_PGXS=1 make install did not, with this ...
3
votes
1answer
142 views

unresolved dependencies of bz* files for rpm make from source

I am trying to do a build of rpm from source. I got through the ./configure and ran through a good chunk of make. Unfortunately I keeping getting stopped up on undefined references to bzerror, ...
1
vote
2answers
439 views

How do I compile Python 3.2 on NetBSD? Error code 127

I'm getting strange errors when I try to compile Python 3.2 on NetBSD 5.1: python ./Objects/typeslots.py < ./Include/typeslots.h > ./Objects/typeslots.inc python: not found *** Error code 127 ...
2
votes
1answer
511 views

What does this error mean when installing namecoin?

I'm trying to set up namecoin, but I get the following error on running makefile.unix: $ g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH DFOURWAYSSE2 -DUSE_SSL -DUSE_UPNP=0 -o ...
1
vote
1answer
312 views

Issues compiling Tanuki Java Service wrapper version 3.1.2 under armv5tel architecture

Basically I need this specific version of the Tanuki Java Service Wrapper to run a specific Java application. I downloaded the source from the Tanuki website and I'm trying to compile it from source. ...
0
votes
1answer
629 views

mon linux monitor install on centos - can't find glib.h although present

I am trying to install the linux_monitor package under Centos 5.5. When I try make I get: make[3]: Entering directory `/tmp/linux_monitor-2.0RC3/src/server' if gcc -DHAVE_CONFIG_H -I. -I. ...
5
votes
4answers
813 views

Does optimizing for size reduce runtime memory usage as well as binary size?

Does optimizing for size with gcc -Os only reduce the binary size of a program, or does it reduce its runtime memory usage as well? I know what exactly the results are depend on the specific code, but ...
6
votes
1answer
304 views

Why would one want to compile multiple .cpp files to the same executable?

Why would you do g++ -Wall -I/usr/local/include/thrift *.cpp -lthrift -o something instead of: g++ -Wall -I/usr/local/include/thrift -c Something.cpp -o something.o g++ -Wall ...
3
votes
2answers
329 views

What does this Linux command do?

g++ -Wall -I/usr/local/include/thrift *.cpp -lthrift -o something I am new to Linux and am trying to learn "as I go along"....This is from the Apache Thrift website. Also is the -I/usr supposed to ...