[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OpenBSD, PHP-4.0.4RC5, ltconfig patch
> [cross-posted, watch those replies]
>
> PHP-4.0.4 is about to be released, and this patch to its ltconfig
> to fix compilation on OpenBSD is required, but hasn't received
> adequate testing (i.e., only I've tested it)
>
> Zero feedback from the PHP-QA team (several of whom run OpenBSD),
> so I'm hoping that the ports@openbsd.org team will be able to test
> it out.
>
> Particularly needed is non-i386 testing. If someone could do this
> very soon (since PHP is on the final RC at the moment), this would save
> us a patch in our ports tree (and a number of open bug reports on
> bugs.php.net about failed linking on OpenBSD)
>
> You can obtain php-4.0.4RC5 at:
> http://php.net/distributions/php-4.0.4RC5.tar.gz
On openbsd-m68k it does compile.
After that, a "make test" says:
make: don't know how to make /usr/jjtmp/php4/php-4.0.4RC5/php. Stop
So, I do a "make php" that gives:
/bin/sh /usr/jjtmp/php4/php-4.0.4RC5/libtool --silent --mode=link gcc -I.
-I/usr/jjtmp/php4/php-4.0.4RC5/ -I/usr/jjtmp/php4/php-4.0.4RC5/main
-I/usr/jjtmp/php4/php-4.0.4RC5 -I/usr/lib/apache/include
-I/usr/jjtmp/php4/php-4.0.4RC5/Zend -I/usr/jjtmp/php4/php-4.0.4RC5/ext/mysql/li
bmysql -I/usr/jjtmp/php4/php-4.0.4RC5/ext/xml/expat/xmltok
-I/usr/jjtmp/php4/php-4.0.4RC5/ext/xml/expat/xmlparse
-I/usr/jjtmp/php4/php-4.0.4RC5/TSRM -DDEV_RANDOM=/dev/arandom
-DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -DXML_BYTE_ORDER=21 -g -O2 -o php
-export-dynamic stub.lo libphp4.la
/usr/lib/crt0.o: Undefined symbol `_main' referenced from text segment
collect2: ld returned 1 exit status
*** Error code 1
Stop in /usr/jjtmp/php4/php-4.0.4RC5 (line 23 of /usr/jjtmp/php4/php-4.0.4RC5/b
uild/program.mk).
And a quick glance at "stub.c" shows that it is all but empty.
Hardly release candidate material?
If you have a stub.c for me, I could do another test for you.
--
Allt är under kontroll, och Caps lock är bredvid.