You are missing openssl-devel. Install that package and try again, I  
bet it works.

Also, the php.spec appears to be missing openssl-devel as well.  
Requires has openssl listed, but BuildRequires does not.

Greg

On Jul 27, 2005, at 9:58 AM, Jefferson wrote:

> Hi Syed,
>
> For test I used the default php.spec file and not modify the default
> php.spec, but see the error:
>
> rpmbuild -ba php.spec
>
> ERROR:
>
> Configuring extensions
> checking whether to enable LIBXML support... yes
> checking libxml2 install dir... no
> checking whether libxml build works... yes
> checking for OpenSSL support... yes
> checking for Kerberos support... /usr
> checking for krb5-config... no
> checking for pkg-config... /usr/bin/pkg-config
> checking for OpenSSL version... >= 0.9.6
> checking for CRYPTO_free in -lcrypto... no
> configure: error: libcrypto not found!
> error: Bad exit status from /var/tmp/rpm-tmp.31246 (%build)
>
>
> Other test:
> I change the php.spec file to use openssl shared:
> %define _openssl_shared 1
>
> Other error now:
>
> checking for IMAP support... yes, shared
> checking for IMAP Kerberos support... /usr
> checking for IMAP SSL support... yes
> checking for pam_start in -lpam... yes
> checking for crypt in -lcrypt... yes
> checking for OpenSSL version... >= 0.9.6
> checking for CRYPTO_free in -lcrypto... (cached) yes
> checking for SSL_CTX_set_ssl_version in -lssl... (cached) yes
> checking whether build with IMAP works... no
> configure: error: build test failed. Please check the config.log for
> details.
> error: Bad exit status from /var/tmp/rpm-tmp.63165 (%build)
>
>
> I already installed all necessary packages.
>
> Thanks,
>
> Jeff
>
> Em Qua, 2005-07-27 às 21:14 +0000, Syed Shabir Zakiullah escreveu:
>
>> Hi-
>>
>>
>>> The problem with Trustix 3.0, IPtables, Shorewall and icmp-type was
>>> solved with the updated iptables package version 1.3.2 release 1tr .
>>>
>>  Great... :)
>>
>>
>>> The problem/bug to compile php5 from src rpms in Trustix 3.0
>>> continues...
>>>
>>  Can you give more details on configuration options you used to
>>  compile it.
>>
>>
>>  Cheers!!
>>
>>  ----
>>  Syed Shabir Zakiullah
>>
>>
>>
>>
>
> _______________________________________________
> tsl-discuss mailing list
> [email protected]
> http://lists.trustix.org/mailman/listinfo/tsl-discuss
>

_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to