Re: Re: cvs: php4 /ext/sablot config.m4

From: Date: Tue, 10 Oct 2000 09:36:03 +0000
Subject: Re: Re: cvs: php4 /ext/sablot config.m4
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.dev 
Request: Send a blank email to php-dev+get-34559@lists.php.net to get a copy of this message
> > > Chuck Hagenbuch wrote: > > > Quoting Derick Rethans <d.rethans@jdimedia.nl>: > > > > > 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

« previous php.dev (#34559) next »