#1
  1. No Profile Picture
    pmongkol
    Guest
    Devshed Newbie (0 - 499 posts)
    I want to setting up Database Driven Website by using Apache+MySQL+PHP3. (OS:Redhat6.0) . Now I have already settingup Apache and MySQL Server. But When configures PHP for compile. I get error massage like this.-
    ...........................................................................
    I do like this.>>>>
    $ cd /temp #(where my php3)
    $ tar -zxvf php-3.0.7.tar.gz
    $ cd php-3.0.7
    $ ./configure --with-apxs=/usr/sbin/apxs --with-mysql --with -ldap
    ..........................................................................
    error like this>>>
    loading cache ./config.cache
    checking whether build environment is sane...yes
    checking whether to enable maintainer-specific portions of Make file...no
    checking for bison...no
    checking for byacc...no
    configure: warning: You will need bison if you'd want to regenerate the PHP3.0 parsers.
    checking for gcc...no
    checking for cc...no
    configure: error: no acceptable cc found in $PATH
    ..........................................................................
    What it means. should I do. ? And what is bison, byacc, gcc and cc. Please Help me...
    Thank,
    Mongkol
    Lopburi, THAILAND.
  2. #2
  3. No Profile Picture
    jpenix
    Guest
    Devshed Newbie (0 - 499 posts)
    CC and GCC are C compilers for Unix (CC is typically a link to GCC - the GPL'd version of the compiler that comes with Linux).

    It sounds like the necessary RPMs weren't installed when you set up RedHat. There is an option to choose whether or not the "development tools" are installed, and in some installs it's not checked by default.

    Anyhow, very easy to fix - just find the gcc, bison, yacc RPMs on your CD and use 'rpm -Uvh' (or the GUI RPM manager if you're in X Windows) to install them. If there are any other supporting packages, it'll tell you.

Similar Threads

  1. Replies: 2
    Last Post: August 18th, 2004, 11:45 PM
  2. Replies: 4
    Last Post: January 28th, 2004, 09:29 AM
  3. PHP with UnixODBC
    By coder4hire in forum PHP Development
    Replies: 2
    Last Post: January 20th, 2004, 02:14 PM
  4. Passing string from PHP to Javascript
    By ka8oad in forum JavaScript Development
    Replies: 4
    Last Post: January 17th, 2004, 04:12 PM
  5. UnixODBC + PHP + Apache + Empress
    By coder4hire in forum Database Management
    Replies: 0
    Last Post: January 15th, 2004, 02:41 PM

IMN logo majestic logo threadwatch logo seochat tools logo