This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ITP] PHP 5.1.4 (cli, cgi-fcgi, apache2) [re-issued]


Lapo Luchini wrote:
> Max Bowsher wrote:
>> There was one additional fix I had made locally but got around to
>> updating the tarballs on my server
> OK, thanks =)
> 
> BTW: have you had this problem? and you solved it how?
> 
> % ./php-5.2.0-0.1.sh install strip pkg spkg
> Installing PHP SAPI module:       apache2handler
> /usr/share/apache2/build/instdso.sh
> SH_LIBTOOL='/usr/share/apr-1-build/libtool' libphp5.la
> /home/lapo/packaging/tmp/php-5.2.0/.inst/usr/lib/apache2
> /usr/share/apr-1-build/libtool --mode=install cp libphp5.la
> /home/lapo/packaging/tmp/php-5.2.0/.inst/usr/lib/apache2/
> libtool: install: error: cannot install `libphp5.la' to a directory not
> ending in /home/lapo/packaging/tmp/php-5.2.0/.build/libs
> apxs:Error: Command failed with rc=65536
> 
> I noticed that to create shared extension --enable-shared is needed in
> conf(), but it does seem to create the libphp5.la shared nonetheless,
> and libtool gives that error, which I didn't understand very well but
> (googling a bit) I guess it's about relinking and it's not about to be
> solved. ?_?

Total guess here, but are you trying to use DESTDIR? PHP is just weird,
and you have to use INSTALL_ROOT instead. In fact, I have vague
recollections of DESTDIR actually doing something else entirely, in PHP.

Max.

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]