Re: How to do rpmbuild with specified Macro value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux