Everything that includes the source code of Unix programs for example compiling, installing or how to retrieve the code for studying.

learn more… | top users | synonyms

1
vote
0answers
32 views

Building HDF5 with GCC 4.7 and OpenMPI

I am trying to install hdf5 with GCC 4.7 from binary, because I do not have root permissions, using following script on a machine using CentOS release 5.6(AMD64bit): module purge module unload ...
4
votes
1answer
365 views

get kernel source code

I need a specific kernel version to compile it with some additional modules. When I typing: uname -r I get 3.8.0-29-generic I need this one. uname -a Linux "..." 3.8.0-29-generic ...
1
vote
2answers
57 views

Using source downloaded on windows on Linux platform

I downloaded the Linux source code from the git repository on Windows and then copied the files to Fedora. I am unable to the build the kernel. Is this, because I downloaded the source on Windows ...
16
votes
5answers
844 views

Where does uname get its information from?

Where does uname really get its information from? I figure this is something that should be straightforward. Unfortunately, I can't find any header containing just that information. Say someone ...
2
votes
2answers
75 views

Ubuntu kernel source code package

Can somebody explain me the difference between the following files: drwxr-xr-x 28 root root 4096 Apr 22 12:04 linux-lts-raring-3.8.0 -rw-r--r-- 1 root root 15209788 Mar 14 03:38 ...
0
votes
1answer
36 views

searching for sysvinit in a linux tree

This is the tree for petalinux. https://github.com/Xilinx/linux-xlnx/tree/xlnx_3.8 I am looking for sysvinit package,which contains things like init ,halt etc. When this source code is compiled we ...
3
votes
3answers
77 views

Source files with `*.in` extension

When poking around in some source code trees, sometimes I encounter files with extension "*.in", typically for non-compiled files that belong somewhere under /etc or /usr/share. For example, in ...
0
votes
1answer
64 views

How to download Debian package's source code?

I want to read source code of some package in Debian, how can i do that?
0
votes
1answer
48 views

unpack and patch source rpm (rpmbuild -bp) safely

I want to unpack source RPM and apply patches to the upstream source. What is almost OK for me is rpm -i mypkg-*.src.rpm cd ~/rpmbuild rpmbuild -bp SPECS/mypkg.spec # frolic in BUILD/mypkg My ...
6
votes
1answer
245 views

Source code of the screens of debian-installer

Where do I can find the source code of the screens of the installation process of Debian? I've tried: apt-get source debian-installer But in this package I do not see the source code. To be more ...
4
votes
1answer
97 views

How to relate a kernel config setting to the source files?

Here is an example that will explain better: I have a selected the audio driver from the picture and i would like to browse through its source. How do i get to the path of the source files from ...
1
vote
1answer
57 views

How to compile a Debian package from source?

Newbie Ubuntu user here... I use a tool called YUMI to create a USB boot device. Its Debian package and its source can be downloaded from http://www.pendrivelinux.com/yumi-multiboot-usb-creator/. I ...
1
vote
1answer
116 views

Command to Download Source Files in FreeBSD

In most Linux distros there is a command sometimes the same one used to install or build (compile) packages with extra switch; which just download the source files instead of building or installing ...
1
vote
1answer
248 views

How to pass arguments to 'source' command?

My source command in the CShell goes like this : source /directory/of/script/script.csh The script.csh executes and in between, waits for my password to confirm the identity. I am tired of typing ...
1
vote
2answers
124 views

What is SVN snapshot?

In the last lines of website http://gfs.sourceforge.net/wiki/index.php/Mac_OSX_Installation it says Optional tools Download the latest SVN snapshot from http://ffmpeg.org/releases/ Unpack and ...
1
vote
1answer
110 views

Difference between .tar.gz.asc, git.tar.bz2 and .tar.bz2

I have a Mac running OSX 10.9.1 and I want to install Gerris and its dependencies. In the last lines of the page I have to install ffmpeg. But there are lots of releases of ffmpeg. Which one I should ...
3
votes
2answers
126 views

Exploding amount of Debian source code lines

According to the table at the Source lines of code article at Wikipedia, the amount of Debian source code lines rapidly grew to over 324m LoC (Lines of Code) in 2009: 2000: 55-59m 2002: 104m 2005: ...
1
vote
1answer
27 views

How to type from the source directory on mac

In the website http://gfs.sourceforge.net/wiki/index.php/Mac_OSX_Installation In this line: type from the source directory ... What is source directory referring to ?
3
votes
2answers
114 views

Edit tree to output in custom format?

I'd like to get a custom output from the tree command, but unlike this question, I don't have a fixed format. I'd like to be able to give the command the format in an argument (for instance perhaps ...
0
votes
1answer
196 views

CheckInstall on CentOS

I am attempting to make CheckInstall on a clean version of CentOS however I am having difficulty, I receive the following error: [root@host checkinstall-1.6.2]# make for file in ...
1
vote
1answer
62 views

Failed make when installing madplay source

I am attempting to get madplay installed on my shared host I've run: ./configure --prefix=$HOME CPPFLAGS="-I /home/dir/include" LDFLAGS="-L /home/dir/lib" and then "make", but on that on run into ...
6
votes
3answers
1k views

Installing Git, Curl, and Expat from Source

