Compiling is the process of transforming source code into byte codes for a particular computer architecture.
Questions tagged [compiling]
1528 questions
15
votes
7 answers
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 and as it says in its README, I ran make in the…

makhlaghi
- 681
10
votes
1 answer
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 it?

Evan Carroll
- 30,763
- 48
- 183
- 315
4
votes
1 answer
libcanberra is failing to build
I got version 0.26 from libcanberra site, and running make gives:
make[2]: *** No rule to make target `README', needed by `all-am'. Stop.
make[2]: Leaving directory `/home/wena/src/gnome/libcanberra-0.26/doc'
make[1]: *** [all-recursive] Error…

tshepang
- 65,642
4
votes
3 answers
Edit and recompile individual program
whereis pwd
pwd: /bin/pwd /usr/include/pwd.h /usr/share/man/man1/pwd.1.gz
The pwd in the binary folder is not the same as
type pwd
pwd is a shell builtin
so wouldn't it be harmless to do some experimentation on the external pwd? Like, adding a…

Emanuel Berg
- 6,903
- 8
- 44
- 65
4
votes
1 answer
MAME saving but not restoring games
Background
I discovered Ms. PacMan some time ago, but you don't see many of that game in arcades. Then I did find out about mame (version 0.145), available on my Linux (Ubuntu) machine and about running Ms. PacMan and that works.
Problem
When I save…

Timo
- 53
3
votes
1 answer
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 this:
SOURCES=boot.o main.o
CC=gcc
CFLAGS=-nostdlib…

gideon
- 353
3
votes
3 answers
How to stop warnings from being treated as errors in JHBuild
I tried building mutter module using JHBuild and it fails:
make[4]: Entering directory `/home/wena/src/mutter/src'
CC screen.lo
core/screen.c: In function 'reload_monitor_infos':
core/screen.c:445:16: error: variable 'display' set but…

tshepang
- 65,642
2
votes
1 answer
"Wrong version of libnet" when configuring nemesis
Whenever I try to configure Nemesis it stops at "checking libnet version....no" and claims I have the wrong version. I have checked my libnet folder to make sure, and I do have the right version. Version 1.0.2a. So why is it believing that I have…

Dividan84
- 21
- 3
2
votes
1 answer
determine what is processing command GB_INIT()
debian wheezy (raspbian armhf) and i'm struggling to compile gambas3 from source:
pi@raspberrypi ~/gambas-svn $ ./configure
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install...…

Lee Tickett
- 113
- 9
2
votes
1 answer
Compiling LightScreen on Linux Mint 18.1
I am having issues compiling a claimed to be Linux compatible application on Linux Mint 18.1. The application in particular is called Lightscreen. Everything has gone smoothly besides using the make command.
Here is the command process I have done…

Ookinder
- 319
2
votes
1 answer
Error with make and sudo make install command in terminal
I am running BackBox Linux version 4.6.
Trying to install GdMap version 0.8.1.
I've entered:
./configure
and then:
make
and this is what I got:
make all-recursive make1: Entering directory /home/wh1t3ni9ht/Desktop/New Folder/gdmap-0.8.1'
Making…

Wh1t3 Ni9ht
- 23
2
votes
0 answers
What are the required build dependencies of mesa for Debian-based distros?
My target is about playing Team Fortress 2 on Kali Linux (a Debian Wheezy stable distribution with customized Debian Sid kernel) since a long time now, but couldn't because of the following graphical glitches:
Bad dark textures
Very low FPS
Low…

X.LINK
- 1,314
2
votes
3 answers
Source of biggest machine-code optimization
I've read somewhere that recompiling libc with the -march=native and -mtune=native flags will provide the maximum benefit for programs, where shared libraries are used instead of static libraries. Is this true, and might there be any additional…

saiarcot895
- 1,371
1
vote
1 answer
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] Error 1
make[2]: Leaving directory…

Evan Carroll
- 30,763
- 48
- 183
- 315
1
vote
1 answer
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:
##################################################################
# ERROR: Could not find library archive…

Sergio
- 133