[CentOS] Problem with rpmbuild

Fri Jan 12 16:17:59 UTC 2007
Todd Cary <todd at aristesoftware.com>

Matt -

I did rpmbuild -ba php.spec 2> /tmp/build_errors.txt

The build_errors.txt file is quite large, so I am not sure if I should 
sent it as an attachment.  Here are the last few lines:

cpio: php-4.3.9/ext/standard/<stdout>: No such file or directory
18492 blocks
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd php-4.3.9
+ cd build-cgi
+ export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
+ NO_INTERACTION=1
+ REPORT_EXIT_STATUS=1
+ MALLOC_CHECK_=2
+ unset TZ LANG LC_ALL
+ make test
make: *** [test] Error 1
+ set +x
error: Bad exit status from /var/tmp/rpm-tmp.36559 (%check)
    Bad exit status from /var/tmp/rpm-tmp.36559 (%check)





Matt Hyclak wrote:
> On Fri, Jan 12, 2007 at 07:18:59AM -0800, Todd Cary enlightened us:
>   
>> I want to be able to recompile php, so I downloaded the src dvd and did a
>>
>> rpm -i php-4.3.9-3.15.src.rpm
>>
>> After doing that I wanted to check to see if I can recompile it before 
>> making changes.  So, I went to the SPECS dir and did a
>>
>> rpmbuild -i php.spec
>>
>> It spent a lot of time doing the compile, but at the end there were errors.
>>
>> What am I missing?
>>
>>     
>
> Telling us what the errors were, for starters.
>
> Matt
>
>   

-- 
Ariste Software
2200 D Street Ext
Petaluma, CA 94952
(707) 773-4523