I have a RHEL 6.4 VM provisioned by my companies internal KVM. We are having some trouble using yum (Cannot retrieve repository metadata, which Ive confirmed in this case is peculiar to my company's ...
0
votes
0answers
28 views

python3.3 build from source

When running make test while doing a build from source for python3.3 I had 25 tests skipped and 14 skips unexpected on linux. OS Debian 7.0 64 bit server. How can I figure out what packages are ...
4
votes
4answers
81 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 ...
0
votes
2answers
81 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 ...
2
votes
1answer
127 views

Where in the linux kernel sources can I find a list of the different keyboard scancodes?

I was looking for a list of keyboard scancodes in the linux kernel sources, but I did not find anything. Does someone know where to find these? Especially the USB scancodes would be interesting.
0
votes
0answers
91 views

Shell Script : Check for all the source files in different paths

This is the naming convention of the file. <yearmonthdate>_<sourcesystem>_<totalnoofpartsof file>_<subject area>_<part number>.dat (or .dat.gz) First part is Date, ...
2
votes
4answers
75 views

Is it possible to trace Linux source from initial bootup to desktop-GUI userland code?

I am wondering if, since Linux is 100% open-source, it is possible to follow line-by-line instructions of Linux to observe how the OS works entirely, so that one may get a better knowledge of how OSes ...
2
votes
0answers
581 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
2answers
200 views

How to view source of “string.h” and other library function source code in gedit of Ubuntu?

I remember viewing source code of library function but now I don't know how to view it. Can someone help me viewing source code of library function?
2
votes
1answer
79 views

How can I determine the date when a piece of software was installed from source?

I've been asked to find out when a specific version of software was installed. The only thing I have to go on are the modification times of the directories in question. I'm having a hard time ...
1
vote
3answers
92 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 ...
1
vote
2answers
178 views

What is the website for `say` program?

Embarrassing, but after system upgrade say vanished from it -- either it is no longer provided by the distro, or I installed it independently before (but I don't remember how and where from). The ...
1
vote
1answer
453 views

Where Do I get Source package for Perf tool

I am looking for source package of perf tool ,which I wanted to compile for ARM Linux ,I have already set up the cross compile tool chain. I have compiled the the oprofile and got it ...
2
votes
2answers
65 views

Is there a distribution-independent tool to autocompile+install dependencies?

I like the way e.g. ArchLinux' yaourt (or if you're not that lazy, abs+makepkg; and from what I read so far, Gentoo's ebuild as well) automatically take care of obtaining, compiling and installing ...
2
votes
1answer
153 views

Modify and boot linux kernel on mobile device [closed]

During my education I have been developing Android iOS apps and websites for almost 18 months. Now, as my final year project, I am working on Linux source code with the goal to boot it on a mobile ...
0
votes
1answer
206 views

Help for download the android by the Cygwin Terminal

I have a problem for download android by Cygwin Terminal in windows. I use this guide for download it: - 1) Download cygwin from http://cygwin.com/install.html. - 2) Install cygwin with defaults.In ...
1
vote
1answer
53 views

Where to place source code for applications compiled from source?

In the past when I have compiled applications from source I have extracted the source code to ~/src and compiled from there. I realize now that there may be no need for me to create the ~/src ...
-2
votes
3answers
929 views

Can't install software in Debian 6

I installed Debian 6 Squeez on my virtual machine and I can't install software using aptitude or apt-get. This is my sources.list file: root@debian:/etc/apt# cat sources.list # # deb cdrom:[Debian ...
2
votes
1answer
406 views

Can I use yum to manage a “package” installed from source

I am running CentOS 5.5. I need to upgrade some packages to newer versions, unfortunately they're not available. I am stuck building from source. Is there a simple way to use yum to manage ...
0
votes
1answer
891 views

Difficulty installing PHP from source to CentOS 6.4

The problem: After installing PHP from source, functionality is not present - my phpinfo test page does not work. If I use yum to install from the repository functionality is restored. Why am I ...
-1
votes
1answer
86 views

How to use the “source” command to do parallel computing?

For example, I have an executable called ex01 (C++ program). And I have a text file that contains a set of invocations of this program with different arguments. The text file looks like this: ...
-1
votes
1answer
350 views

How to install kdesudo in OpenSUSE 12.3

I'm hoping this is a stupid question with a simple answer, but I've been hunting around for half an hour and cannot find a way to install kdesudo in OpenSUSE 12.3. I need to use kdesudo because kdesu ...
1
vote
0answers
372 views

Error trying to build pango (1.34.1) and harfbuzz (0.9.18) from source

So I'm trying to build pango from source (in my home directory, as a dependency to something else I need). This is on a computing cluster running SLES 11. When compiling, I get the following error: ...
2
votes
2answers
122 views

How to config my.cfg file for mysql which was installed from sources?

I installed MySQL 5.6 from sources on debian. MySQL folder is /usr/local/mysql. Here is several question: 1) I would like to config my.cfg. But I couldn't find several parameters: socket ...
1
vote
1answer
88 views

How can I build fdupes from source on Ubuntu?

I would like to make a few changes to the fdupes code. I know I can grab the source code from the website - but is there a better way on Ubuntu / Debian? After getting the source this way where is ...
2
votes
1answer
196 views

Build binary and dependencies without sudo

I want to install a piece of software (rtorrent) from source to my home folder. It depends on ncurses, which is not installed. I've installed ncurses to my home folder by using the PREFIX option ...
0
votes
1answer
308 views

debian cannot install kernel source

I want to use debian linux for my laptop again. So I took my old debian 6.0 cds and installed it. From the last time I know, that I have to build the driver for my Atheros AR8151 Gigabit Ethernet ...
4
votes
2answers
126 views

printing .cpp file from command line using emacs

The goal is to print a set of *.cpp files on a network printer, but... in a way that the (color) printer prints the files like they appear in the c++ editor including the colors and highlighting. And ...
2
votes
2answers
986 views

Use a specific interface for a specific destination subnet (source IP setting)

I am looking for some sort of routing trickery to set a specific source IP: Local machine has two IPs; Eth1: 192.168.0.1 Eth1:2 192.168.0.2 Default gateway is 192.168.0.254 via Eth1 Remote subnet ...