Beefy Boxes and Bandwidth Generously Provided by pair Networks Ovid
We don't bite newbies here... much
 
PerlMonks  

Re^4: KinoSearch Installation errors

by creamygoodness (Curate)
on Mar 28, 2011 at 22:15 UTC ( #896041=note: print w/ replies, xml ) Need Help??


in reply to Re^3: KinoSearch Installation errors
in thread KinoSearch Installation errors

Thanks, we'll consider that suggestion. The possibility that dirent.h would be present on Windows hadn't been taken into account.

For what it's worth, official releases of KS have typically been tested under Windows using an MSVC custom-compiled Perl. It used to be that if we could get KS to build and pass tests under MSVC, it would also build and pass tests under Cygwin and Strawberry Perl. Recently, we've been having some difficulties -- but Windows is definitely a target OS, and we look forward to resolving these problems.


Comment on Re^4: KinoSearch Installation errors
Download Code
Re^5: KinoSearch Installation errors
by ikegami (Pope) on Mar 28, 2011 at 22:52 UTC

    Thanks, we'll consider that suggestion.

    It might break cygwin, or make it behave differently, thus my comment at the bottom.

    Windows is definitely a target OS

    Good to hear. In addition to the OP getting a porting error, my initial assumption that Windows wasn't supported was based on the complete lack of cpan testers reports for the OS. Further checking reveals some for older versions. I guess they haven't gotten around to 0.313 yet.

Re^5: KinoSearch Installation errors
by Anonymous Monk on Mar 29, 2011 at 09:19 UTC
    I get the same errors as OP with latest mingw And yes, I have
    C:\MinGW\include\dirent.h C:\MinGW\share\libtool\libltdl\lt__dirent.c C:\MinGW\share\libtool\libltdl\libltdl\lt__dirent.h

    I also get a bunch of these warnings

    warning: incompatible implicit declaration of built-in function 'alloc +a'
    which seems to be related to Richard Henderson - Re: Fix implicit declaration warnings for alloca in target files
    On Thu, Sep 16, 2004 at 08:55:50AM -0400, Kaveh R. Ghazi wrote: > +/* GCC always provides __builtin_alloca(x). */ > +#ifndef alloca > +#define alloca(x) __builtin_alloca(x) > +#endif Should be #undef, not #ifndef.

      The alloca issue may be addressed by this patch, which requires a full rebuild (perl Build realclean; perl Build.PL; perl Build test):

      Index: charmonizer/src/Charmonizer/Probe/Memory.c =================================================================== --- charmonizer/src/Charmonizer/Probe/Memory.c (revision 6525) +++ charmonizer/src/Charmonizer/Probe/Memory.c (revision 6526) @@ -72,7 +72,7 @@ } /* Windows. */ - if (!has_alloca || has_builtin_alloca) { + if (!(has_alloca || has_builtin_alloca)) { sprintf(code_buf, alloca_code, "malloc.h", "alloca"); if (CC_test_compile(code_buf, strlen(code_buf))) { has_malloc_h = true; @@ -81,7 +81,7 @@ ConfWriter_append_conf("#define chy_alloca alloca\n"); } } - if (!has_alloca || has_builtin_alloca) { + if (!(has_alloca || has_builtin_alloca)) { sprintf(code_buf, alloca_code, "malloc.h", "_alloca"); if (CC_test_compile(code_buf, strlen(code_buf))) { has_malloc_h = true;

Re^5: KinoSearch Installation errors
by archimca (Novice) on Mar 30, 2011 at 12:17 UTC
    Creamygoodness....Do you have any solution the issue i've posted? I am really tired and have no idea what's going on. I need KS install on windows XP with Perl 5.8.9 with abysys server on Twiki4.1.0. I am not able to install Text::Iconv even though i have Gnu32 on my machine but don't know why perl Makefile.PL is unable to find out iconv file. Do you think this could be the reason of the KS error?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://896041]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (15)
As of 2014-04-18 17:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (471 votes), past polls