Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2002 15:21:32 -0700
From:      "VVI hostmaster" <xavier@vvi.at>
To:        <ache@FreeBSD.org>, <dirk@FreeBSD.org>
Cc:        <ports@FreeBSD.org>, "Maxim Zakharov" <maxime@sochi.com>
Subject:   FreeBSD Port:  php4-4.1.1 with FreeBSD Port: mnogosearch support
Message-ID:  <HAEJICELCBDJHDJFIBNKOEACCAAA.xavier@vvi.at>

next in thread | raw e-mail | index | archive | help
This message was sent to
ache@FreeBSD.org who is the maintainer of FreeBSD Port: mnogosearch-3.1.19_1
dirk@FreeBSD.org who is the maintainer of FreeBSD Ports: mod_php4-4.1.1 and
php4-4.1.1
Maxim Zakharov<maxime@sochi.com> who is involved with mnogosearch's
development and has been involved in assisting me with this issue.

Hi my name is Jason, I have been trying to compile php4 to include
mnogosearch-3.2x support but have been having no such luck.  I have included
for convienance the postings from the mnogosearch message board to best
explain my situation.  Any help would be greatly appreciated, and I do hope
in the end that FreeBSD's ports would include any progress achieved here.  I
am very willing to contribute and help to make it happen that php lists
mnogosearch 3.2x as a compile option and also perhaps that a new port of
mnogosearch 3.2x also comes into being.

Also the is in the message below a reference to this information I think it
will clear up some things in advance:

##############################################################
Unfortunately PHP-4.1.x was released with old mnogosearch
module which does not support mnogosearch-3.2.x. A new
mnogosearch extension seems to be available only with
PHP-4.2.x. At the current moment it is available only in
latest PHP snapshots which can be found at http://snaps.php.net/.
Not all users coud use those snapshots because of their
development state. So we decided to release PHP extension
separately from PHP distribution.
###############################################################

Kindest Regards,
Jason de Cordoba

----------------------------------------------------------------------------
-------------
http://www.mnogosearch.org/board/message.php?id=4584

php-4.1.2 W/ added mnogo 3.2X libs un compileable on Freebsd 4.5
Posted by Jason de Cordoba 2002-04-05 09:23:16

On FreeBSD things are done via ports, one of them is called mnogosearch...

But I am trying to Compile PHP with mnogosearch 3.2.x
compatibility, this has been nothing less than a problem. Here
are my steps today on a fresh install of freebsd.

(distfiles is the name of a directory on freebsd where all the
ports download automatically the sourcecode and keep it there
even when you make clean your specific port you are working
on)

In /usr/ports/distfiles/php-4.1.2.tar.gz I replaced the files located
in ext/mnogosearch with the ones available for download
located at thishost/Download/php/mnogosearch-1.49.tar.gz.

Then I went to /usr/ports/www/mod_php4/Makefile and added a
line to line # 43

--with-mnogosearch \

or other variations for line # 43 resulting in identical results

--with-mnogosearch --with-mysql=/usr/local/mysql \
--with-mnogosearch --with-mysql=/usr/local/mysql/includes \
--with-mnogosearch --with-mysql=/usr/local/mysql/lib \


Because I deleted files and added mnogosearch 3.2 ones I was
required due to checksum security to enter the following
command in /usr/ports/www/mod_php4

make NO_CHECKSUM=yes

Any reference to mnogosearch results in a stop error of php's
make..

