[postgis-users] Can't Find lex.yy.c when compiling from CVS on Solaris 9
strk at refractions.net
strk at refractions.net
Wed Jan 12 09:32:30 PST 2005
It seems that your FLEX variable is not set (actually is never
explicitly set in the Makefile).
Try exporting a FLEX variable pointing to your lex-compatible
lexical analyzer generator.
--strk;
On Wed, Jan 12, 2005 at 11:08:36AM -0600, David Bitner wrote:
> Here's the error that I am getting while trying to compile
> postgis-cvs(1/12/2005) on Solaris9 against GEOS-cvs and PostgreSQL
> 8rc5:
> ......only bottom part of message included
> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels
> -fno-strict-aliasing -g -fexceptions -fPIC -DUSE_VERSION=80
> -DPOSTGIS_LIB_VERSION='"1.0.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.1.0"'
> -DPOSTGIS_BUILD_DATE='"%F 17:01:27"' -I/usr/local/include -DUSE_GEOS
> -I/opt/csw/include -DUSE_PROJ -I/opt/csw/include -DAUTOCACHE_BBOX=1
> -DUSE_STATS -fPIC
> -I/export/home/pgsql/postgresql-8.0.0rc5/contrib/postgis-cvs/../../src/include
> -c -o wktparse.tab.o wktparse.tab.c
> /usr/ccs/bin/yaccpar:5: warning: ignoring #pragma ident
> /usr/ccs/bin/yaccpar: In function `lwg_parse_yyparse':
> /usr/ccs/bin/yaccpar:374: warning: label `yyerrlab' defined but not used
> /usr/ccs/bin/yaccpar:164: warning: label `yynewstate' defined but not used
> Plwg_parse_yy -i -f -o'lex.yy.c' wktparse.lex
> gmake[1]: Plwg_parse_yy: Command not found
> gmake[1]: [lex.yy.c] Error 127 (ignored)
> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels
> -fno-strict-aliasing -g -fexceptions -fPIC -DUSE_VERSION=80
> -DPOSTGIS_LIB_VERSION='"1.0.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.1.0"'
> -DPOSTGIS_BUILD_DATE='"%F 17:01:27"' -I/usr/local/include -DUSE_GEOS
> -I/opt/csw/include -DUSE_PROJ -I/opt/csw/include -DAUTOCACHE_BBOX=1
> -DUSE_STATS -fPIC
> -I/export/home/pgsql/postgresql-8.0.0rc5/contrib/postgis-cvs/../../src/include
> -c -o lex.yy.o lex.yy.c
> gcc: lex.yy.c: No such file or directory
> gcc: no input files
> gmake[1]: *** [lex.yy.o] Error 1
> gmake[1]: Leaving directory
> `/export/home/pgsql/postgresql-8.0.0rc5/contrib/postgis-cvs/lwgeom'
> gmake: *** [liblwgeom] Error 2
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
--
For standing up against patentability of software,
Thank You, Poland!
Read the intervention: http://kwiki.ffii.org/ConsPolon041221En
Send your thanks: thankyoupoland.info
Read/do more: http://www.noepatents.org/
More information about the postgis-users
mailing list