[gentoo-user] How To set compile time options in emerge
Hi, I installed php-4 via emerge but I am having problems getting php to work with mysql. After many research I have concluded that php-4 is not compiled with the with-mysql option. I need to recompile php-4 with the with-mysql option and reinstall it. How do I do that with emerge or some other ways? Many Thanks. --Oms.
Re: [gentoo-user] How To set compile time options in emerge
On Wednesday 18 January 2006 12:36, Oumar Ndiaye wrote: Hi, I installed php-4 via emerge but I am having problems getting php to work with mysql. After many research I have concluded that php-4 is not compiled with the -with-mysql option. I need to recompile php-4 with the -with-mysql option and reinstall it. How do I do that with emerge or some other ways? USE=mysql emerge dev-php/php !DSPAM:43cd2f93212386197110946! pgpAL9kXMi3qo.pgp Description: PGP signature
Re: [gentoo-user] How To set compile time options in emerge
On Thu, 19 Jan 2006 01:36:50 +1300 Oumar Ndiaye [EMAIL PROTECTED] wrote: I installed php-4 via emerge but I am having problems getting php to work with mysql. After many research I have concluded that php-4 is not compiled with the -with-mysql option. I need to recompile php-4 with the -with-mysql option and reinstall it. How do I do that with emerge or some other ways? Just edit /etc/make.conf, and then add mysql to USE. Also, emerge gentoolkit, so that in future you can just enter: 'equery u somepackage' and then it will describe all USE flags available for that package. -- Tom Martin, http://dev.gentoo.org/~slarti AMD64, net-mail, shell-tools, vim, recruiters Gentoo Linux signature.asc Description: PGP signature
Re: [gentoo-user] How To set compile time options in emerge
Simon Prosser schreef: On Wednesday 18 January 2006 12:36, Oumar Ndiaye wrote: Hi, I installed php-4 via emerge but I am having problems getting php to work with mysql. After many research I have concluded that php-4 is not compiled with the -with-mysql option. I need to recompile php-4 with the -with-mysql option and reinstall it. How do I do that with emerge or some other ways? USE=mysql emerge dev-php/php Which will work for this emerge, but if php is then upgraded, the USE flag will be disabled again. A better way is to either 1. add the mysql USE flag to /etc/make.conf USE flags (if you want to enable mysql support for all packages that might support it); or 2. add dev-php/php mysql to /etc/portage/package.use (to enable mysql support for this package only). If the folder /etc/portage already exists, you can just do # echo dev-php/php mysql /etc/portage/package.use to enable the USE flag for that specific package. HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How To set compile time options in emerge
Hi! Try the mysql use flag. Marton Gabor [EMAIL PROTECTED],ICQ UIN: 169394884,T: +36 30 447-2042 VE-MIK VeHoK informatikai megbizott informatika-l adminisztrator informatika-lev adminisztrator bsc-info adminisztrator gazdinfo adminisztrator Oumar Ndiaye wrote: Hi, I installed php-4 via emerge but I am having problems getting php to work with mysql. After many research I have concluded that php-4 is not compiled with the –with-mysql option. I need to recompile php-4 with the –with-mysql option and reinstall it. How do I do that with emerge or some other ways? Many Thanks. --Oms. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How To set compile time options in emerge
Oumar Ndiaye wrote: I need to recompile php-4 with the –with-mysql option and reinstall it. How do I do that with emerge or some other ways? You set appropriate USE flags. Alexander Skwar -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How To set compile time options in emerge
Oumar Ndiaye wrote: Hi, I installed php-4 via emerge but I am having problems getting php to work with mysql. After many research I have concluded that php-4 is not compiled with the –with-mysql option. I need to recompile php-4 with the –with-mysql option and reinstall it. How do I do that with emerge or some other ways? Many Thanks. --Oms. And here's some 1 minutes worth of my research: http://www.google.com/search?q=gentoo+php+mysqlstart=0start=0ie=utf-8oe=utf-8client=firefoxrls=org.mozilla:en-US:unofficial -- gentoo-user@gentoo.org mailing list