Find the answer to your Linux question:
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 26 of 26
Don't know why I didn't try this earlier, but i tried running ./configure without any --with-gd and it still returned with the error: configure: error: Cannot find header files under ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #21
    Just Joined!
    Join Date
    Feb 2003
    Posts
    16

    Don't know why I didn't try this earlier, but i tried running ./configure without any --with-gd and it still returned with the error:

    configure: error: Cannot find header files under /usr/local
    Which of course, would mean that GD has nothing to do with the problem I'm having.

  2. #22
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    I downloaded the PHP configure script, and it's only the MySQL configuration that generates that kind of error message. Try excluding the directories from the mysql and gd options (ie. just --with-msql and --with-gd), and see if that helps.

  3. #23
    Just Joined!
    Join Date
    Feb 2003
    Posts
    16
    Yes after posting the msg about exlcuding --with-gd, I stared at my configurations tring and saw that the only one using /usr/local was mysql.

    Actually, before I saw your last reply, i tried without the --with-mysql ONLY (in other words, I did include --with-gd) and the configuration went all the way through without errors!

    Now, to fix the mysql error

  4. #24
    Just Joined!
    Join Date
    Feb 2003
    Posts
    16
    i tried --with-mysql=/usr instead of the original --with-mysql=/usr/local and the configuration went all the way through without complaining. "make" worked as well, as did "make install" so now made sure I had AddType application/x-httpd-php .php on the httpd.conf file, which I did. I created a .php file with text inside and outside the php tags, opened up mozilla, pointed my browser to http://localhost , and the page loaded but w/out the php stuff

    This is enough for me for tonight, I'll be nitpicking it tomrrow.

    Dolda2000, thanks for your all your help

  5. #25
    Just Joined!
    Join Date
    Feb 2003
    Posts
    16
    opened up mozilla, pointed my browser to http://localhost , and the page loaded but w/out the php stuff
    i opened the file and saw that i only had
    Code:
    <? phpinfo&#40;&#41; ?>
    argh!! the tag was not correct. i corrected it to:
    Code:
    <?php phpinfo&#40;&#41; ?>
    and sure enough the php stuff loaded. :P

    Once again, thanks Dolda2000 for going through this with me

  6. #26
    Linux Enthusiast
    Join Date
    Jun 2002
    Location
    San Antonio
    Posts
    621
    it is great to see 3-4 problems a day resolved around here. Thanks Dolda
    I respectfully decline the invitation to join your delusion.

Page 3 of 3 FirstFirst 1 2 3

Posting Permissions

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