in reply to Problem building HTTP::Parser under 5.8/cygwin

Correct, I am using a binary distribution of perl. I could not get perl 5.8.0 to build on my cygwin system, so i picked up the binary distribution. HTML::Parser is the only module, thus far, that I have had problems building under 5.8.0 binaries on cygwin. The biggest problem I can see are the lines that read:
LD_RUN_PATH="" ld2 -s -L/usr/local/lib Parser.o -o blib/arch/auto/HT +ML/Parser/Parser.dll /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/li +bperl.dll.a i see no perl executable around there perl is required to build dynamic libraries go fetch one or build this one static
To me, that is the biggest concern: telling HTML::Parser that perl does in fact live at /usr/bin/perl.

Replies are listed 'Best First'.
Re: Re: Problem building HTTP::Parser under 5.8/cygwin
by Courage (Parson) on Aug 12, 2002 at 07:40 UTC
    I do not know how much and how correctly installation process of binary distribution fills values for "Config.pm", but this must be one of your problems.

    But most tough place in your case is gcc compiler. Why you can't build perl on Cygwin? I assure you that, at first, Perl can be easily built if your system tuned correctly and, at second, compilation of modules is often more problematic that compilation of perl itself.

    Do you have gcc binary installed at all?

    And as a last point, you insist that HTML::Parser must find perl at /usr/bin/perl. Is it new 5.8.0 version? Is it one where HTML::Parser will be installed?

    Courage, the Cowardly Dog

      My errors are occuring during the "Making B (dynamic)" stage of compilation. I'm not entirely sure what is causing it. gcc 2.95.3-5 (cygwin special) is installed. Apart from those two facts, I couldn't tell you why I cna't build it.
Re: Re: Problem building HTTP::Parser under 5.8/cygwin
by Courage (Parson) on Aug 12, 2002 at 15:17 UTC
    1. Looking at your output I can't realize why there is rm -f blib/.../Parser.dll. Mine try do not contain that. But this point is not such important as point two below.

    2. line next to it contains "ld2" command, which in fact is a script, in my case from .../cygwin/bin directory (which is /usr/bin or just /bin). It is it who makes your unsuccessfull building. Look at it and change to reflect your setting.

    Hope this helps,
    Courage, the Cowardly Dog