Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    Join Date
    Dec 2011
    Thanked 0 Times in 0 Posts

    Cannot find MySQL header files under yes

    Hi all,

    I'm trying to configure Ubuntu for the first time (and haven't touched *nix for 3 years now) and surprise, I'm running into problems

    I've install mysql using apt-get install mysql (which works)
    I've downloaded the source for apache2 and installed it (works)
    I've downloaded the source for php and installed. It worked except no mysql support. So I went back and now I'm trying to add mysql to it using --with-mysql= however, it return this error

    ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/

    configure: error: Cannot find MySQL header files under yes.
    Note that the MySQL client library is not bundled anymore!

    I've tried everything and still no go. This is what I have installed for mysql
    ii libdbd-mysql-per 4.004-2 A Perl5 database interface to the MySQL database
    un libmysqlclient15 <none> (no description available)
    ii libmysqlclient15 5.0.45-1ubuntu3 MySQL database client library
    un mysql-client <none> (no description available)
    ii mysql-client-5.0 5.0.45-1ubuntu3 MySQL database client binaries
    ii mysql-common 5.0.45-1ubuntu3 MySQL database common files
    un mysql-doc-5.0 <none> (no description available)
    ii mysql-server 5.0.45-1ubuntu3 MySQL database server (meta package depending on
    ii mysql-server-5.0 5.0.45-1ubuntu3 MySQL database server binaries
    un virtual-mysql-cl <none> (no description available)
    un virtual-mysql-se <none> (no description available)

    Any pointers here? what am I missing?

    BTW, some sites say search for 'find / -name mysql.h' and that file doesn't exist on my computer at all.
    Last edited by vinyl-junkie; 01-21-2012 at 01:59 AM. Reason: sinatures only allowed through the control panel


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts