Re: Building Freeradius RPM on Redhat ES 4.0
On Wed, Aug 30, 2006 at 06:48:41PM -0400, King, Michael wrote: I seem to be having the same problem. Editing Line 102 allowed the package to build. Where did you remove /usr/local/bin from your path? It may be that you don't have to remove it at all, and just changing the order so that /usr/bin appears before /usr/local/bin might do the trick. To view your path : # echo $PATH /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin To change your path : # export PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/local/bin - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Building Freeradius RPM on Redhat ES 4.0
On Tue, Aug 29, 2006 at 07:32:23PM -0400, King, Michael wrote: cp: will not overwrite just-created `/var/tmp/freeradius-root/usr/share/doc/freeradius-1.1.3/README' with `README' error: Bad exit status from /var/tmp/rpm-tmp.49148 (%doc) I get this error too. It looks like line 102 in the spec file is causing it :- %doc doc/* LICENSE COPYRIGHT CREDITS README Should this line simply be : %doc doc/* This change allows the package to build on my system but when I try to install the rpm I get the following message :- error: Failed dependencies: /usr/local/bin/perl is needed by freeradius-1.1.3-0.i386 -- Ben Thompson University of York - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Building Freeradius RPM on Redhat ES 4.0
On Wed, Aug 30, 2006 at 08:47:13AM +0100, B Thompson wrote: On Tue, Aug 29, 2006 at 07:32:23PM -0400, King, Michael wrote: cp: will not overwrite just-created `/var/tmp/freeradius-root/usr/share/doc/freeradius-1.1.3/README' with `README' error: Bad exit status from /var/tmp/rpm-tmp.49148 (%doc) I get this error too. It looks like line 102 in the spec file is causing it :- %doc doc/* LICENSE COPYRIGHT CREDITS README Should this line simply be : %doc doc/* This change allows the package to build on my system but when I try to install the rpm I get the following message :- error: Failed dependencies: /usr/local/bin/perl is needed by freeradius-1.1.3-0.i386 Having googled about for this I removed /usr/local/bin from my path and ran rpmbuild again. This time everything worked OK. -- Ben Thompson University of York - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Building Freeradius RPM on Redhat ES 4.0
I seem to be having the same problem. Editing Line 102 allowed the package to build. Where did you remove /usr/local/bin from your path? Mike -Original Message- From: [EMAIL PROTECTED] g [mailto:[EMAIL PROTECTED] adius.org] On Behalf Of B Thompson Sent: Wednesday, August 30, 2006 6:14 AM To: FreeRadius users mailing list Subject: Re: Building Freeradius RPM on Redhat ES 4.0 On Wed, Aug 30, 2006 at 08:47:13AM +0100, B Thompson wrote: On Tue, Aug 29, 2006 at 07:32:23PM -0400, King, Michael wrote: cp: will not overwrite just-created `/var/tmp/freeradius-root/usr/share/doc/freeradius-1.1.3/README' with `README' error: Bad exit status from /var/tmp/rpm-tmp.49148 (%doc) I get this error too. It looks like line 102 in the spec file is causing it :- %doc doc/* LICENSE COPYRIGHT CREDITS README Should this line simply be : %doc doc/* This change allows the package to build on my system but when I try to install the rpm I get the following message :- error: Failed dependencies: /usr/local/bin/perl is needed by freeradius-1.1.3-0.i386 Having googled about for this I removed /usr/local/bin from my path and ran rpmbuild again. This time everything worked OK. -- Ben Thompson University of York - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Building Freeradius RPM on Redhat ES 4.0
We're trying to build FreeRADIUS 1.1.3 into a RPM to install on our RedHat ES 4.0 servers. Following the directions in the Wiki http://wiki.freeradius.org/index.php/FreeRADIUS_Wiki:FAQ#How_do_I_build_ a_RPM_package_from_sources.3F I get the following error(s) and I've attached the referenced file below. I'm unsure how to fix this... RedHat and RPM is a new environment for me. (I'm more accustomed to Debian) Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.49148 + umask 022 + cd /home/mking/rpmbuild/BUILD + cd freeradius-1.1.3 + DOCDIR=/var/tmp/freeradius-root/usr/share/doc/freeradius-1.1.3 + export DOCDIR + rm -rf /var/tmp/freeradius-root/usr/share/doc/freeradius-1.1.3 + /bin/mkdir -p /var/tmp/freeradius-root/usr/share/doc/freeradius-1.1.3 + cp -pr suse/README.SuSE /var/tmp/freeradius-root/usr/share/doc/freeradius-1.1.3 + cp -pr doc/00-OLD doc/aaa.txt doc/Acct-Type doc/ascend doc/Autz-Type doc/bay doc/bugs doc/ChangeLog doc/cisco doc/coding-methods.txt doc/configurable_failover doc/CYGWIN doc/DIFFS doc/duplicate-users doc/examples doc/ldap_howto.txt doc/load-balance.txt doc/MACOSX doc/Makefile doc/misc-nas doc/module_interface doc/mssql doc/OS2 doc/performance-testing doc/Post-Auth-Type doc/processing_users_file doc/proxy doc/RADIUS-LDAP-eDirectory doc/RADIUS-SQL.schema doc/radrelay doc/README doc/release-method.txt doc/rfc doc/rlm_attr_filter doc/rlm_dbm doc/rlm_digest doc/rlm_eap doc/rlm_fastusers doc/rlm_krb5 doc/rlm_ldap doc/rlm_pam doc/rlm_passwd doc/rlm_python doc/rlm_sim_triplets doc/rlm_sql doc/rlm_sqlcounter doc/rlm_sqlippool doc/Session-Type doc/Simultaneous-Use doc/supervise-radiusd.txt doc/tuning_guide doc/variables.txt LICENSE COPYRIGHT CREDITS README /var/tmp/freeradius-root/usr/share/doc/freeradius-1.1.3 cp: will not overwrite just-created `/var/tmp/freeradius-root/usr/share/doc/freeradius-1.1.3/README' with `README' error: Bad exit status from /var/tmp/rpm-tmp.49148 (%doc) Processing files: freeradius-debuginfo-1.1.3-0 Provides: libeap-1.1.3.so.debug libradius-1.1.3.so.debug rlm_acct_unique-1.1.3.so.debug rlm_always-1.1.3.so.debug rlm_attr_filter-1.1.3.so.debug rlm_attr_rewrite-1.1.3.so.debug rlm_chap-1.1.3.so.debug rlm_checkval-1.1.3.so.debug rlm_counter-1.1.3.so.debug rlm_dbm-1.1.3.so.debug rlm_detail-1.1.3.so.debug rlm_digest-1.1.3.so.debug rlm_eap-1.1.3.so.debug rlm_eap_gtc-1.1.3.so.debug rlm_eap_leap-1.1.3.so.debug rlm_eap_md5-1.1.3.so.debug rlm_eap_mschapv2-1.1.3.so.debug rlm_eap_peap-1.1.3.so.debug rlm_eap_sim-1.1.3.so.debug rlm_eap_tls-1.1.3.so.debug rlm_eap_ttls-1.1.3.so.debug rlm_exec-1.1.3.so.debug rlm_expr-1.1.3.so.debug rlm_fastusers-1.1.3.so.debug rlm_files-1.1.3.so.debug rlm_ippool-1.1.3.so.debug rlm_krb5-1.1.3.so.debug rlm_ldap-1.1.3.so.debug rlm_mschap-1.1.3.so.debug rlm_ns_mta_md5-1.1.3.so.debug rlm_otp-1.1.3.so.debug rlm_pam-1.1.3.so.debug rlm_pap-1.1.3.so.debug rlm_passwd-1.1.3.so.debug rlm_perl-1.1.3.so.debug rlm_preprocess-1.1.3.so.debug rlm_radutmp-1.1.3.so.debug rlm_realm-1.1.3.so.debug rlm_sql-1.1.3.so.debug rlm_sql_log-1.1.3.so.debug rlm_sqlcounter-1.1.3.so.debug rlm_unix-1.1.3.so.debug Requires(rpmlib): rpmlib(CompressedFileNames) = 3.0.4-1 rpmlib(PayloadFilesHavePrefix) = 4.0-1 RPM build errors: Bad exit status from /var/tmp/rpm-tmp.49148 (%doc) Here's the contents of that file. [EMAIL PROTECTED] SPECS]$ more /var/tmp/rpm-tmp.49148 #!/bin/sh RPM_SOURCE_DIR=/home/mking/rpmbuild/SOURCES RPM_BUILD_DIR=/home/mking/rpmbuild/BUILD RPM_OPT_FLAGS=-O2 -g -pipe -m32 -march=i386 -mtune=pentium4 RPM_ARCH=i386 RPM_OS=linux export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_DOC_DIR=/usr/share/doc export RPM_DOC_DIR RPM_PACKAGE_NAME=freeradius RPM_PACKAGE_VERSION=1.1.3 RPM_PACKAGE_RELEASE=0 export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE RPM_BUILD_ROOT=/var/tmp/freeradius-root export RPM_BUILD_ROOT set -x umask 022 cd /home/mking/rpmbuild/BUILD cd freeradius-1.1.3 DOCDIR=$RPM_BUILD_ROOT/usr/share/doc/freeradius-1.1.3 export DOCDIR rm -rf $DOCDIR /bin/mkdir -p $DOCDIR cp -pr suse/README.SuSE $DOCDIR cp -pr doc/* LICENSE COPYRIGHT CREDITS README $DOCDIR cp -pr doc/examples/* $DOCDIR cp -pr scripts/create-users.pl scripts/CA.* scripts/certs.sh $DOCDIR cp -pr scripts/users2mysql.pl scripts/xpextensions $DOCDIR cp -pr scripts/cryptpasswd scripts/exec-program-wait scripts/radiusd2ldif.pl $DOCDIR exit 0 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Building Freeradius RPM on Redhat ES 4.0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, 30 August 2006 9:32 AM, Michael King wrote: We're trying to build FreeRADIUS 1.1.3 into a RPM to install on our RedHat ES 4.0 servers. snip Requires(rpmlib): rpmlib(CompressedFileNames) = 3.0.4-1 rpmlib(PayloadFilesHavePrefix) = 4.0-1 I saw this last week building 1.1.3 on RHEL 4.0 ES (Update 3) too. Was fixed by just applying the latest patches from Redhat. Appears to be due to a mismatch between various software levels. With the latest fixes, it is all OK. SW -BEGIN PGP SIGNATURE- Note: This signature can be verified at https://www.hushtools.com/verify Version: Hush 2.5 wkYEARECAAYFAkT00mYACgkQmw4BJyaatJ2u8QCeJJT5LUHn18WfWCFphDftQWwmT5cA nilE8KrgdaQlTLgJLc1/uMf/uInK =CNw3 -END PGP SIGNATURE- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Building Freeradius RPM on Redhat ES 4.0
-Original Message- I saw this last week building 1.1.3 on RHEL 4.0 ES (Update 3) too. Was fixed by just applying the latest patches from Redhat. Appears to be due to a mismatch between various software levels. With the latest fixes, it is all OK. Which patches? Just run Up2date and all should be well? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Building Freeradius RPM on Redhat ES 4.0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, 30 August 2006 10:19 AM, Michael King wrote: -Original Message- I saw this last week building 1.1.3 on RHEL 4.0 ES (Update 3) too. Was fixed by just applying the latest patches from Redhat. Appears to be due to a mismatch between various software levels. With the latest fixes, it is all OK. Which patches? Just run Up2date and all should be well? Should be. We have an internal yum repository that collects all the latest updates from Redhat. I just did a yum -y update and all was well. SW -BEGIN PGP SIGNATURE- Note: This signature can be verified at https://www.hushtools.com/verify Version: Hush 2.5 wkYEARECAAYFAkT07JAACgkQmw4BJyaatJ1rmwCcD2A6uODCMCxsgc4E7HuQQrEQ6nkA oL3bMPfyWYoZiAAVwMKX7o1fDdNq =SQrq -END PGP SIGNATURE- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html