Opened 12 years ago

Closed 12 years ago

#401 closed defect (fixed)

OSGeo Live build fails

Reported by: Peter Baumann Owned by: Jinsongdi Yu
Priority: major Milestone: 8.4.4
Component: undecided Version: 8.4
Keywords: Cc: Dimitar Misev, abeccati
Complexity: Medium

Description

Change History (2)

comment:1 by Jinsongdi Yu, 12 years ago

version.h.tmp is not created during the make process

it seems that code1 runs after code2 in the osgeo install_rasdaman.sh

code1:
echo '#define RMANVERSION "'(git describe --tags HEAD 2>/dev/null || echo v8.4) | sed s/-[0-9]*//1'"' > version.h.tmp

code2:
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/postgresql -I /usr/include/ -O2 -I/tmp/build_rasdaman/rasdaman -I/tmp/build_rasdaman/rasdaman/debug -I/tmp/build_rasdaman/rasdaman/include -DSHARE_DATA_DIR=\"/usr/local/rasdaman/share/rasdaman∧" -DCONFDIR=\"/usr/local/rasdaman/etc∧" -DBINDIR=\"/usr/local/rasdaman/bin∧" -DLOGDIR=\"/usr/local/rasdaman/log∧" -MT databaseif.o -MD -MP -MF .deps/databaseif.Tpo -c -o databaseif.o databaseif.cc databaseif.pgc

then,
databaseif.pgc:53:21: fatal error: version.h: No such file or directory compilation terminated. is thrown

comment:2 by Jinsongdi Yu, 12 years ago

Resolution: fixed
Status: newclosed

the Makefile does not generate the version.h, hence, make fails when it need the file. The fix has been committed to osgeo

Note: See TracTickets for help on using tickets.