RE: [gentoo-user] dev-lang/php-5.1.4 emerge failing [SOLVED]

2006-05-23 Thread Jason Ausmus
Thanks to the people who tried to help me figure this out.

It turns out the issue with emerging php (missing mysql libraries) had
to do with a buggy custom eclass that had been put by this box's
previous admin under one of the portdir_overlay directories.  When I
renamed the overlay'ed eclass dir to eclass.old, I was instantly able to
emerge mysql (and it actually emerged this time).  Once that was done, I
was able to emerge php with no problems.

Thanks again,
Jason

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] dev-lang/php-5.1.4 emerge failing

2006-05-22 Thread Jason Ausmus
 -Original Message-
 From: kashani [mailto:[EMAIL PROTECTED] 
 Sent: Friday, May 19, 2006 11:04 AM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] dev-lang/php-5.1.4 emerge failing
 
 Jason Ausmus wrote:
  Okay, here's another one:
  
  I can't emerge dev-lang/php-5.1.4.  It fails like this:
  
  -
  
  checking for mSQL support... no
  checking for MSSQL support via FreeTDS... yes checking for 
 dnet_addr 
  in -ldnet_stub... no checking for MySQL support... yes checking for 
  specified location of the MySQL UNIX socket...
  /var/run/mysqld/mysqld.sock
  checking for MySQL UNIX socket location... 
 /var/run/mysqld/mysqld.sock
  configure: error: Cannot find MySQL header files under 
 /usr/lib/mysql.
  Note that the MySQL client library is not bundled anymore!
  
  !!! ERROR: dev-lang/php-5.1.4 failed.
 
   I see that you're updating from 5.1.1 which was 
 released several month ago, maybe Dec/Jan? Around that time 
 slotted Mysql was active. It is possible that you Mysql libs 
 are installed into /usr/lib/mysql-500 or something similar? 
 Assuming you do I'd update Mysql first to a non slotted build 
 and then try to install PHP again.

ls /usr/lib/my* returns nothing.

 
 BTW if you're messing with Mysql 5.0 there was a default 
 charset change from latin1 to utf8 around that time as well 
 so watch your my.conf file. 
   Bugzilla was very unhappy when its charsets suddenly changed.

`find / -iname my.conf` returns nothing.  Where should I look for it? 

Any other ideas, or any other info I can give to help figure this out?

Thanks,
Jason

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dev-lang/php-5.1.4 emerge failing

2006-05-22 Thread Ryan Tandy

Jason Ausmus wrote:


BTW if you're messing with Mysql 5.0 there was a default 
charset change from latin1 to utf8 around that time as well 
so watch your my.conf file. 
  Bugzilla was very unhappy when its charsets suddenly changed.


`find / -iname my.conf` returns nothing.  Where should I look for it? 


Any other ideas, or any other info I can give to help figure this out?

Thanks,
Jason



Someone typoed - the file is actually my.cnf.
--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] dev-lang/php-5.1.4 emerge failing

2006-05-22 Thread Jason Ausmus
 -Original Message-
 From: Jason Ausmus [mailto:[EMAIL PROTECTED] 
 Sent: Monday, May 22, 2006 9:46 AM
 To: gentoo-user@lists.gentoo.org
 Subject: RE: [gentoo-user] dev-lang/php-5.1.4 emerge failing
 
  -Original Message-
  From: kashani [mailto:[EMAIL PROTECTED]
  Sent: Friday, May 19, 2006 11:04 AM
  To: gentoo-user@lists.gentoo.org
  Subject: Re: [gentoo-user] dev-lang/php-5.1.4 emerge failing
  
  Jason Ausmus wrote:
   Okay, here's another one:
   
   I can't emerge dev-lang/php-5.1.4.  It fails like this:
   
   -
   
   checking for mSQL support... no
   checking for MSSQL support via FreeTDS... yes checking for
  dnet_addr
   in -ldnet_stub... no checking for MySQL support... yes 
 checking for 
   specified location of the MySQL UNIX socket...
   /var/run/mysqld/mysqld.sock
   checking for MySQL UNIX socket location... 
  /var/run/mysqld/mysqld.sock
   configure: error: Cannot find MySQL header files under
  /usr/lib/mysql.
   Note that the MySQL client library is not bundled anymore!
   
   !!! ERROR: dev-lang/php-5.1.4 failed.
  
  I see that you're updating from 5.1.1 which was 
 released several 
  month ago, maybe Dec/Jan? Around that time slotted Mysql 
 was active. 
  It is possible that you Mysql libs are installed into 
  /usr/lib/mysql-500 or something similar?
  Assuming you do I'd update Mysql first to a non slotted 
 build and then 
  try to install PHP again.
 
 ls /usr/lib/my* returns nothing.
 
  
  BTW if you're messing with Mysql 5.0 there was a default charset 
  change from latin1 to utf8 around that time as well so watch your 
  my.conf file.
Bugzilla was very unhappy when its charsets suddenly changed.
 
 `find / -iname my.conf` returns nothing.  Where should I look for it? 
 
 Any other ideas, or any other info I can give to help figure this out?
 
 Thanks,
 Jason
 
 --
 gentoo-user@gentoo.org mailing list
 
 

In case this helps, I have this weird thing going on with mysql:

if I try to unmerge then reemerge mysql, this is what it looks like:

---

h0486tux etc # emerge -C mysql

 dev-db/mysql
selected: 5.0.21
   protected: none
 omitted: none

 'Selected' packages are slated for removal.
 'Protected' and 'omitted' packages will not be removed.

 Waiting 5 seconds before starting...
 (Control-C to abort)...
 Unmerging in: 5 4 3 2 1
 Unmerging dev-db/mysql-5.0.21...
No package files given... Grabbing a set.
 Regenerating /etc/ld.so.cache...

 * GNU info directory index is up-to-date.

h0486tux etc #

---

h0486tux etc # emerge  mysql
Calculating dependencies... done!
 Emerging (1 of 1) dev-db/mysql-5.0.21 to /
 checking ebuild checksums ;-)
 checking auxfile checksums ;-)
 checking miscfile checksums ;-)
 Unpacking source...
 Source unpacked.
 Compiling source in /var/tmp/portage/mysql-5.0.21 ...
 Source compiled.
 Test phase [not enabled]: dev-db/mysql-5.0.21

 Install mysql-5.0.21 into /var/tmp/portage/mysql-5.0.21/image/
