## [greenstone-users] problem with compiling the source code

 From kim.hsieh@utoronto.ca Date Tue, 19 Aug 2003 09:54:54 -0400 Subject [greenstone-users] problem with compiling the source code Hi I follow the instruction given by install.txt, which come along with the source file that I downloaded from www.greenstone.org a few days ago. According to the instruction, the library.exe and server.exe files needs to be compiled individually with the following 2 lines: 1.nmake /f win32.mak 2.nmake /f win32.mak LOCAL_LIBRARY=1 when I compiled with the first line, it worked fine. I successfully get library.exe in cgi-bin folder; however, I got some fatal error messages while compileing the second line: nmake /f win32.mak LOCAL_LIBRARY=1, with nmake. I tried several times and I always got the same fatal error. Can anyone who has compiled the source code before give me some advice on this? By the way, I compiled the source code with Visual C++ 6.0 Enterpreneur Edition on a Windows XP Professional Platform. Thanks a lot, Kim Hsieh The following is the error message I got: httpreq.cpp C:\Documents and Settings\Iverson\Desktop\need\gsdl\lib\text_t.h(205) : error C2 678: binary '==' : no operator defined which takes a left-hand operand of type ' const class text_t' (or there is no acceptable conversion) C:\Documents and Settings\Iverson\Desktop\need\gsdl\lib\display.h(122) : error C 2678: binary '==' : no operator defined which takes a left-hand operand of type 'const class text_t' (or there is no acceptable conversion) C:\Documents and Settings\Iverson\Desktop\need\gsdl\lib\display.h(127) : error C 2678: binary '!=' : no operator defined which takes a left-hand operand of type 'const class text_t' (or there is no acceptable conversion) httpreq.cpp(252) : error C2678: binary '==' : no operator defined which takes a left-hand operand of type 'class text_t' (or there is no acceptable conversion) httpreq.cpp(260) : error C2678: binary '!=' : no operator defined which takes a left-hand operand of type 'class text_t' (or there is no acceptable conversion) httpreq.cpp(288) : error C2678: binary '!=' : no operator defined which takes a left-hand operand of type 'class text_t' (or there is no acceptable conversion) httpreq.cpp(317) : error C2678: binary '==' : no operator defined which takes a left-hand operand of type 'class text_t' (or there is no acceptable conversion) httpreq.cpp(323) : error C2678: binary '==' : no operator defined which takes a left-hand operand of type 'class text_t' (or there is no acceptable conversion) httpreq.cpp(326) : error C2678: binary '==' : no operator defined which takes a left-hand operand of type 'class text_t' (or there is no acceptable conversion) httpreq.cpp(329) : error C2678: binary '==' : no operator defined which takes a left-hand operand of type 'class text_t' (or there is no acceptable conversion) httpreq.cpp(333) : error C2678: binary '==' : no operator defined which takes a left-hand operand of type 'class text_t' (or there is no acceptable conversion) httpreq.cpp(336) : error C2678: binary '==' : no operator defined which takes a left-hand operand of type 'class text_t' (or there is no acceptable conversion) httpreq.cpp(339) : error C2678: binary '==' : no operator defined which takes a left-hand operand of type 'class text_t' (or there is no acceptable conversion) httpreq.cpp(343) : error C2678: binary '==' : no operator defined which takes a left-hand operand of type 'class text_t' (or there is no acceptable conversion) httpreq.cpp(346) : error C2678: binary '==' : no operator defined which takes a left-hand operand of type 'class text_t' (or there is no acceptable conversion) httpreq.cpp(349) : error C2678: binary '==' : no operator defined which takes a left-hand operand of type 'class text_t' (or there is no acceptable conversion) httpreq.cpp(353) : error C2678: binary '==' : no operator defined which takes a left-hand operand of type 'class text_t' (or there is no acceptable conversion) httpreq.cpp(356) : error C2678: binary '==' : no operator defined which takes a left-hand operand of type 'class text_t' (or there is no acceptable conversion) httpreq.cpp(359) : error C2678: binary '==' : no operator defined which takes a left-hand operand of type 'class text_t' (or there is no acceptable conversion) httpreq.cpp(362) : error C2678: binary '==' : no operator defined which takes a left-hand operand of type 'class text_t' (or there is no acceptable conversion) NMAKE : U1077: 'cl' : return code '0x2' Stop. NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~4\VC98\BIN\NMAKE.EXE' : return co de '0x2' Stop.