Date: 10/10/00
- Next message: Phil Driscoll: "[PHP-DEV] Readme file for Windows release"
- Previous message: Lars Torben Wilson: "Re: [PHP-DEV] PHP 4.0 Bug #7113: count and pointers"
- In reply to: Derick Rethans: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot config.m4"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot config.m4"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot config.m4"
- Reply: Chuck Hagenbuch: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot config.m4"
- Reply: Lars Torben Wilson: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot config.m4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>
>
> Chuck Hagenbuch wrote:
>
> > Quoting Derick Rethans <d.rethans <email protected>>:
> >
> > > I want to say that I can compile fine with sablotron the way it was.
> > > I have zlib installed. If you need more info, please mail me.
> >
> > How did you compile sablotron? Differently from the normal ./configure;
make;
> > make install?
>
> I just did ./configure; make, but I did not use the Expat library that comes
with
>
> sabltron. I left the Expat dir empty. I got a warning about that, but I just
> ignored
> that. Then sablotron compiled fine (I already had libxml and libmxltok on my
> RedHat 6.2 system).
>
> I compiled PHP with the following configure line:
>
> ./configure --with-apache=/dat/APACHE-PHP4/apache_1.3.12 \
> --with-gd --with-ttf --with-mysql --with-pdflib \
> --with-config-file-path=/etc/httpd --enable-track-vars \
> --enable-magiq-quotes --enable-memory-limit \
> --with-mcrypt=../libmcrypt-2.4.4 --with-imap=../imap-4.7 \
> --enable-debug --with-sablot --enable-sysvshm \
> --with-pam=shared --enable-sysvsem --enable-ftp \
> --with-shmop
>
> I know it is big :) But I compiled fine here, and the sablotron works
> great. (Not sablot-0.43, but only 0.44)
>
Derick's been able to build the extension before I've been able to get it to
work. I spent a good 5 hours figuring out how to get it to work (thinking that
I was the only one experiencing the problem because of my royaly messed up
testing machine).
If you've already got libxmlparse and libxmltok installed then you can just try
and link sablotron against them, see if that works (Sablotron will build
successfully if it does), if it doesn't...
Here's the method I found to work when building Sablotron:
Install the latest version of Expat, as per the instructions on
http://www.php.net/manual/ref.xml.php
Then simply link against the external expat libraries when compiling Sablotron
and poof, it should all work...
I believe Chuck analyzed the problem correctly, if you don't link against the
external libraries then you need to add -lxmlparse -lxmltok, however, I don't
know whether the solution was correct....
Sterling
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Phil Driscoll: "[PHP-DEV] Readme file for Windows release"
- Previous message: Lars Torben Wilson: "Re: [PHP-DEV] PHP 4.0 Bug #7113: count and pointers"
- In reply to: Derick Rethans: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot config.m4"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot config.m4"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot config.m4"
- Reply: Chuck Hagenbuch: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot config.m4"
- Reply: Lars Torben Wilson: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot config.m4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

