Following  [b] install trail in INSTALL  using php 4.1.2 source distro,
and with the  configure setup shown below [1].

        Using Mandrake 7 / updated bintools / kernel 2.4..95.214 / kde 2.2.2
        gcc 2.95.2

        Apache  1.3.23  already successfully built from source, installed & running.



#  PHP build   22-mar-02
rm -rf  configure.cache
./configure  \
        --prefix=/opt/G  \
        --with-mysql=/usr/local/mysql   \
        --enable-track-vars \

I find that after [what appears to be]  a successul completion of the gmake 
no php executable bas been built
( make test  failed  'no rule to make target ' )

The only build problem encountered up to this point was in 'microtiime.c'
----read FAQ article, applied `broken library test'  which did not produce 'a 
stream of errors'  so proceeded to patch microtime.c by forcing #include  
<sys/resource.h>  on the assumprion that base libs actually OK.

after looking  at ~/Makefile  et.al   , it appears that 'gmake php'  should
make the php executable.

/bin/sh /home/pkg/apache/PHP/php-4.1.2/libtool --silent --mode=link gcc \
-I. -I/home/pkg/apache/PHP/php-4.1.2/ -I/home/pkg/apache/PHP/php-4.1.2/main \
-I/home/pkg/apache/apache_1.3.23/src/include \
-I/home/pkg/apache/PHP/php-4.1.2/Zend \
-I/home/pkg/apache/PHP/php-4.1.2/ext/xml/expat \
  -I/home/pkg/apache/PHP/php-4.1.2/TSRM -g -O2   -o php -export-dynamic  
stub.lo libphp4.la

/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
gmake: *** [php] Error 1

>From [2]  it seems that either ~/stub.lo  must be made from something other 
than  ~/stub.c   (which is blank)  or that libphp4.la  should contain a 
procedure   main()  -- strange?


I have had a dig on the news://   list archive  - works with konqueror 
(didn't know that!) but found only one tangential reference.

Anyway,  before digging further, does any of this look familiar to U lot?

Regards, RJP

RJP - <[EMAIL PROTECTED]> <http://www.sedric.demon.co.uk>.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to