Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how can I install perl Module From The CPAN in windows XP ?

3 views
Skip to first unread message

SH

unread,
Feb 23, 2010, 2:50:31 PM2/23/10
to
how can I install Tree-Suffix-0.21 perl Module in windows XP? and
how can I compile libstree-0.4.3 package?

J�rgen Exner

unread,
Feb 23, 2010, 3:24:31 PM2/23/10
to
SH <sh.comput...@gmail.com> wrote:
>how can I install Tree-Suffix-0.21 perl Module in windows XP? and
>how can I compile libstree-0.4.3 package?

Insufficient information. What have you tried? How did it fail? What
error messages -if any- did you get? Have you read and did you follow
the install files that usually come with each module?

What Perl version and because of Windows which distribution? Home-built?
Pre-packed (which one?)?

jue

sisyphus

unread,
Feb 24, 2010, 5:33:08 AM2/24/10
to
On Feb 24, 6:50 am, SH <sh.computer.scie...@gmail.com> wrote:

> how can I compile libstree-0.4.3 package?

Won't build straight out of the box.

On Windows, having extracted the source, I ran './configure' in the
MSYS shell, followed by 'make'.
First problem I strike (very early on in the 'make' stage) is:
lst_stree.c:32:23: sys/queue.h: No such file or directory

So you'll have to work/find out how to deal with the fact sys/queue.h
doesn't exist with windows compilers. It might be easy to workaround,
or it might not. After that's fixed, you then get to find out what
other difficulties there are :-)

I'm using the MinGW compiler, btw - as is the norm with the MSYS
shell.

Cheers,
Rob

rurban

unread,
Mar 14, 2010, 6:11:25 PM3/14/10
to
On 23 Feb., 20:50, SH <sh.computer.scie...@gmail.com> wrote:
> how can I install Tree-Suffix-0.21 perl Module in windows XP? and

cygwin, strawberry perl or activestate perl are fairly complete
packages,
to be able to add more external packages easily. for activestate you
need MSVC.
cygwin is the most complete.

On cygwin
$ cpan Tree::Suffix
worked for me, but the test failed (on all platforms).
Complain at http://search.cpan.org/dist/Tree-Suffix/

> how can I compile libstree-0.4.3 package?

so you need cygwin and some development packages and follow the
README.
$ ./configure && make && make install
worked for me.

0 new messages