Problem compiling PHP with Sablotron support
mlbossi
mlbossi at afros.it
Fri Jan 28 16:30:43 UTC 2005
Yes! The problem was a comment line insert
before "--enable-xslt \" and after "--with-sablot-js \"
But now I have another error (I hope the latest!):
... (skip) ...
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
xslt_set_object function [ext/xslt/tests/xslt_set_object.phpt]
=====================================================================
make: *** [test] Error 1
+ set +x
TEST FAILURE: ../ext/xslt/tests/xslt_set_object.diff --
001- OK
001+ Warning: Sablotron error on line 1: XML parser error 3: no element
found in /usr/src/redhat/BUILD/php-4.3.10/ext/xslt/tests/xslt_set_object.php
on line 19
002- OK
002+
003+ Warning: Sablotron error on line 1: XML parser error 3: no element
found in /usr/src/redhat/BUILD/php-4.3.10/ext/xslt/tests/xslt_set_object.php
on line 30
004+ OK
005+ OK-- ../ext/xslt/tests/xslt_set_object.diff result ends.
error: Bad exit status from /var/tmp/rpm-tmp.34116 (%check)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.34116 (%check)
What do you think about this one?
Thanks
M.L.Bossi
> Date: Fri, 28 Jan 2005 15:48:00 +0000
> From: Paul Howarth <paul at city-fan.org>
> Subject: Re: Problem compiling PHP with Sablotron support
> To: For users of Fedora Core releases <fedora-list at redhat.com>
> Message-ID: <41FA5EB0.9030606 at city-fan.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> mlbossi wrote:
> > We tried to rebuild the PHP with Sablotron from php-3.4.10-3.2.src.rpm
> > adding the follwing lines in the /usr/src/redhat/SPECS/php.spec file:
> >
> > --enable-xslt \
> > --with-xlst-sablot \
> > --with-sablot-js \
> >
> > like in the old RH7.2 with php-4.1.2 but we get always this error:
> >
> > .......(skip) ........
> > config.status: creating main/php_config.h
> > config.status: executing default commands
> > + --enable-xslt --with-xslt-sablot --with-sablot-js
> > /var/tmp/rpm-tmp.18182: line 142: --enable-xslt: command not found
> > error: Bad exit status from /var/tmp/rpm-tmp.18182 (%build)
> >
> > RPM build errors:
> > Bad exit status from /var/tmp/rpm-tmp.18182 (%build)
>
> I suspect you have added the extra options at the end of the "configure"
> options rather than in the middle of them. If so, add a backslash to the
> end of the line in the spec file before the one you added your changes
> and delete the backslash from "--with-sablot-js \".
>
> Paul.
More information about the fedora-list
mailing list