BEGIN-------------------------------------------
Making all in .
cc -I. -I/usr/ports/lang/php4/work/php-4.1.2/ -I/usr/ports/lang/
php4/work/php-4.1.2/main -I/usr/ports/lang/php4/work/php-4.1.2
-I/usr/ports/lang/php4/work/php-4.1.2/Zend -I/usr/local/include -I/
usr/local/include/libxml2 -I/usr/local/include/freetype2/freetype -I/
usr/local/include/gd -I/usr/local/include/c-client -I/usr/local/
include/mcal -I/usr/local/mnogosearch/include -I/usr/local/
include/mysql -I/usr/local/include/pspell -I/usr/local/include/ucd-
snmp -I/usr/ports/lang/php4/work/php-4.1.2/ext/xmlrpc/libxmlrpc
-I/usr/ports/lang/php4/work/php-4.1.2/TSRM -O -pipe -I/usr/local/
include -c stub.c && touch stub.lo
/bin/sh /usr/ports/lang/php4/work/php-4.1.2/libtool --silent --
mode=link cc -I. -I/usr/ports/lang/php4/work/php-4.1.2/ -I/usr/
ports/lang/php4/work/php-4.1.2/main -I/usr/ports/lang/php4/
work/php-4.1.2 -I/usr/ports/lang/php4/work/php-4.1.2/Zend -I/usr/
local/include -I/usr/local/include/libxml2 -I/usr/local/include/
freetype2/freetype -I/usr/local/include/gd -I/usr/local/include/c-
client -I/usr/local/include/mcal -I/usr/local/mnogosearch/include -
I/usr/local/include/mysql -I/usr/local/include/pspell -I/usr/local/
include/ucd-snmp
-I/usr/ports/lang/php4/work/php-4.1.2/ext/xmlrpc/libxmlrpc -I/usr/
ports/lang/php4/work/php-4.1.2/TSRM -O -pipe -I/usr/local/
include
-prefer-non-pic -static -o libphp4.la -rpath /usr/ports/lang/php4/
work/php-4.1.2/libs -export-symbols /usr/ports/lang/php4/work/
php-4.1.2/sapi/cgi/php.sym -L/usr/local/lib -L/usr/local/lib/mysql -
L/usr/local/mnogosearch/lib -R /usr/local/lib -R /usr/local/lib/
mysql -R /usr/local/mnogosearch/lib stub.lo Zend/libZend.la
sapi/cgi/libsapi.la main/libmain.la ext/zlib/libzlib.la ext/bcmath/
libbcmath.la ext/bz2/libbz2.la ext/curl/libcurl.la ext/domxml/
libdomxml.la ext/ftp/libftp.la ext/gd/libgd.la ext/gettext/libgettext.la
ext/hyperwave/libhyperwave.la ext/iconv/libiconv.la ext/imap/
libimap.la ext/ldap/libldap.la ext/mbregex/libmbregex.la ext/
mbstring/libmbstring.la ext/mcal/libmcal.la ext/mcrypt/
libmcrypt.la ext/mhash/libmhash.la ext/ming/libming.la ext/
mnogosearch/libmnogosearch.la ext/mysql/libmysql.la ext/
openssl/libopenssl.la ext/pcre/libpcre.la ext/pdf/libpdf.la ext/
posix/libposix.la ext/pspell/libpspell.la ext/readline/libreadline.la
ext/session/libsession.la ext/shmop/libshmop.la ext/snmp/
libsnmp.la ext/sockets/libsockets.la ext/standard/libstandard.la
ext/sysvsem/libsysvsem.la ext/sysvshm/libsysvshm.la ext/wddx/
libwddx.la ext/xml/libxml.la ext/xmlrpc/libxmlrpc.la ext/xslt/libxslt.la
ext/yaz/libyaz.la ext/yp/libyp.la ext/mnogosearch/
libmnogosearch.la TSRM/libtsrm.la -lpam -lc-client4 -
ludmsearch -lz -lm -lmysqlclient -lyaz -lsablot -lexpat -lexpat -
lexpat -lexpat -lsnmp -lreadline -lhistory -lncurses -lpspell -lpdf -
ltiff -lpng
-ljpeg -lz -lmysqlclient -lz -ludmsearch -lz -lm -lmysqlclient -lming
-lmhash -lmcrypt -lltdl -lmcal -lldap -llber -lcrypt -lpam -liconv -
lintl -lgd -lfreetype -lpng -lz -ljpeg -lz -lxml2 -lcurl -lcrypto -lssl -
lcurl -lbz2 -lz -lcrypt -lssl -lcrypto -lm -L/usr/lib -lcrypto -lssl -lgcc -
lcrypt
libtool: link: cannot find the library `'
*** Error code 1

Stop in /usr/ports/lang/php4/work/php-4.1.2.
*** Error code 1

Stop in /usr/ports/lang/php4/work/php-4.1.2.
*** Error code 1

Stop in /usr/ports/lang/php4.
*** Error code 1

Stop in /usr/ports/lang/php4.
END---------------------------------------

There is no error when I dont mention mnogosearch...

----------------------------------------------------------------------------
-----

Then a reply from Maxime

----------------------------------------------------------------------------
-----
http://www.mnogosearch.org/board/message.php?id=4597

Posted by maxime 2002-04-05 19:22:45
Try execute ./buildconf from php distribution after ext/mnogosearch
upgrading and reconfigure and recompile after.
----------------------------------------------------------------------------
-----



----------------------------------------------------------------------------
-----
http://www.mnogosearch.org/board/message.php?id=4631
Unfortunately I am still having probs with this. I still get the same error
message as before
[libtool: link: cannot find the library `' ].

I even upgraded the libtool to 1.4 as required so I could perform the
./buildconf which did not have an effect. BTW libtool 1.4 is not recommended
on freebsd because so many of the ports use it and it has not yet been
tested on many of them.

I attempted to do a very limited install of php without many of the libs and
goodies just to see that it was not an incompatibility with something. It
seems that perhaps I need to contact the maintainer of the mod_php4 port and
request that mnogosearch be included into the install script.

Please let me know if you have any suggestions, I will be attempting this
until success.

----------------------------------------------------------------------------
-----



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?HAEJICELCBDJHDJFIBNKOEACCAAA.xavier>