On Tue, 9 Aug 2005 20:37, Horst Simon wrote:
> On Tue, 9 Aug 2005 06:39, Darren Reed wrote:
> > [ Charset ISO-8859-1 unsupported, converting... ]
> >
> > > I tried make install-linux, but I get following errors:
> >
> > This is a later version of SUSE than I'm using (I think) as 2.6.4 was the
> > kernel rev I've got unpacked.
> >
> > > /bin/sh: -c: line 0: syntax error near unexpected token `then'
> > > /bin/sh: -c: line 0: `if
> > > [ -d /lib/modules/2.6.11.4-21.8-default/kernel/net/ipv4/ ] ; then  -if
> > > [ -f Linux-2.6.11.4-21.8-default-i686/ipfilter.ko ] ; then  cp
> > > Linux-2.6.11.4-21.8-default-i686/ipfilter.ko
> > > /usr/src/redhat/BUILD/ipfilter//lib/modules/2.6.11.4-21.8-default/kerne
> > >l/ net/ipv4//ipfilter.ko; else  cp
> > > Linux-2.6.11.4-21.8-default-i686/ipfilter.o
> > > /usr/src/redhat/BUILD/ipfilter//lib/modules/2.6.11.4-21.8-default/kerne
> > >l/ net/ipv4//ipfilter.ko; fi  fi'
> >
> > On line 482 of Linux/Makefile, change the "-if" to be "if".
> >
> > Darren
>
> Hi Darren,
>
> The kernel is from the latest update from SuSE for 9.3. Now the syntax
> error is gone, but install fails with following errors
>
> install: can't open ipfstat
> install: can't open ipf
> install: can't open ipnat
> install: can't open ippool
> install: can't open ipfs
> make[1]: *** [install] Error 1
> make[1]: Leaving directory `/usr/src/ip_fil4.1.8/Linux'
>
> Regards,
> Horst

I found the problem I missed yacc and the elf libraries. There is still one 
error in the install script.

checking for unpackaged 
file(s): /usr/lib/rpm/check-files /usr/src/redhat/BUILD/ipfilter
Wrote: /usr/src/packages/RPMS/i586/ipfilter-4.1.8-1.i586.rpm
rpm -i ipfilter

I did a rpm -i  /usr/src/packages/RPMS/i586/ipfilter-4.1.8-1.i586.rpm
and the install appears to be ok.

Regards,
Horst

Reply via email to