[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
php4-4.0.6p1 as a binary with mysql and snmp
Hello list,
I am running Openbsd 3.0 Release with the GENERIC kernel on a 333Celeron
with 128M RAM.
I need to run PHP4 with snmp and mysql support.. The problem is I need
the php binary not Apache module. I extracted ports.tar.gz and went to
www/php4 and and built the Apache module with snmp and mysql and it
built fine.
But when I removed "--with-apxs=/usr/sbin/apxs \" from the make file so
that it could build the binary instead I get the following errors...
first this which I am not sure is related:
l/lib/mysql -R /usr/local/lib stub.lo Zend/libZend.la
sapi/cgi/libsapi.la main/libmain.la regex/libregex.la
ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posix/libposix.la
ext/session/libsession.la ext/snmp/libsnmp.la
ext/standard/libstandard.la ext/xml/libxml.la
TSRM/libtsrm.la -lssl -lcrypto -lsnmp -lmysqlclient -lresolv -lm -lresol
v
mkdir .libs
*** Warning: This library needs some functionality provided by -lresolv.
*** I have the capability to make that library automatically link in
when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** Warning: This library needs some functionality provided by -lresolv.
*** I have the capability to make that library automatically link in
when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** Warning: This library needs some functionality provided by -lresolv.
*** I have the capability to make that library automatically link in
when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** Warning: This library needs some functionality provided by -lresolv.
*** I have the capability to make that library automatically link in
when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
rm -fr .libs/libphp4.lax
mkdir .libs/libphp4.lax
rm -fr .libs/libphp4.lax/libZend.al
then a little later this:
lax/libxml.al/xmlparse.lo .libs/libphp4.lax/libxml.al/hashtable.lo
.libs/libphp4.lax/libtsrm.al/TSRM.lo
.libs/libphp4.lax/libtsrm.al/tsrm_strtok_r.lo
.libs/libphp4.lax/libtsrm.al/tsrm_virtual_cwd.lo -L/usr/local/lib/mysq
l -L/usr/local/lib -lssl -lcrypto -lsnmp -lmysqlclient -lm -lssl -lcrypt
o -lsnmp -lmysqlclient -lm
ld: stub.lo: read_file_symbols(header): premature EOF
collect2: ld returned 1 exit status
*** Error code 1
Stop in /usr/ports/www/php4/w-php4-4.0.6p1-snmp-mysql/php-4.0.6 (line 23
of
/usr/ports/www/php4/w-php4-4.0.6p1-snmp-mysql/php-4.0.6/build/library.mk
).
*** Error code 1
Stop in /usr/ports/www/php4/w-php4-4.0.6p1-snmp-mysql/php-4.0.6 (line 37
of
/usr/ports/www/php4/w-php4-4.0.6p1-snmp-mysql/php-4.0.6/build/rules.mk).
*** Error code 1
Stop in /usr/ports/www/php4 (line 1665 of
/usr/ports/infrastructure/mk/bsd.port.mk).
#
Should it work if I remove "--with-apxs=/usr/sbin/apxs \" ??? Any help
would be appreciated.
Regards,
Martin Potgieter