From Electron Cloud
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[http://www.gentoo.org/doc/en/gentoolkit.xml#doc_chap2 Find the package origin of a file:]
+
* [http://www.gentoo.org/doc/en/gentoolkit.xml#doc_chap2 Find the package origin of a file:]
  
 
<pre>
 
<pre>
 
equery belongs file
 
equery belongs file
 
</pre>
 
</pre>
 +
 +
* Manually configure a package: this is an old FAQ which has been dumbed down in newer versions of the FAQ document.
 +
 +
I want to perform the ./configure step myself. Can I?
 +
 +
Yes, but it is not trivial. First do man ebuild followed by ebuild foo-x.y.z.ebuild unpack. Then cd to
 +
/var/tmp/portage/foo-x.y.z/work. You can manually perform the ./configure and make steps yourself (you'll have
 +
to do both, since Portage does not separate the configure and build steps). To have Portage finish the
 +
installation (so that you can easily remove it later, should you desire to do so, and it will be registered in
 +
Portage as a possible dependency) you first need to touch /var/tmp/portage/foo-x.y.z/.compiled (tricking Portage
 +
into thinking that ebuild foo-x.y.z.ebuild compile has completed), followed by ebuild foo-x.y.z.ebuild merge.
 +
 +
* log in without a password:
 +
<pre>
 +
passwd -u username
 +
</pre>
 +
"unlocks" the account.  Now to log in that way with xdm: add this line to /etc/X11/xdm/XResources:
 +
<pre>
 +
xlogin*allowNullPasswd: true
 +
</pre>
 +
But there is a [https://bugs.freedesktop.org/show_bug.cgi?id=13455 bug], so you have to log in twice.
 +
 +
* [[bcpp]] the C++ code beautifier

Latest revision as of 10:17, 12 July 2008

equery belongs file
  • Manually configure a package: this is an old FAQ which has been dumbed down in newer versions of the FAQ document.
I want to perform the ./configure step myself. Can I?
Yes, but it is not trivial. First do man ebuild followed by ebuild foo-x.y.z.ebuild unpack. Then cd to 
/var/tmp/portage/foo-x.y.z/work. You can manually perform the ./configure and make steps yourself (you'll have 
to do both, since Portage does not separate the configure and build steps). To have Portage finish the 
installation (so that you can easily remove it later, should you desire to do so, and it will be registered in 
Portage as a possible dependency) you first need to touch /var/tmp/portage/foo-x.y.z/.compiled (tricking Portage
into thinking that ebuild foo-x.y.z.ebuild compile has completed), followed by ebuild foo-x.y.z.ebuild merge.
  • log in without a password:
passwd -u username

"unlocks" the account. Now to log in that way with xdm: add this line to /etc/X11/xdm/XResources:

xlogin*allowNullPasswd: true

But there is a bug, so you have to log in twice.

  • bcpp the C++ code beautifier