Opened 10 years ago

Closed 10 years ago

#2787 closed defect (worksforme)

build issues with git/svn source codes.

Reported by: mohitkharb Owned by: robe
Priority: medium Milestone: PostGIS 2.1.4
Component: documentation Version: 2.1.x
Keywords: Cc:

Description

while building postgis from git/svn source, ./configure doesnot show "yacc" as a necessity, which is also unclear in teh developer docs. this is giving problem :

libtool: compile: gcc -g -O2 -fPIC -DPIC -Wall -Wmissing-prototypes -I/usr/local/include -c lwout_twkb.c -o lwout_twkb.o >/dev/null 2>&1 yacc lwin_wkt_parse.y lwin_wkt_parse.y:94: syntax error make[1]: * [lwin_wkt_parse.c] Error 1 make[1]: Leaving directory `/home/lsi/Mohit/postgis/liblwgeom' make: * [all] Error 1

http://pastebin.com/EV0U1Ubq

Change History (5)

comment:1 by robe, 10 years ago

Component: postgisdocumentation
Milestone: PostGIS 2.1.4
Owner: changed from pramsey to robe

To add we should include bison as requirement when building from svn/git

comment:2 by pramsey, 10 years ago

bison/flex are not requirements because their outputs are checked into the repository. The only time they should get called is if for some reason you update the lexer or parser (which you have no reason to do). And we do require the gnu tools (bison/flex) not the older (yacc/lex) ones.

comment:3 by robe, 10 years ago

pramsey, hmm when mohit built from tar ball, PostGIS compiled fine, but when built from git is my understanding it didn't. I forgot a long time ago you checked this in so it should no longer be needed but hten again I have all those on my system so wouldn't be able to easily tell.

comment:4 by mohitkharb, 10 years ago

Hi pramsey,robe, The git code was build only when I installed bison on my system. Prior to which it was giving syntax/linking issues.

comment:5 by robe, 10 years ago

Resolution: worksforme
Status: newclosed

I can't replicate this and no one else has complained so I guess close out for now.

Note: See TracTickets for help on using tickets.