个人工具

“UbuntuHelp:DebuggingProgramCrash”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(正在重定向到 UbuntuWiki:DebuggingProgramCrash
(正在重定向到 UbuntuWiki:DebuggingProgramCrash
第4行: 第4行:
 
# If not, you can generally* build one this way:
 
# If not, you can generally* build one this way:
 
#* Something to keep in mind: if you would like to create a build you're going to need to have the relevant deb-src lines in your /etc/apt/sources.list
 
#* Something to keep in mind: if you would like to create a build you're going to need to have the relevant deb-src lines in your /etc/apt/sources.list
## Install the development scripts:  
+
## Install the development scripts: <pre><nowiki>
<pre><nowiki>
+
 
sudo apt-get install devscripts
 
sudo apt-get install devscripts
 
</nowiki></pre>
 
</nowiki></pre>
# Install the build-time dependencies for the package:  
+
## Install the build-time dependencies for the package: <pre><nowiki>
<pre><nowiki>
+
 
sudo apt-get build-dep <package>
 
sudo apt-get build-dep <package>
 
</nowiki></pre>
 
</nowiki></pre>
# Build .debs for debugging:  
+
## Build .debs for debugging: <pre><nowiki>
<pre><nowiki>
+
 
export DEB_BUILD_OPTIONS="debug nostrip noopt"
 
export DEB_BUILD_OPTIONS="debug nostrip noopt"
 
sudo apt-get source -b <package>
 
sudo apt-get source -b <package>
 
</nowiki></pre>
 
</nowiki></pre>
# Install the needed .debs (they will be in the current working directory if the build succeeded):  
+
## Install the needed .debs (they will be in the current working directory if the build succeeded): <pre><nowiki>
<pre><nowiki>
+
 
sudo debi <package>*.changes
 
sudo debi <package>*.changes
 
</nowiki></pre>
 
</nowiki></pre>

2007年12月6日 (四) 10:10的版本