First,
On Thu, Sep 27, 2001 at 02:33:54PM -0400, Colin Legendre wrote:
> Are you aware of the bug with the p5-Authen-PAM perl module. After trying
> to use it and as well verifying the PR on the module's home page it seems
> that there is a but that only affects freebsd. Has there been any thoughs
> on a patch to make it work with FreeBSD ???
And then:
On Sat, Nov 03, 2001 at 01:57:21PM -0500, Vince Brammer wrote:
> Im trying to build Authen::PAM from the ports tree.
> However, its not working. Configure checks for -ldl (which it doesnt find).
> The build works (doesnt error out).
> Make test fails test 10
The *dynamic* PAM library has problems in FreeBSD as of now. Until this
is fixed, the easiest solution is to do the following:
As root:
# cd /usr/ports/security/p5-Authen-PAM
# mkdir files
# cat >files/patch-Makefile.PL
--- Makefile.PL.orig Tue Dec 5 15:39:40 2000
+++ Makefile.PL Mon Nov 5 12:16:36 2001
@@ -42,7 +42,8 @@
WriteMakefile(
'NAME' => 'Authen::PAM',
'VERSION_FROM' => 'PAM.pm.in',
- 'LIBS' => ['-lpam'],
+ 'LIBS' => ["-lutil -lopie -lradius -ltacplus -lrpcsvc -lskey"],
+ 'dynamic_lib' => {OTHERLDFLAGS => '/usr/lib/libpam.a'},
'CONFIGURE' => \&configure,
'PREREQ_PM' => { POSIX => 0 }, # module dependenices
'dist' => {
^D
# make clean
# make
# make install
This instructs the port to use statically linked libpam.a, and appears
to work in my tests, on both -current and -stable.
Please try this one out, and tell me whether it fixes your problems. If
it does, I'll commit this fix shortly.
=Anton.
--
| Anton Berezin | FreeBSD: The power to serve |
| catpipe Systems ApS _ _ |_ | http://www.FreeBSD.org |
| to...@catpipe.net (_(_|| | to...@FreeBSD.org |
| +45 7021 0050 | Private: to...@tobez.org |
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message
Thank you for the reply. I wish I had been able to figure this out for
my self, but I dont have a full grasp of what is going on behind the scenes.
If I can be any more help, dont hesitate.
Vince
----- Original Message -----
From: "Anton Berezin" <to...@FreeBSD.org>
To: "Colin Legendre" <su...@ns3g.com>; "Vince Brammer" <vbra...@home.com>
Cc: <po...@FreeBSD.org>
Sent: Monday, November 05, 2001 6:25 AM
Subject: Re: p5-Authen-PAM-0.12
> Hi,
>
> First,
>
> On Thu, Sep 27, 2001 at 02:33:54PM -0400, Colin Legendre wrote:
>
> > Are you aware of the bug with the p5-Authen-PAM perl module. After
trying
> > to use it and as well verifying the PR on the module's home page it
seems
> > that there is a but that only affects freebsd. Has there been any
thoughs
> > on a patch to make it work with FreeBSD ???
>
> And then:
>
> On Sat, Nov 03, 2001 at 01:57:21PM -0500, Vince Brammer wrote:
> > Im trying to build Authen::PAM from the ports tree.
> > However, its not working. Configure checks for -ldl (which it doesnt
find).
> > The build works (doesnt error out).