From Electron Cloud
Jump to: navigation, search
Line 7: Line 7:
 
* Manually configure a package: this is an old FAQ which has been dumbed down in newer versions of the FAQ document.
 
* Manually configure a package: this is an old FAQ which has been dumbed down in newer versions of the FAQ document.
  
<blockquote>
+
I want to perform the ./configure step myself. Can I?
I want to perform the ./configure step myself. Can I?
+
 
<P>
+
Yes, but it is not trivial. First do man ebuild followed by ebuild foo-x.y.z.ebuild unpack. Then cd to  
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.
+
/var/tmp/portage/foo-x.y.z/work. You can manually perform the ./configure and make steps yourself (you'll have  
</blockquote>
+
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.

Revision as of 12:02, 18 December 2007

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.