category dev-db
 Completed installing mysql-5.0.21 into
/var/tmp/portage/mysql-5.0.21/image/

man:
 Merging dev-db/mysql-5.0.21 to /
 Safely unmerging already-installed instance...
No package files given... Grabbing a set.
 Original instance of package unmerged safely.
 Regenerating /etc/ld.so.cache...
 dev-db/mysql-5.0.21 merged.
 Recording dev-db/mysql in world favorites file...

 No packages selected for removal by clean.

 Auto-cleaning packages...

 No outdated packages were found on your system.


 * GNU info directory index is up-to-date.

h0486tux etc #

---

Both steps take about 20 seconds to complete.  What is actually being
done here?... because it doesn't seem like anything is happening at all.

Jason

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] dev-lang/php-5.1.4 emerge failing

2006-05-22 Thread Jason Ausmus
 

 -Original Message-
 From: Ryan Tandy [mailto:[EMAIL PROTECTED] 
 Sent: Monday, May 22, 2006 1:31 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] dev-lang/php-5.1.4 emerge failing
 
 Jason Ausmus wrote:
  
  BTW if you're messing with Mysql 5.0 there was a default charset 
  change from latin1 to utf8 around that time as well so watch your 
  my.conf file.
Bugzilla was very unhappy when its charsets suddenly changed.
  
  `find / -iname my.conf` returns nothing.  Where should I 
 look for it? 
  
  Any other ideas, or any other info I can give to help 
 figure this out?
  
  Thanks,
  Jason
  
 
 Someone typoed - the file is actually my.cnf.
 --
 gentoo-user@gentoo.org mailing list
 

Thanks.

Okay, so I did a find / -iname my.cnf and this was the result:

---

h0486tux ~ # find / -iname my.cnf
/etc/mysql.old/my.cnf
/usr/local/portage/dev-db/mysql/files/my.cnf
/usr/portage/dev-db/mysql/files/my.cnf
/home/ausmusj/downloads/ebuilds/dev-db/mysql/files/my.cnf
find: /proc/18124/task/18124/fd/5: No such file or directory
find: /proc/18124/fd/5: No such file or directory



Is there anything weird about this output?  It doesn't seem like
everything is in place...

There is no /etc/mysql directory.

Jason

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dev-lang/php-5.1.4 emerge failing

2006-05-19 Thread kashani

Jason Ausmus wrote:

Okay, here's another one:

I can't emerge dev-lang/php-5.1.4.  It fails like this:

-

checking for mSQL support... no
checking for MSSQL support via FreeTDS... yes
checking for dnet_addr in -ldnet_stub... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket...
/var/run/mysqld/mysqld.sock
checking for MySQL UNIX socket location... /var/run/mysqld/mysqld.sock
configure: error: Cannot find MySQL header files under /usr/lib/mysql.
Note that the MySQL client library is not bundled anymore!

!!! ERROR: dev-lang/php-5.1.4 failed.


	I see that you're updating from 5.1.1 which was released several month 
ago, maybe Dec/Jan? Around that time slotted Mysql was active. It is 
possible that you Mysql libs are installed into /usr/lib/mysql-500 or 
something similar? Assuming you do I'd update Mysql first to a non 
slotted build and then try to install PHP again.


BTW if you're messing with Mysql 5.0 there was a default charset change 
from latin1 to utf8 around that time as well so watch your my.conf file. 
 Bugzilla was very unhappy when its charsets suddenly changed.


kashani
--
gentoo-user@gentoo.org mailing list