Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 98225

Summary: php-5.1.0-b1 / mod_php-5.1.0-b1 do not work at all. Problems with unixODBC, DB, IMAP, MySQL
Product: Gentoo Linux Reporter: Lars Tiefland <ltiefland>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Lars Tiefland 2005-07-07 08:30:53 UTC
When I want to update php / mod_php to the newest version I get many problems.

First: unixODBC not found (could be fixed with a simple symlink
Second: Different version in header file for db (don't know how to fix)
Third: configure: error: Cannot find imap library (libc-client.a). Please check 
your c-client installation. (don't know what to check exactly)
Fourth: configure: error: Cannot find libmysqlclient under /usr/local.
Note that the MySQL client library is not bundled anymore! (don't know what to 
install to fix this)

Reproducible: Always
Steps to Reproduce:
1. I've set my useflags to include odbc, imap, db4, berkdb, mysql AND mysqli ==> 
first problem mentioned above
2. created symlink, unchanged use flags ==> second problem
3. deactivated db4 and berkdb ==> third problem
4. deactivated imap ==> fourth problem

Actual Results:  
PHP (and all software based on it) can not be updated.

Expected Results:  
PHP should be updated

If you need any log file(s), please let me know
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-07 08:55:50 UTC
(In reply to comment #0)
> First: unixODBC not found (could be fixed with a simple symlink

Bug 97989 

> Second: Different version in header file for db (don't know how to fix)

re-emerge that version(s) of sys-libs/db (Bug 66139, Bug 80186)

> Third: configure: error: Cannot find imap library (libc-client.a). Please check 
> your c-client installation. (don't know what to check exactly)

Try to re-emerge net-libs/c-client (Bug 88944)

> Fourth: configure: error: Cannot find libmysqlclient under /usr/local.
> Note that the MySQL client library is not bundled anymore! (don't know what to 
> install to fix this)

Gentoo does not install any libs into /usr/local, I'm not sure what your mean.
php-5.1.0_beta works with mysql-4.1.12 for me without any apparent problems.
Also see Bug 53886 

> If you need any log file(s), please let me know

Closing this bug as INVALID. Many of these issues are duplicates of other bugs,
there is also not enough information to solve the remaining problems mentioned
here. Besides, such summary bugs are not really much useful.

Try the above mentioned fixes, if you still have issues, open new bug(s) for
*one* problem each and include emerge --info, actual error messages you get etc.

Thanks.