Compiling is the process of transforming source code into byte codes for a particular computer architecture.
1
vote
1answer
274 views
How can I use my server to compile a kernel for my laptop?
My laptop, an HP pavilion with an nVidia card, has some issues with suspending. Namely firewire breaks on suspend and the nvidia drivers cause Xorg to hang on resume. I'd like to compile my own kernel ...
2
votes
2answers
170 views
How to build all of Debian
Let's assume:
I have a mirror of the source repository locally.
I only want to build for the architecture I'm running, which is i386 in my case.
I'm not interested in customisation. In fact, I want ...
2
votes
5answers
2k views
Kernel can't find /dev/sda file during boot
I configured a gentoo kernel (kernel-2.6.36-gentoo-r5), but when I boot it can't mount /dev/sda1:
ALERT! /dev/sda1 does not exist . Dropping to a shell .
I use the shell to go to the /dev ...
1
vote
1answer
813 views
qmake looking for lib files named *.pc
I'm trying to compile some software (FocusWriter) on openSUSE 11.3, (linux 2.6.34.7-0.5-desktop). (I can't find an actual download link to the alleged openSUSE RPM...just lots of metadata about the ...
8
votes
2answers
172 views
best way to set up separate linux environment in ~
I do most of my work (involves a lot of C/Python) on a development server that is shared with several other people. As a result we all seem to do a bit of the system administration chores (there is ...
7
votes
6answers
918 views
Compiling code from vim
New to vim and and I want to be able to compile code from within vim without running a new terminal and calling the compiler.
How do I go about doing this? Note that this requirement is not ...
1
vote
1answer
881 views
Mod_Auth_MySQL will not compile under Slackware 13
I tried to add the auth_mod_auth (3.0.0) module to my Slackware 13 (apache 2.2 & MySQL 5.0) system.
I ran the usual command line for apxs (as mention in the BUILD file)
apxs -c -L/usr/lib/mysql ...
1
vote
0answers
282 views
error booting the custom compiled kernel 2.6.37 on ubuntu 10.04 : gave up waiting on root device [duplicate]
Possible Duplicate:
Kernel can't find /dev/sda file during boot
Hi,
I know this is very common problem and there are many threads discussing it. However after trying many solutions ...
1
vote
1answer
228 views
What is the meaning of Scratchbox2?
Somewhere i heard the term 'Scratchbox2'. Why this is used? what is the exact meaning of this?
What is the advantages over Scratchbox 1?
17
votes
6answers
3k views
Force directory to always be in cache
I've been testing out different methods to improve the time it takes to compile my entire c++ project. Currently it takes ~5 minutes. I experimented with distcc, ccache, and others. Recently, I ...
1
vote
1answer
463 views
How to build-compile a .c file
I have little experience with LINUX . I am using Debian.
It has a library glibc which has several useful programs.
iconv is the program that i want to use to do several charset conversions...
However ...
13
votes
2answers
878 views
What is Wayland?
I was looking for a lightweight X server, but failed to find one. Then I found out about Wayland. I says that it aims to coexist with X, but can run standalone.
When I try to compile it, it needs ...
4
votes
1answer
213 views
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 ...
1
vote
0answers
216 views
kernel compilation error [duplicate]
Possible Duplicate:
Kernel can't find /dev/sda file during boot
I got the following errors after new kernel compilation (linux-2.6.25.tar.bz2)
mount: could not find filesystem ...
1
vote
1answer
115 views
Is it possible to compile a code from within target?
I have a target in which i have the toolchain installed with the RFS image.
If i have the kernel source code in some PC in the network which i can mount via NFS, is it possible to compile the source ...
5
votes
2answers
571 views
Do I need to cross-compile my program when my target is 64 bit arch. and host is 32 bit arch from x86 family?
I have scenario in which
my host is : x86 32 bit processor
my target is : x86 64 bit processor
I have a couple of questions :
I want to know if i can simply
compile a program in my host using
...
2
votes
2answers
1k views
How to use STL in unix and linux?
How to use STL(standard template library) in HP-Unix . How to compile and run the program with STL functions?
4
votes
3answers
2k views
Why does my vim-7.3 compile fail to include clientserver?
I am trying to compile vim-7.3 will all features enabled. I ran configure with
$ ./configure --with-features=huge --enable-gui --enable-cscope
$ make ; make install
When I check the version, it ...
4
votes
2answers
74 views
Get list of required libraries when installing something from source
When installing something from source (say, Ruby 1.9.2), what command can I run to get a complete list of all the dependencies needed to install that application? Is this possible?
4
votes
3answers
862 views
Recompile Kernel to Change Stack Size
I need to recompile my kernel on RHEL WS5 with only two changes.
Change stack size from 4k to 8k
Limit usable memory to 4096.
How do I recompile the kernel without changing anything else but ...
3
votes
4answers
1k views
How do I install GCC on a system with no compiler?
I've been messing around with my NAS which runs on Linux. I have root access, but there is no compiler. I seem to remember something about being able to compile on another system, but I'm not certain.
...
2
votes
1answer
670 views
linux static compilation issue
I am building testdisk as static and when i run
make static
i am getting the following error
/usr/bin/ld: cannot find -luuid
collect2: ld returned 1 exit status
what's the problem?
...
7
votes
5answers
1k views
Benefit of kernel module compiled inside kernel?
What's the benefit of compiling kernel modules into the kernel (instead of as loadable modules)?
2
votes
1answer
261 views
Kernel memory allocator patch
Is there any patch for Linux kernel to use different memory allocators, such as ned allocator or TLSF allocator?
9
votes
5answers
3k views
Compiling GNU/Linux with -O3 optimization
It's said that compiling GNU tools and Linux kernel with -O3 gcc optimization option will produce weird and funky bugs. Is it true? Has anyone tried it or is it just a hoax?
12
votes
2answers
4k views
What is the Fedora equivalent of the Debian build-essential package?
What is the Fedora equivalent of the Debian build-essential package?
2
votes
2answers
1k views
libX11.so.6 Not found
I tried to make && make install package, but I get an error:
libX11.so.6 not found
Where can i get this lib?
53
votes
12answers
4k views
What is the benefit of compiling your own linux kernel?
What benefit could I see by compiling a Linux kernel myself? Is there some efficiency you could create by customizing it to your hardware?
13
votes
5answers
591 views
How to compile and install programs from source
This is an issue that really limits my enjoyment of Linux. If the application isn't on a repository or if it doesn't have an installer script, then I really struggle where and how to install an ...
14
votes
5answers
903 views
Is automake and autoconf the standard way to compile code?
I sometimes compile apps from source and I've either been using:
./configure
make
sudo make install
But recently, I came across ./autogen.sh which generates the configure and make scripts for me ...
43
votes
16answers
3k views
Where should I put software I compile myself?
I need to compile some software on my Fedora machine. Where's the best place to put it so not to interfere with the packaged software?
12
votes
13answers
642 views
Distros that support compiling from source
A long time ago I used to use FreeBSD with its ports system and after that Gentoo for portage in order to install applications via compiling from source. I did this in order to directly target my ...