Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mcrypt-2.4.8.2 Newbie in trouble

Status
Not open for further replies.

gosuc2000

Technical User
Jun 2, 2004
59
DE
Hello,

I'm a beginner with Perl but I have to solve a problem.

I'm almost ashamed to ask such things to such experts in this forum, but I read and tried a lot and can't go on without any help.

I want to install Mcrypt-2.4.8.2, which needs libmcrypt
as a prerequisite. So I installed this without problems
on my System (Tru64 UNIX, Perl 5.8.4.).

The README file of Mcrypt says to edit the Makefile.PL
and change the L - and I Path to reflect the installation
of libmcrypt if necessary.

The Makefile.PL looks like this:

require 5.004 ;
use ExtUtils::MakeMaker 5.16 ;
use Config ;

$MCRYPT_LIBDIR = '' ;
$MCRYPT_INCLUDE = '' ;

WriteMakefile(
NAME => 'Mcrypt',
VERSION_FROM => 'Mcrypt.pm',
LIBS => [ "$MCRYPT_LIBDIR -lltdl -lmcrypt" ],
INC => " $MCRYPT_INCLUDE" ,
);

So I have the libcrypt -files under /usr/local/lib.

I changed $MCRYPT_LIBDIR = '' to /usr/local/lib.
But what must I use in $MCRYPT_INCLUDE ?

Just for the sake of testing, I started "perl Makefile.PL"

The result was this:

# perl Makefile.PL
Unrecognized argument in LIBS ignored: '/usr/local/lib'
Note (probably harmless): No library found for -lltdl
Note (probably harmless): No library found for -lmcrypt
Writing Makefile for Mcrypt.

I'd be grateful for any help.

Thanks in advance.

Regards,

Fred


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top