[dev] Re: [cvs] commit: imp/lib mimetypes.php
Chuck Hagenbuch
chuck@horde.org
Fri, 20 Oct 2000 11:42:03 -0400 (EDT)
Quoting Jon Parise <jon@csh.rit.edu>:
> Doing this taught me far too much about preg_replace, backreferences,
> the evaluated PHP code. =)
Cool. =)
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
Many states consider gambling so immoral that they not only prohibit private
gambling organizations, they thoughtfully provide their own.
>From chuck@horde.org Date: 2000-10-08 21:07:10
Return-Path: <martin@math.ohiou.edu>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 7222 invoked from network); 20 Oct 2000 16:39:22 -0000
Received: from bing.math.ohiou.edu (132.235.36.14)
by horde.org with SMTP; 20 Oct 2000 16:39:22 -0000
Received: from martin (dhcp-037-178.cns.ohiou.edu [132.235.37.178])
by bing.math.ohiou.edu (8.9.3/8.9.0) with SMTP id MAA13032
for <dev@lists.horde.org>; Fri, 20 Oct 2000 12:39:20 -0400 (EDT)
Message-ID: <002e01c03ab4$4bd13520$b225eb84@martin>
From: "Scott Martin" <martin@math.ohiou.edu>
To: <dev@lists.horde.org>
References: <001201c03a9f$2a8f0140$b225eb84@martin> <972056419.39f06763f2cc6@nirgal.your.mom>
Date: Fri, 20 Oct 2000 12:39:20 -0400
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Subject: Re: [dev] --with-sablot
Chuck, I found this message. Were you able to find out if this is the
correct way to go about building it?
List: php-dev
Subject: [PHP-DEV] fix for building php4 with sablot and zlib
From: Chuck Hagenbuch <chuck@horde.org>
Date: 2000-10-08 21:07:10
[Download message RAW]
I'm trying to build the latest CVS with a number of extensions, including
sablot
and zlib, and ./configure dies while testing zlib support. config.log shows
the
following:
configure:40999: gcc -o
conftest -g -O2 -DEAPI -DXML_BYTE_ORDER=12 -L/usr/lib
-Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/home/chuck/code/mcal/
libm
cal -L/home/chuck/code/mcal/libmcal
conftest.c -lz -lsablot -lmysqlclient -lmca
l -lldap -llber -lttf -lpng -lz -lgd -lresolv -lm -ldl -lcrypt -lnsl -lreso
lv 1
>&5
/usr/local/lib/libsablot.so: undefined reference to `XML_ParserCreateNS'
(and a bunch of other undefined references). It looks like -lxmlparse and
-lxmltok also need to be added to the build line, since they defines all of
the
functions missing that are mentioned in config.log.
The following patch to ext/sablot/config.m4 fixed the build for me:
[chuck@nirgal][pts][~/code/php4/ext/sablot] cvs diff config.m4
Index: config.m4
===================================================================
RCS file: /repository/php4/ext/sablot/config.m4,v
retrieving revision 1.4
diff -u -r1.4 config.m4
--- config.m4 2000/10/02 17:35:58 1.4
+++ config.m4 2000/10/08 21:05:33
@@ -26,6 +26,8 @@
PHP_SUBST(SABLOT_SHARED_LIBADD)
AC_ADD_LIBRARY_WITH_PATH(sablot, $SABLOT_DIR/lib, SABLOT_SHARED_LIBADD)
+ AC_ADD_LIBRARY_WITH_PATH(xmlparse, $SABLOT_DIR/lib, SABLOT_SHARED_LIBADD)
+ AC_ADD_LIBRARY_WITH_PATH(xmltok, $SABLOT_DIR/lib, SABLOT_SHARED_LIBADD)
AC_DEFINE(HAVE_SABLOT,1,[ ])
... I'd commit it, but I'm not sure that I should be assuming that the xml
libraries will be in the same directory as the sablot library, or if this is
even the right syntax. Can someone look it over, and commit either it, or
the
correct fix?
Thanks,
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
must... find... acorns... *thud*
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
For additional commands, e-mail: php-dev-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
[prev in list] [next in list] [prev in thread] [next in thread]
Log in / Log out
About MARC
We're Hiring!
Want to add a list? Tell us about it.
The AIMS Group
----- Original Message -----
From: "Chuck Hagenbuch" <chuck@horde.org>
To: <dev@lists.horde.org>
Sent: Friday, October 20, 2000 11:40 AM
Subject: Re: [dev] --with-sablot
> Quoting Scott Martin <martin@math.ohiou.edu>:
>
> > I assume since you mentioned Sablot usage is forthcoming in imp, that
you
> > have compiled PHP with Sablot support. Did you have any trouble with it?
I
> > am getting the following errors when trying to configure php.
>
> Yeah - I got it working, but the module seems a little bit flaky, still.
Check
> the php-dev archives and the bugs database for a couple of ways to work
around
> the problem.
>
> -chuck
>
> --
> Charles Hagenbuch, <chuck@horde.org>
> Many states consider gambling so immoral that they not only prohibit
private
> gambling organizations, they thoughtfully provide their own.
>
> --
> Horde Developers mailing list: http://horde.org/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe@lists.horde.org
>
>