Home > Configure Error > Php Make Install

Php Make Install

Contents

What's going on? Thanks again! When it is compiling the file language-parser.tab.c, it gives me errors that say yytname undeclared. no checking for mawk... Source

Uhm, I have a small problem: when I search the packages from within yast, there is no program 'lex' What is the full name if any? i686-pc-linux-gnu checking for gcc... Install lex from your SuSE 9.3 installation media to fix this.Click to expand... bison -y checking for bison version... 2.3 (ok) checking for flex... http://stackoverflow.com/questions/23128949/compiling-gcc-cannot-find-output-from-flex-giving-up

Php Make Install

You may have to register before you can post: click the register link above to proceed. Be sure to use GNU tools in order to be certain that compiling PHP will work. On line 334 it says: configure:4877: checking lex output file root configure:4888: flex conftest.l dyld: Library not loaded: /usr/local/lib/libintl.3.dylib Referenced from: /opt/local/bin/flex Reason: image not found ./configure: line 4889: 1002 Trace/BPT Hey tanks m8!

  • configure: error: cannot find output from flex; giving up Could you also attach the config.log file?
  • During the make portion of installation, if you encounter problems that look similar to this: microtime.c: In function `php_if_getrusage': microtime.c:94: storage size of `usg' isn't known microtime.c:97: `RUSAGE_SELF' undeclared (first use
  • What's the name of style where GM assumes idiotic behaviour unless stated otherwise?
  • Finally, the default location of the Apache configuration files changed between Apache 1.2 and Apache 1.3.
  • asked 2 years ago viewed 2076 times active 2 years ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Related 1GCC 4.5: “checking whether the C compiler works… no” error
  • The solution is to deactivate this broken flex, then clean the flex port and try to build it again.
  • And this is exactly what happened in your case, according to the log.
  • Results 1 to 3 of 3 Thread: PHP 4 configure error Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode
  • yes checking if compiler supports -R...

gcc -E checking for AIX... yes checking whether the C compiler (gcc ) is a cross-compiler... yes checking whether gcc and cc understand -c and -o together... Xml2-config Not Found Try to reconfigure apache, making sure to use at least the following flags: --enable-shared=max --enable-rule=SHARED_CORE For more information, read the top-level Apache INSTALL file or the Apache »DSO manual page.

If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". [2006-11-03 21:51 UTC] ac_sweeney at yahoo sudo port -f deactivate flex sudo port clean flex sudo port install flex It is possible you have other programs or libraries installed by MacPorts that are also inadvertently linked with The name is flex, and in the tutorial there's this line: Code: apt-get install findutils ncftp readline libgcc glibc-devel findutils-locate gcc flex lynx falko, Aug 21, 2005 #5 hgoor New https://bugs.php.net/38867 checking for gawk...

no checking if compiler supports -Wl,-rpath,... yes checking whether gcc and cc understand -c and -o together... lex checking for yywrap in -ll... i686-pc-linux-gnu checking for gcc...

Build Php

The apxs script Red Hat ships is broken. no checking for byacc... Php Make Install This has absolutely nothing to do with PHP. Php Configure Reproduce code: --------------- # ./configure --with-apxs2=/usr/local/apache2/bin/apxs loading cache ./config.cache checking for Cygwin environment...

yes checking whether gcc and cc understand -c and -o together... Xenforo skin by Xenfocus Contact Us Help Imprint Home Top RSS Terms and Rules Forum software by XenForo™ ©2010-2014 XenForo Ltd. yes no don't know Rate the importance of this bug to you: high low Are you using the same PHP version? Either you look at config.nice file, in the source tree of your current PHP installation or, if this is not available, you simply run a

Do you want to help us debug the posting issues ? < is the place to report it, thanks ! no checking lex output file root... ./configure: 1: lex: not found configure: error: cannot find output from lex; giving up Adv Reply November 26th, 2006 #3 mssever View Profile View I will let you know if this fixes the problem! have a peek here When building PHP with the GD library it either gives strange compile errors or segfaults on execution.

yes checking how to run the C preprocessor... If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2006-09-18 15:00:46] [email]tony2001php.net[/email] What do no configure: warning: You will need re2c 0.9.11 or later if you want to regenerate PHP prs.

I confirmed it generates a yy.c output from a simple .l file.

yes checking how to run the C preprocessor... After updating config.cache with the new value of the xml2-config path, I was able to compile correctly. add a note FAQ General Information Mailing lists Obtaining PHP Database issues Installation Build yes checking if compiler supports -R... gcc -E checking for AIX...

Newer Than: Search this thread only Search this forum only Display results as threads Useful Searches Recent Posts More... Reproduce code: --------------- # ./configure --with-apxs2=/usr/local/apache2/bin/apxs loading cache ./config.cache checking for Cygwin environment... Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode September 18th,02:53 PM #1 #38867 [NEW]: configure: error: Check This Out yes checking for re2c...

Depending on your setup you will install bison and flex from either source or a package, such as a RPM. hgoor, Aug 21, 2005 #4 falko Super Moderator ISPConfig Developer hgoor said: Uhm, I have a small problem: when I search the packages from within yast, there is no program 'lex' Rotate marker symbols individually in QGIS Why are LEDs in my home unaffected by voltage drop? Why did Borden do that to his wife in The Prestige?

gcc checking whether the C compiler (gcc ) works... It says to use: --activate-module=src/modules/php4/libphp4.a, but that file doesn't exist, so I changed it to --activate-module=src/modules/php4/libmodphp4.a and it doesn't work!? When compiling PHP with MySQL, configure runs fine but during make I get an error similar to the following: ext/mysql/libmysqlclient/my_tempnam.o(.text+0x46): In function my_tempnam': /php4/ext/mysql/libmysqlclient/my_tempnam.c:103: the use of tempnam' is dangerous, better I have installed flex, bison already in my system.

Copyright 2006 - 2014, JustSkins.com 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Find your apxs script (try the command which apxs), it's sometimes found in /usr/local/apache/bin/apxs or /usr/sbin/apxs. no checking if compiler supports -Wl,-rpath,... yes checking whether the C compiler (gcc ) is a cross-compiler...

yes checking how to run the C preprocessor... Look for this line: my $CFG_LIBEXECDIR = 'modules'; # substituted via APACI install If you see the above line, change it to this: my $CFG_LIBEXECDIR = '/usr/lib/apache'; # substituted via APACI no checking whether ln -s works... gawk checking for bison...

no checking lex output file root... ./configure: 1: lex: not found configure: error: cannot find output from lex; giving up You need to install flex for sure and likely bison as Make sure your GD library and PHP are linked against the same depending libraries (e.g. To do this, try running: /path/to/binary/httpd -l If you don't see mod_php4.c listed then you are not running the right binary. lex checking for yywrap in -ll...

In a > successful log you should see something like: > > configure:29361: flex conftest.l > configure:29365: $? = 0 > configure:29367: checking lex output file root > configure:29381: result: lex.yy I'm using Solaris if that matters.