M J Ray wrote:
Do that and we will have to kill you ;-)
To put me out of my misery? Or you?
What are the last few lines before the make "***...Error" line that you gave?
Making install in . make[1]: Entering directory `/php-4.0.6' /bin/sh /php-4.0.6/libtool --silent --mode=link gcc -I. -I/php-4.0.6/ -I/php-4. 0.6/main -I/php-4.0.6 -I/usr/include/apache-1.3 -I/php-4.0.6/Zend -I/php-4.0.6/e xt/mysql/libmysql -I/php-4.0.6/ext/xml/expat/xmltok -I/php-4.0.6/ext/xml/expat/x mlparse -I/php-4.0.6/TSRM -DLINUX=2 -DEAPI -DTARGET="apache" -DUSE_HSREGEX -DUS E_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -o libphp4.la -rpath /php-4. 0.6/libs -avoid-version -L/usr/local/pgsql/lib -R /usr/local/pgsql/lib stub.lo Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la ext/my sql/libmysql.la ext/pcre/libpcre.la ext/pgsql/libpgsql.la ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la ext/xml/libxml.la TSRM/lib tsrm.la -ldl -lpq -lcrypt -lresolv -lm -ldl -lnsl -lresolv stub.lo: file not recognized: File truncated collect2: ld returned 1 exit status make[1]: *** [libphp4.la] Error 1 make[1]: Leaving directory `/php-4.0.6' make: *** [install-recursive] Error 1
Once again, what is wrong with the prebuilt php4 that you're trying to fix? Or is this all an exercise in masochism?
I can't remember exactly, as it seems a long time ago, perhaps I could retry......there were some probs so I left it a few weeks and have just come back to it. I'm still a bit hazy on what is the easy way and what is the hard way here. :-) I seeem to choose the hard way every time by mistake, anyway. Thanks, Jenny.
begin Jenny Hopkins quotation:
>> Once again, what is wrong with the prebuilt php4 that you're >> trying to fix? Or is this all an exercise in masochism?
> I can't remember exactly, as it seems a long time ago, perhaps I > could retry......there were some probs so I left it a few weeks > and have just come back to it. > I'm still a bit hazy on what is the easy way and what is the > hard way here.
I used PHP4 on Debian a while back. I came across two problems I had to fix after the apt-get install:
* I had to uncomment the LoadModule statement in httpd.conf
* I had to alter something in /etc/mime.types to have .php files processed by the server rather than sent to the client as-is. I forget exactly what this was, however.