[ale] php/mysql install hell

Jim Philips jcphil at mindspring.com
Mon Jan 7 07:44:40 EST 2002


The compile problems were solved by reverting to GCC 2.96. I did have
3.0 and the compile failed every time with that. I will try your
suggestion with the symbolic links.


On Sun, 2002-01-06 at 13:08, Joseph A Knapka wrote:
> Jim Philips wrote:
> > 
> > I have a RedHat 7.2 distro. I'm trying to upgrade Apache/PHP/MySQL.
> > MySQL refuses to compile on my system.
> 
> How so? What sort of errors do you get? (I've never built MySQL
> before, but what the hell, it might be something simple causing
> your problem.)
> 
> > So, I installed the latest
> > version using rpm. So far, so good. But when you configure PHP for
> > compilation, it wants to know where MySQL is to compile in support. The
> > assumption is that all the pieces of MySQL are under one directory. But
> > RedHat, in its wisdom, scatters the pieces in different places. The
> > client programs are in /usr/bin. The headers are in /usr/include/mysql.
> > And the data files are in /var/lib/mysql. Given this, I see no way to
> > compile MySQL support into PHP.
> 
> If you just need to unify all the MySQL stuff under a single
> directory, create one and then within it, create symbolic links
> to all the MySQL stuff.
> 
> Other packages that I've used that need to know the location of
> some third package to configure themselves, usually want the
> /source/ directory, incidentally.
> 
> Cheers,
> -- Joe
> "I should like to close this book by sticking out any part of my neck
>  which is not yet exposed, and making a few predictions about how the
>  problem of quantum gravity will in the end be solved."
>  --- Physicist Lee Smolin, "Three Roads to Quantum Gravity"
> 
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
> sent to listmaster at ale dot org.
> 



---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list