Difference between revisions of "Installsources"

From Funtoo Linux
Jump to: navigation, search
(This is an initial page about the installsources feature of Portage.)
 
Line 1: Line 1:
 
The <code>installsources</code> feature of Portage is useful to have source code available for installed packages for debugging purposes. The feature will cause Portage to copy the source code used to build a package to an appropriate subdirectory of <code>/usr/src/debug</code>. For example, if <code>=x11-libs/gtksourceview-2.10.5-r1</code> is installed, then its source code would be found in <code>/usr/src/debug/x11-libs/gtksourceview-2.10.5-r1</code>. In order to use this feature, <code>debugedit</code> needs to be installed.
 
The <code>installsources</code> feature of Portage is useful to have source code available for installed packages for debugging purposes. The feature will cause Portage to copy the source code used to build a package to an appropriate subdirectory of <code>/usr/src/debug</code>. For example, if <code>=x11-libs/gtksourceview-2.10.5-r1</code> is installed, then its source code would be found in <code>/usr/src/debug/x11-libs/gtksourceview-2.10.5-r1</code>. In order to use this feature, <code>debugedit</code> needs to be installed.
  
This feature is enabled by adding <code>installsources</code> to the <code>FEATURES</code> variable of <code>/etc/make.conf</code> or by specifying on the command line.
+
{{feature|installsources}}
  
 
[[Category:Portage Features]]
 
[[Category:Portage Features]]

Revision as of 04:40, 9 November 2010

The installsources feature of Portage is useful to have source code available for installed packages for debugging purposes. The feature will cause Portage to copy the source code used to build a package to an appropriate subdirectory of /usr/src/debug. For example, if =x11-libs/gtksourceview-2.10.5-r1 is installed, then its source code would be found in /usr/src/debug/x11-libs/gtksourceview-2.10.5-r1. In order to use this feature, debugedit needs to be installed.

To enable installsources add the following to the bottom of /etc/make.conf.

Code: /etc/make.conf

FEATURES="${FEATURES} installsources"

Personal tools
Namespaces

Variants
Actions
Categories
Toolbox
Stuff