On May 11, 2011, at 2:17 PM, Togan Muftuoglu wrote:

> 
> I still have the same error message with shorewall6 however correcting
> shorewall6 as follows enables the startup of /sbin/shorewall6 without errors

> --- shorewall6.orig
> +++ shorewall6
> @@ -303,7 +303,8 @@ compiler() {
>     if [ $g_perllib = /usr/share/shorewall ]; then
>        $command $PERL $debugflags $pc $options $@
>     else
> -       $command PERL5LIB=$g_perllib $PERL $debugflags $pc $options $@
> +       export PERL5LIB=$g_perllib
> +       $command $PERL $debugflags $pc $options $@
>     fi
> }

Thanks. To satisfy the Debian police, I'll need to separate the assignment of 
PERL65LIB from its export.

@@ -301,9 +301,11 @@ compiler() {
     fi
 
     if [ $g_perllib = share/shorewall ]; then
-       $command $PERL $debugflags $pc $options $@
+       $PERL $debugflags $pc $options $@
     else
-       $command PERL5LIB=$g_perllib $PERL $debugflags $pc $options $@
+       PERL5LIB=$g_perllib
+       export PERL5LIB
+       $command $PERL $debugflags $pc $options $@
     fi
 }    


-Tom

Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________


Attachment: PGP.sig
Description: This is a digitally signed message part

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to