Hi,

I got problem while building PHP on Solaris8/SPARC.

I tried buildconf, then configure and then make. I got stuch at make. But giving here 
the output of buildconf and configure also as it may help you to help me.

moon:/workspace/trial/installserver/php_4.0.2/Zend 134 % \rm aclocal.m4 configure
moon:/workspace/trial/installserver/php_4.0.2/Zend 135 % buildconf
buildconf: created or modified aclocal.m4
buildconf: created or modified configure
moon:/workspace/trial/installserver/php_4.0.2/Zend 136 % 
moon:/workspace/trial/installserver/php_4.0.2/Zend 136 % 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}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking whether build environment is sane... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc
checking whether the C compiler (/usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc  ) 
works... yes
checking whether the C compiler (/usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc  ) is a 
cross-compiler... no
checking whether we are using GNU C... (cached) no
checking whether /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc accepts -g... (cached) 
yes
checking how to run the C preprocessor... (cached) 
/usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc -E
checking for flex... (cached) lex
checking for flex... (cached) lex
checking for yywrap in -ll... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) no
checking for /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc option to accept ANSI C... 
(cached) none needed
checking for bison... (cached) bison -y
checking whether /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc and cc understand -c and 
-o together... (cached) yes
checking for ANSI C header files... (cached) yes
checking bison version... 1.28 (ok)
checking for limits.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for signal.h... (cached) yes
checking for unix.h... (cached) no
checking for dlfcn.h... (cached) yes
checking for size_t... (cached) yes
checking return type of signal handlers... (cached) void
checking for dlopen in -ldl... (cached) yes
checking for dlopen... (cached) yes
checking for uint... (cached) yes
checking for ulong... (cached) yes
checking for vprintf... (cached) yes
checking for 8-bit clean memcmp... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for memcpy... (cached) yes
checking for strdup... (cached) yes
checking for getpid... (cached) yes
checking for kill... (cached) yes
checking for strtod... (cached) yes
checking for strtol... (cached) yes
checking for finite... (cached) yes
checking whether sprintf is broken... (cached) no
checking for finite... (cached) yes
checking for isfinite... (cached) no
checking for isinf... (cached) no
checking for isnan... (cached) yes
checking whether fp_except is defined... (cached) no
checking host system type... sparc-sun-solaris2.8
checking build system type... sparc-sun-solaris2.8
checking for ranlib... (cached) ranlib
checking for non-GNU ld... (cached) /usr/ucb/ld
checking if the linker (/usr/ucb/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking whether we are using GNU C... no
checking for object suffix... o
checking for executable suffix... (cached) no
checking for /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc option to produce PIC... 
-KPIC
checking if /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc PIC flag -KPIC works... yes
checking if /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc supports -c -o file.o... yes
checking if /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc supports -c -o file.lo... no
checking if /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc static flag -Bstatic works... 
none
checking if the linker (/usr/ucb/ld) is GNU ld... no
checking whether the linker (/usr/ucb/ld) supports shared libraries... yes
checking command to parse /usr/ccs/bin/nm -p output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/ucb/ld option to reload object files... -r
checking dynamic linker characteristics... solaris2.8 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking whether to enable C9x-inline semantics... no
checking whether to enable experimental ZTS... no
checking whether to enable inline optimization for GCC... no
checking whether to enable a memory limit... no
checking whether to enable Zend debugging... no
checking for inline... (cached) no
creating ./config.status
creating Makefile
creating zend_config.h
zend_config.h is unchanged
moon:/workspace/trial/installserver/php_4.0.2/Zend 137 % 

moon:/workspace/trial/installserver/php_4.0.2/Zend 137 % make
lex -Pzend -ozend-scanner.c -i ./zend-scanner.l
lex: illegal option -- P
Usage: lex [-ewctvnVY] [-Q(y/n)] [file]
*** Error code 1
make: Fatal error: Command failed for target `zend-scanner.c'
moon:/workspace/trial/installserver/php_4.0.2/Zend 138 % 
moon:/workspace/trial/installserver/php_4.0.2/Zend 138 % which lex
/usr/ccs/bin/lex


Following the elevent portion of Makefile in this directory:
----
LEX = lex

.
.
.

$(libZend_la_OBJECTS) zend-scanner.lo zend-scanner-cc.lo: zend-parser.h

zend-scanner.c: $(srcdir)/zend-scanner.l
        $(LEX) -Pzend -o$@ -i $(srcdir)/zend-scanner.l

zend-scanner-cc.cc: $(srcdir)/zend-scanner.l
        $(LEX) -+ -B -i -S$(srcdir)/flex.skl -Pzend -o$@ $(srcdir)/zend-scanner.
l

zend-parser.h: zend-parser.c
zend-parser.c: $(srcdir)/zend-parser.y
        $(YACC) -p zend -v -d $(srcdir)/zend-parser.y -o zend-parser.c

----


Is there some other Lexical analyser required for it as I have checked that 
/usr/ccs/bin/lex is not having P as option.


Regards,
- Surinder



Check out the FREE cell phone packages complete with accessories at Lycos Wireless 
Marketplace
http://www.inphonic.lycos.com/redirect.asp?referringpage=www.lycosad129

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to