Hi Marvin,

> From: "Marvin Humphrey" <[email protected]>
> To: <[email protected]>
> Sent: Tuesday, August 23, 2011 12:33 AM
> Subject: Re: [lucy-user] [ANNOUNCE] Apache Lucy (incubating) 0.2.1 released
> 
> 
>> On Mon, Aug 22, 2011 at 10:38:16PM +0300, Octavian Rasnita wrote:
>>> Is this change something simple to do that can be applied by someone who
>>> doesn't know C, or I have to wait for the new version?
>> 
>> You should be able to apply the patch attached to
>> <https://issues.apache.org/jira/browse/LUCY-176> and solve the problem.
>> 
>> Marvin Humphrey


I applied the patch, and on the perl Build phase, it gave a large resultthat 
contains:
(Using Win XP Pro, gcc included with ActivePerl 5.10.1)

Set up gcc environment - 3.4.5 (mingw-vista special r3)
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Building Lucy
Building 
E:\apache-lucy-incubating-0.2.1\apache-lucy-incubating-0.2.1\charmonizer\charmonize.exe...
...

E:/usr/site/bin/gcc.exe -c 
-I"E:\apache-lucy-incubating-0.2.1\apache-lucy-incubating-0.2.1\perl" 
-I"E:\apache-lucy-incubating-0.2.1\apache-lucy-incubating-0.2.1\core" 
-I"autogen" -I"xs" 
-I"E:\apache-lucy-incubating-0.2.1\apache-lucy-incubating-0.2.1\modules\analysis\snowstem\source\include"
 -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE 
-DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO 
-DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields 
-std=gnu99 -D_GNU_SOURCE -O2 "-DXS_VERSION=\"0.002001\"" 
"-DVERSION=\"0.002001\"" -I"E:\usr\lib\CORE" -I"\include" -o "lib\Lucy.o" 
"lib\Lucy.c"
lib\Lucy.xs: In function `XS_Lucy_Analysis_PolyAnalyzer_new':
lib\Lucy.xs:420: warning: implicit declaration of function `alloca'
Generating script 'lib\Lucy.lds'
dlltool --def "lib\Lucy.def" --output-exp "lib\Lucy.exp"
E:\usr\site\bin\g++.exe -o "blib\arch\auto\Lucy\Lucy.dll" 
-Wl,--base-file,"lib\Lucy.base" -Wl,--image-base,0x62110000 -mdll 
-L"e:\usr\lib\CORE" "lib\Lucy.lds" "lib\Lucy.exp"
E:\apache-lucy-incubating-0.2.1\apache-lucy-incubating-0.2.1\core\Lucy\Store\FSFileHandle.o:FSFileHandle.c:(.text+0x12a):
 undefined reference to `CFISH_DECREF'
collect2: ld returned 1 exit status
dlltool --def "lib\Lucy.def" --output-exp "lib\Lucy.exp" --base-file 
"lib\Lucy.base"
E:\usr\site\bin\g++.exe -o "blib\arch\auto\Lucy\Lucy.dll" 
-Wl,--image-base,0x62110000 -mdll -L"e:\usr\lib\CORE" "lib\Lucy.lds" 
"lib\Lucy.exp"
E:\apache-lucy-incubating-0.2.1\apache-lucy-incubating-0.2.1\core\Lucy\Store\FSFileHandle.o:FSFileHandle.c:(.text+0x12a):
 undefined reference to `CFISH_DECREF'
collect2: ld returned 1 exit status
Generating script 'lib\Lucy.lds'
dlltool --def "lib\Lucy.def" --output-exp "lib\Lucy.exp"
E:\usr\site\bin\g++.exe -o "blib\arch\auto\Lucy\Lucy.dll" 
-Wl,--base-file,"lib\Lucy.base" -Wl,--image-base,0x62110000 -mdll 
-L"e:\usr\lib\CORE" "lib\Lucy.lds" "lib\Lucy.exp"
lib\Lucy.o:Lucy.c:(.text+0x80): undefined reference to 
`cfish_XSBind_allot_params'
lib\Lucy.o:Lucy.c:(.text+0xa2): undefined reference to 
`cfish_XSBind_new_blank_obj'
lib\Lucy.o:Lucy.c:(.text+0xaa): undefined reference to `lucy_Obj_init'
lib\Lucy.o:Lucy.c:(.text+0xca): undefined reference to `Lucy_Obj_To_Host_OFFSET'
lib\Lucy.o:Lucy.c:(.text+0xdd): undefined reference to 
`Lucy_Obj_Dec_RefCount_OFFSET'
lib\Lucy.o:Lucy.c:(.text+0x139): undefined reference to `lucy_Err_get_error'
lib\Lucy.o:Lucy.c:(.text+0x148): undefined reference to 
`Lucy_Obj_Inc_RefCount_OFFSET'
lib\Lucy.o:Lucy.c:(.text+0x174): undefined reference to `lucy_Err_rethrow'
lib\Lucy.o:Lucy.c:(.text+0x1eb): undefined reference to `LUCY_ERR_vt'
lib\Lucy.o:Lucy.c:(.text+0x1f0): undefined reference to `lucy_Err_throw_at'
lib\Lucy.o:Lucy.c:(.text+0x280): undefined reference to 
`cfish_XSBind_allot_params'
lib\Lucy.o:Lucy.c:(.text+0x2a2): undefined reference to 
`cfish_XSBind_new_blank_obj'
lib\Lucy.o:Lucy.c:(.text+0x2aa): undefined reference to `lucy_Analyzer_init'
...

lib\Lucy.o:Lucy.c:(.text+0x8a562): undefined reference to 
`lucy_PListWriter_set_default_mem_thresh'
lib\Lucy.o:Lucy.c:(.text+0x8b588): undefined reference to `lucy_Lucy_bootstrap'
collect2: ld returned 1 exit status


Then on perl Build test gave the result:

Failed 165/169 test programs. 142/245 subtests failed. 

Octavian

Reply via email to