Opened 15 years ago
Closed 15 years ago
#324 closed defect (fixed)
GS3 Windows installation "build successful" with "Fatal (make) error"
Reported by: | ak19 | Owned by: | ak19 |
---|---|---|---|
Priority: | very high | Milestone: | 3.04 Release |
Component: | Collection Building | Severity: | major |
Keywords: | GS3, makefile, windows, installation | Cc: |
Description
Tried ant prepare install on SVN checkouts of 10 June and 17 June 2008. The error output occurs just before GLI starts being compiled.
Two problems:
- txt2db is not inside gs2build\src but is a folder inside gs2build\src\gdbm in the following
[exec] cl -nologo -c -EHsc -DWIN32 -DHAVE_CONFIG_H -D_CRT_SECURE_NO
_DEPRECATE -I"C:\ak19\gs3_17June08\gs2build\src\txt2db" -I"C:\ak19\gs3_17June08\ gs2build\src\lib" -I"C:\ak19\gs3_17June08\gs2build\indexers\mg\lib" -I"C:\ak19\ gs3_17June08\gs2build\packages\windows\gdbm\gdbm" txt2db.cpp
- I cannot find the file gsdlconf.h anywhere in my greenstone 3 installation folder either. This causes the compiler to throw the fatal error:
[exec] txt2db.cpp [exec] txt2db.cpp(37) : fatal error C1083: Cannot open include file: 'gsdlc
onf.h': No such file or directory
[exec] NMAKE : fatal error U1077: 'cl' : return code '0x2' [exec] Stop.
A PORTION OF THE OUTPUT from running "ant install":
[exec] C:\ak19\gs3_17June08\gs2build\indexers\mgpp\text>copy Queryer.exe ".
.\..\bin"
[exec] 1 file(s) copied. [exec] [exec] Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 [exec] Copyright (C) Microsoft Corp 1988-1998. All rights reserved. [exec] [exec] cd "C:\ak19\gs3_17June08\gs2build" [exec] cd "src\gdbmedit\txt2db" [exec] nmake /f win32.mak GSDLHOME="C:\ak19\gs3_17June08\gs2build" [exec] [exec] Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 [exec] Copyright (C) Microsoft Corp 1988-1998. All rights reserved. [exec] [exec] cl -nologo -c -EHsc -DWIN32 -DHAVE_CONFIG_H -D_CRT_SECURE_NO
_DEPRECATE -I"C:\ak19\gs3_17June08\gs2build\src\txt2db" -I"C:\ak19\gs3_17June08\ gs2build\src\lib" -I"C:\ak19\gs3_17June08\gs2build\indexers\mg\lib" -I"C:\ak19\ gs3_17June08\gs2build\packages\windows\gdbm\gdbm" txt2db.cpp
[exec] txt2db.cpp [exec] txt2db.cpp(37) : fatal error C1083: Cannot open include file: 'gsdlc
onf.h': No such file or directory
[exec] NMAKE : fatal error U1077: 'cl' : return code '0x2' [exec] Stop. [exec] NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\nmake.exe'
: return code '0x2'
[exec] Stop. [exec] Result: 2
[mkdir] Created dir: C:\ak19\gs3_17June08\gs2build\bin\java
[copy] Copying 1 file to C:\ak19\gs3_17June08\gs2build\bin\java
init:
[echo] tomcat.port = 8080 [echo] gli.present = true [echo] gs2build.present = true
install-gs2build-indexers-windows:
[copy] Copying 32 files to C:\ak19\gs3_17June08\gs2build\bin\windows
init:
[echo] tomcat.port = 8080 [echo] gli.present = true [echo] gs2build.present = true
get-macos-extra:
install-macos-extra:
compile-gli: ..... compile-gs2building:
compile:
install:
BUILD SUCCESSFUL Total time: 5 minutes 21 seconds
Change History (3)
comment:1 by , 15 years ago
Summary: | GS3 Windows installatio "build successful" with "Fatal (make) error" → GS3 Windows installation "build successful" with "Fatal (make) error" |
---|
comment:2 by , 15 years ago
Owner: | changed from | to
---|
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Solved in two steps:
I tried a fresh checkout again and it seems to compile with no errors visible in the command prompt buffer.