| 
 Posted by J.O. Aho on 06/14/31 11:44 
anthony wrote: 
> J.O. Aho wrote: 
>> echo "dev-lang/php msql" >> /etc/portage/package.use 
>> emerge =dev-lang/php-5.1.2 
 
> I was actually attempting to keep compiling php by hand. 
 
As with ALL packages managed distros you will break dependency when you don't  
use the package manger to install packages. 
 
 
> Unless theres a  
> way I can force it to use a specific cvs vers of php from snaps.php.net  
> via emerge? 
 
You need to build your own ebuilds which you place in the PORTDIR_OVERLAY. 
There are two ways to do CVS-ebuilds 
 
  1. hardcoded to a version and this is the most common way they are offered 
 
  2. dynamical versions, download the source directly from the CVS and compile  
those, there are a bunch of those in the portage tree so check cvs-ebuilds for  
  guidelines. 
 
 
> If so, then ill just add all my php flags and stuff into  
> package.use. I have use to compile apache by hand too, but now i just do  
> php. 
 
If you are testing new features in PHP and Apache, I do highly recommend you  
do make ebuilds and submit those to the gentoo bugzilla and in that way  
contribute to Gentoo and it's users. 
 
http://gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild 
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1 
 
 
  //Aho
 
[Back to original message] 
 |