[27440] in Perl-Users-Digest
Perl-Users Digest, Issue: 9076 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Mar 22 11:05:48 2006
Date: Wed, 22 Mar 2006 08:05:05 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Wed, 22 Mar 2006 Volume: 10 Number: 9076
Today's topics:
Howto Install a Perl Wrapper Module for a C Library Loc <ewijaya@singnet.com.sg>
Re: Term::ReadKey not working on one linux box <nospam-abuse@ilyaz.org>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Wed, 22 Mar 2006 17:47:05 +0800
From: "Edward WIJAYA" <ewijaya@singnet.com.sg>
Subject: Howto Install a Perl Wrapper Module for a C Library Locally
Message-Id: <op.s6s6srg8r4r1oi@shaka.i2r.a-star.edu.sg>
Hi,
I am attempting to install a CPAN module: Tree::Suffix, in my local home
directory.
Since I don't have SU previlege.
First of all I have installed the required libstree library
(http://www.cl.cam.ac.uk/~cpk25/libstree/)
in my particular home directory, namely $HOME/MyBioTool/libstree-0.4.2.
I have also set the environment like the following in my .bash_profile, so
that the module can call it. The bash_profile looks like this:
__BEGIN__
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# My path to the C library program
export CFLAGS="-I $HOME/MyBioTool/libstree-0.4.2/include"
export LDFLAGS="-L $HOME/MyBioTool/libstree-0.4.2/lib"
PATH=$PATH:$HOME/bin:
export PATH
unset USERNAME
export
PERL5LIB=/home/ewijaya/lib/perl5/site_perl/5.8.5/i686-linux:/home/ewijaya/lib/perl5/site_perl/5.8.5
__END__
However, when I tried installing the Tree::Suffix module using CPAN shell,
I found error message that seems to fail to recognize where does my C
library is stored. It returns something like this in the end:
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
It seems to me it doesn't recognize the place where I store this libstree
library.
I then try various way to install it manually:
$perl Makefile.PL CFLAGS="$CFLAGS -I$HOME/MyBioTool/libstree-0.4.2/
include" LDFLAGS="$LDFLAGS -L$HOME/MyBioTool/libstree-0.4.2/lib"
or
$perl Makefile.PL CCFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
or
perl -w Makefile.PL "INC=-I $HOME/MyBioTool/libstree-0.4.2/include"
"LIB=-L $HOME/MyBioTool/libstree-0.4.2/lib"
But without any success.
Does anybody have any experience with this kind of installation?
Is there anything I am missing here?
--
Edward WIJAYA
SINGAPORE
------------------------------
Date: Wed, 22 Mar 2006 10:09:32 +0000 (UTC)
From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
Subject: Re: Term::ReadKey not working on one linux box
Message-Id: <dvr7os$1295$1@agate.berkeley.edu>
[A complimentary Cc of this posting was sent to
Martin Mohr
...
> For some reason, this doesn't receive any keystrokes on one of my
> computers (equipped with "ReadKey.pm,v 2.23 2005/01/11 21:16:31
> jonathan" as everywhere else).
>
> Making a ssh connection from this computer to another one, and executing
> the script there works. Connecting from the working machine to the
> broken machine and executing the script doesn't work. On the broken
> machine it works neither in kde nor the plain terminal.
>
> Does anyone have an idea please?
One possibility: Perl (and TRK) were not compiled on this particular
machine, but compiled somewhere else. This "somewhere else" package
is broken (as most out-of-site-compiled pieces of software on Unix
are).
Hope this helps,
Ilya
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc. For subscription or unsubscription requests, send
#the single line:
#
# subscribe perl-users
#or:
# unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.
NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.
#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V10 Issue 9076
***************************************