[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Error installing htmlparser
- From: slayer beast <slayerbeast@...>
- Date: Sun, 24 Nov 2013 15:05:16 -0300
You can parse HTML with penlight's XML parser , it has a HTML mode.
On Sat, Nov 23, 2013 at 12:46 PM, luciano de souza <email@example.com> wrote:
> Oh! I really will wait for a rock. I have followed the instructions
> until "make && make install". As I don't understand anything about C
> compilations, I don't know if I am successful. What I know is that a
> "require('gumbo') or require('luagumbo')" does not work.
> For this time, while a rock does not exist, I will try to use Pascal.
> Thank you for your attention.
> 2013/11/23, Craig Barnes <firstname.lastname@example.org>:
>> On 23 November 2013 12:12, luciano de souza <email@example.com> wrote:
>>> I have downloaded Gumbo and looking at example, I felt it's really
>>> simple and what I want.
>>> However, I am not a C program and I don't know how to deal with GCC.
>>> Becose of this limitation, unfortunately, perhaps, for me, a rock
>>> seems to be crucial.
>>> If there is a simple commandline to type, it's possible that I get to
>>> install ...
>> It's not as simple as it could be at the moment. I'll create a rock
>> very soon, although it'll still require that you have the Gumbo
>> library installed.
>> Google only made the Gumbo code public a few months back, so it's
>> probably not available as a distro package yet, but the
>> instructions are quite easy to follow.
>>> if I need to edit some configuration files, looking at my
>>> past atempts, I don't know if I will able to do.
>> You won't need to edit any configs, but you will need to install a
>> long list of bootstrap dependencies until Google do a proper release
>> (which is planned).
>> >From memory, this should be all you need:
>> sudo apt-get install automake autoconf libtool gcc make pkg-config wget
>> Then you can do:
>> wget https://github.com/google/gumbo-parser/archive/master.tar.gz
>> tar xzf master.tar.gz
>> cd gumbo-parser-master
>> and follow the readme from there.
>> : https://github.com/google/gumbo-parser#installation
>> If that sounds like too much trouble, it might be best to wait a while
>> for a package+rock.
> Luciano de Souza