nufw-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nufw-users] compile problem version 2.0 (using -lnuclient in pam_nu


From: Jean Gillaux
Subject: Re: [Nufw-users] compile problem version 2.0 (using -lnuclient in pam_nufw)
Date: Wed, 24 May 2006 17:36:03 +0200
User-agent: Thunderbird 1.5.0.2 (X11/20060420)

Hello,

Tilman Baumann a écrit :
> Hello all,
> 
> nice project. ;)
> 
> After a long compile session with libnetfilter_* from svn i have just one 
> problem to solve.
> And i may have solved it already. :)
> 
> I get the error below.
> The fix was to remove -lnuclient frm pam_nufw_la_LDFLAGS in 
> src/clients/pam_nufw/Makefile.
> I don't know how sane that is. But it makes sense to me that you can not use 
> a 
> lib you are going to build at the moment.
> This error might not happen on development machines becaue libnuclient is 
> already installed. ;)
> If this dependency really exists someone might have a look how to set up the 
> local searchpath properly...

This dependency really exists, so here is a patch that fixes the build.

The fix is in the subversion repository, and will be in the next release 
(scheduled on next week)



BR,
-- 
Jean Gillaux
INL http://inl.fr
Index: src/clients/pam_nufw/Makefile.am
===================================================================
--- src/clients/pam_nufw/Makefile.am    (revision 2021)
+++ src/clients/pam_nufw/Makefile.am    (working copy)
@@ -12,6 +12,8 @@
 
 modules_LTLIBRARIES    = pam_nufw.la
 
+AM_LDFLAGS = "-L../lib/"
+
 pam_nufw_la_SOURCES    = pam_nufw.c
 pam_nufw_la_LDFLAGS    = -avoid-version -module -lpam -lnuclient
 pam_nufw_la_LIBADD     =

reply via email to

[Prev in Thread] Current Thread [Next in Thread]