# cd /usr/src/yellowdog/SRPM
# wget http://www.ydl.net/downloads/enhanced/yum/6.1/updates/RPMS/apr-util-1.2.7-7.1.src.rpm
# rpm -ivh apr-util-1.2.7-7.1.src.rpm
# vi /usr/src/yellowdog/SPECS/apr-util.spec
%configure --with-apr=%{_prefix}
--includedir=%{_includedir}/apr-%{apuver}
--with-ldap
--with-sqlite3 --with-pgsql
--with-berkeley-db
--with-gdbm=%{_prefix}
--without-sqlite2
# rpmbuild --target=ppc -bb /usr/src/yellowdog/SPEC/apr-util.spec
# cd /usr/src/yellowdog/RPM/ppc
# yum remove apr-util
# rpm -ivh (apr-util?httpd)
# yum -y install php php-devel gnome-user-share mod_python mod_perl webalizer subversion
No comments
Comments feed for this article
Trackback link
http://blogs.ydl.net/ayumi/2009/09/07/apr-util-rpmbuild/trackback/