- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- compliling probs. lex/flex
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 12:11 AM
тАО10-09-2001 12:11 AM
checking lex output file root... ./configure[2343]: lex: not found.
configure: error: cannot find output from lex; giving up
I have installed flex***.depot and all other files which are requiered (read INSTALL).
What can I do?
Regards
Michael
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 12:27 AM
тАО10-09-2001 12:27 AM
Re: compliling probs. lex/flex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 12:32 AM
тАО10-09-2001 12:32 AM
Re: compliling probs. lex/flex
creating cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
Updated php_version.h
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... hppa2.0-hp-hpux10.20
demats02:/usr/local/php-4.0.6# ./configure
loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... hppa2.0-hp-hpux10.20
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the PHP parsers.
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... no
checking how to run the C preprocessor... cc -E
checking for AIX... no
checking for cc option to accept ANSI C... no
checking for ranlib... ranlib
checking whether cc understands -c and -o together... yes
checking whether ln -s works... yes
checking for flex... lex
checking for yywrap in -ll... yes
checking lex output file root... ./configure[2343]: lex: not found.
configure: error: cannot find output from lex; giving up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 12:42 AM
тАО10-09-2001 12:42 AM
Re: compliling probs. lex/flex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 12:52 AM
тАО10-09-2001 12:52 AM
Re: compliling probs. lex/flex
thx
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 01:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 01:13 AM
тАО10-09-2001 01:13 AM
Re: compliling probs. lex/flex
(Bundled) cc: "zend_hash.h", line 101: error 1573: Type of "ht" is undefined due to an illegal declaration.
(Bundled) cc: "zend_hash.h", line 114: error 1506: Parameters allowed in function definition only.
(Bundled) cc: "zend_hash.h", line 119: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "zend_hash.h", line 119: error 1573: Type of "ht" is undefined due to an illegal declaration.
(Bundled) cc: "zend_hash.h", line 121: error 1616: Unable to open intrinsic file "/usr/local/lib/sysintr".
(Bundled) cc: "zend_hash.h", line 121: error 1000: Unexpected symbol: "*".
(Bundled) cc: "zend_hash.h", line 121: error 1000: Unexpected symbol: "void".
(Bundled) cc: "zend_hash.h", line 122: error 1616: Unable to open intrinsic file "/usr/local/lib/sysintr".
(Bundled) cc: "zend_hash.h", line 122: error 1000: Unexpected symbol: "*".
(Bundled) cc: "zend_hash.h", line 122: error 1000: Unexpected symbol: "va_list".
(Bundled) cc: "zend_hash.h", line 122: error 1000: Unexpected symbol: "zend_hash_key".
(Bundled) cc: "zend_hash.h", line 128: error 1000: Unexpected symbol: "*".
(Bundled) cc: "zend_hash.h", line 128: error 1000: Unexpected symbol: "uint".
(Bundled) cc: "zend_hash.h", line 134: error 1000: Unexpected symbol: "*".
(Bundled) cc: "zend_hash.h", line 134: error 1000: Unexpected symbol: "uint".
(Bundled) cc: "zend_hash.h", line 137: error 1000: Unexpected symbol: "*".
(Bundled) cc: "zend_hash.h", line 137: error 1000: Unexpected symbol: "uint".
(Bundled) cc: "zend_hash.h", line 138: error 1000: Unexpected symbol: "*".
(Bundled) cc: "zend_hash.h", line 138: error 1000: Unexpected symbol: "uint".
(Bundled) cc: "zend_hash.h", line 139: error 1000: Unexpected symbol: "*".
(Bundled) cc: "zend_hash.h", line 142: error 1000: Unexpected symbol: "*".
(Bundled) cc: "zend_hash.h", line 142: error 1000: Unexpected symbol: "uint".
(Bundled) cc: "zend_hash.h", line 143: error 1000: Unexpected symbol: "*".
(Bundled) cc: "zend_hash.h", line 144: error 1000: Unexpected symbol: "*".
(Bundled) cc: "zend_hash.h", line 147: error 1000: Unexpected symbol: "*".
(Bundled) cc: "zend_hash.h", line 147: error 1000: Unexpected symbol: ")".
(Bundled) cc: "zend_hash.h", line 122: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "zend_hash.h", line 122: error 1573: Type of "ht" is undefined due to an illegal declaration.
(Bundled) cc: "zend_hash.h", line 122: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "zend_hash.h", line 122: error 1573: Type of "hash_key" is undefined due to an illegal declaration.
(Bundled) cc: "zend_hash.h", line 128: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "zend_hash.h", line 128: error 1573: Type of "ht" is undefined due to an illegal declaration.
(Bundled) cc: "zend_hash.h", line 134: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "zend_hash.h", line 134: error 1573: Type of "ht" is undefined due to an illegal declaration.
(Bundled) cc: "zend_hash.h", line 137: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "zend_hash.h", line 137: error 1573: Type of "ht" is undefined due to an illegal declaration.
(Bundled) cc: "zend_hash.h", line 138: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "zend_hash.h", line 138: error 1573: Type of "ht" is undefined due to an illegal declaration.
(Bundled) cc: Panic 2161: Maximum allowed number of errors exceeded.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 01:31 AM
тАО10-09-2001 01:31 AM
Re: compliling probs. lex/flex
Hope this helps.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 01:47 AM
тАО10-09-2001 01:47 AM
Re: compliling probs. lex/flex
thx a lot
michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 02:02 AM
тАО10-09-2001 02:02 AM
Re: compliling probs. lex/flex
Making all in TSRM
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c TSRM.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c tsrm_strtok_r.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c tsrm_virtual_cwd.c
tsrm_virtual_cwd.c: In function `virtual_open':
tsrm_virtual_cwd.c:557: `mode_t' is promoted to `int' when passed through `...'
tsrm_virtual_cwd.c:557: (so you should pass `int' not `mode_t' to `va_arg')
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 02:37 AM
тАО10-09-2001 02:37 AM
Re: compliling probs. lex/flex
http://www.php.net/manual/en/install.hpux.php
Meanwhile I'll dig around some more when I get to work, i.e. in about 1 1/2 hr.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 02:44 AM
тАО10-09-2001 02:44 AM
Re: compliling probs. lex/flex
regards
michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 03:27 AM
тАО10-09-2001 03:27 AM
Re: compliling probs. lex/flex
php is running...
i think, this is the wrong forum but i will ask:
i have made all changes in httpd.conf and restarted apache... why is it not possible to open *.php files? i only see the text but not the functionality... ;o( html files are ok ... changes described in the manuals on www.php.net i have done.
regards
michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2001 08:55 AM
тАО10-31-2001 08:55 AM
Re: compliling probs. lex/flex
I have loaded binutils, gcc, flex and bison.
The machine is running HP-UX 11.00, apache 1.3.19 downloaded from HP. This apache came with php and everything works fine.
Now I want to configure php with oracle extensions. Downloaded php 4.0.6
and run the following:
./configure --with-oci8=/u01/app/oracle/product/8.1.7 --with-apxs=/opt/apache/bin/apxs
make gives following is the error:
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHPUX11 -DMOD_SSL=208103 -DMOD_PERL -DUSE_PERL_SSI -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -DUINT32_MAX_BROKEN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -DCHROOT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c tsrm_virtual_cwd.c
tsrm_virtual_cwd.c: In function `virtual_open':
tsrm_virtual_cwd.c:568: `mode_t' is promoted to `int' when passed through `...'
tsrm_virtual_cwd.c:568: (so you should pass `int' not `mode_t' to `va_arg')
*** Error exit code 1
Stop.
*** Error exit code 1
In this thread there was discussion before, it seems Micheal mentioned that he solved this issue by removing some *.c files. Can he or someone please let me know what are those *.c files?.
Thanks,
Arjun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2001 10:06 PM
тАО10-31-2001 10:06 PM
Re: compliling probs. lex/flex
I had the same problem ;o) The first time I can help and not ask...
You only have to go in file tsrm_virtual_cwd.c in line 568 and change mode_t to int. Then save and run again. Should be ok then.
Regards
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2001 01:50 AM
тАО11-01-2001 01:50 AM
Re: compliling probs. lex/flex
I don't know where you can the C source file. the *.c files are c- or c++ source files. I can't look on my own installation because the server got a new OS installation and I have to reinstall php and apache ;(
Hope this can help you
Regards
Michael