On Thu, 2005-03-03 at 09:38, Linda wrote: > Hi, > > I am newer for rpmbuild. I try to build the php-src.rpm with oci8 and > mssql. php.sec is as below: > %define contentdir /var/www > %define with_oci8 %{?_with_oci8:1}%{!?_with_oci8:0} > %define with_mssql %{?_with_mssql:1}%{!?_with_mssql:0} > %define with_mhash %{?_with_mhash:1}%{!?_with_mhash:0} > > how to do that? I try to use rpmbuild -ba --define "with_oci8 1" > php.spec, but it doesn't work. Try rpmbuild -ba --define "_with_oci8 1". Bye Paolo _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list