IPv6 readyNote: This archive passes through spamassassin. Every mail marked with the subject "*****SPAM*****" has exceed a certain threshold of spam-like behaviour.

[Users] building rpm

From: swan kong (swankong_at_hotmail.com)
Date: Wed May 22 2002 - 14:47:29 CEST


Hi ,
I am trying to install FreeSwan 1.94 on RedHat 7.2 by building the RPMs.
However I keep getting the following error when I use 'make menurpm'
command.
        mkdir rpms
        cd rpms ; mkdir SRPMS BUILD RPMS SPECS SOURCES
        cd rpms/RPMS ; mkdir i386 noarch
        rpm -bb --define "buildroot /usr/src/freeswan-1.95/tmp.rpmbuild" \
                --define "_topdir `pwd`/rpms" rpm.spec
        rpm.spec: No such file or directory
        make: *** [rpms] Error 1
I checked some previous archives and found some patches.Then I tried "make
rpm.spec" I still got some errors.

         KV=`utils/kernelversion $(KERNELSRC)/Makefile` ; \
        if egrep -q '^CONFIG_MODULES=y' $(KCFILE) ; \
        then KMO='/^@km */s//' ; \
        else KMO='/^@km */d' ; \
        fi ; \
        if egrep -q '^CONFIG_IPSEC=m' $(KCFILE) ; \
        then FMO='/^@fm */s//' ; \
        else FMO='/^@fm */d' ; \
        fi ; \
        sed -e "/@KERNELVERSION@/s;;$$KV;" \
                -e '/@IPSECVERSION@/s;;$(IPSECVERSION);' \
                -e "$$KMO" \
                -e "$$FMO" \
                -e '/@PUBDIR@/s;;$(PUBDIR);' \
                -e '/@FINALBINDIR@/s;;$(FINALBINDIR);' \
                -e '/@MANTREE@/s;;$(MANTREE);' rpm.in >$@
sed: -e expression #3 , char 11: Unterminated 's' command
make:*** [rpm.sepc] ERROR 1

Anyone ever run into this? The version of RPM on my system is 4.0.3.
Thanks,
Swankong

_________________________________________________________________
享用世界上最大的 Web 电子邮件系统 — MSN Hotmail:http://www.hotmail.com/cn

_______________________________________________
Users mailing list
Users_at_lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/users



This archive was generated by hypermail 2.1.3 : Mon Jul 29 2002 - 05:20:05 CEST