473,796 Members | 2,712 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP 5.0.1, Solaris 5.9, Sablotron 1.0.2, config problems

Everything compiles.
Can run sabcmd with no problems.
But when running a simple php script, it cannot find the sablotron
functions. So it does not appear to be linking the Sablotron stuff.
Probably just something simple I am missing.
Any suggestions?

Built with:
configure --with-xml --with-expat=/usr/local --enable-xslt
--with-xslt-sablot=/usr/local

Simple PHP script:
<?php
$parser = xslt_create();
$html = xslt_process($p arser, "test.xml", "test.xsl") ;
xslt_free($pars er);

echo $html;
?>

Returns:
Fatal error: Call to undefined function xslt_create() in /tmp/xsl.php on
line 2

Jul 17 '05 #1
1 1439
krigare wrote:
Everything compiles.
Can run sabcmd with no problems.
But when running a simple php script, it cannot find the sablotron
functions. So it does not appear to be linking the Sablotron stuff.
Probably just something simple I am missing.
Any suggestions?


PHP5 has new XML and XSLT extension, which is not based on sablotron.

Berislav
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
12893
by: Ghislain Benrais | last post by:
Hello, My "problem" : install php's XSLT API. 1)I installed Sablotron (with the rpm) : ok 2) I read every where that the next step was to compile php with option --with-xslt-sablot. Since I have php's rpm, I wonder if I can use it directly and tell the rpm command to use this compilation option. Is it possible ? If not, that's no problem since I can download php and compile, but still I'm wondering if rpms can be used with such options....
4
2787
by: Simone | last post by:
this (my) script i's ok: <?php $processor=xslt_create(); $result=xslt_process($processor,'xsl/curriculum.xml','xsl/curriculum.xsl'); if (!$result) { echo xslt_error($processor); } else {echo $result;} xslt_free($processor);
0
1920
by: Steve Jenkins | last post by:
Hi all, I'm trying to install Sablotron on Red Hat Linux release 7.2 (Enigma). I've got Sablotron to compile. I now get the following error when running ./configure on PHP: checking for Sablotron libraries in the default path... found in /usr/local checking for sablot-config... found checking for Sablotron version... configure: error: Sablotron version
0
2107
by: Dave Harrison | last post by:
Ok before I start, please dont mail me telling me to use a more recent version of Python, I _would_ use 2.2.x but due to an existing framework all based on using 2.1.1 I have been specifically told to use 2.1.1 to avoid any crossover issues/problems. Thanks ;-) So ... Using gcc Im compiling Python2.1.1, and it configures quite reasonably, the ./configure is trascribed at the bottom of this email. now once I have done that I compile it...
0
1497
by: Christophe | last post by:
Hello, I'm trying to build python 2.3.4 on Solaris 8 (SunOS 5.8) and I ran into a little problem with the socket/ssl module : ************************************ gcc -shared build/temp.solaris-2.8-sun4u-2.3/_ssl.o -lssl -lcrypto -o build/lib.solaris-2.8-sun4u-2.3/_ssl.so ld: fatal: relocations remain against allocatable but non-writable sections
0
1695
by: Robert Mazur | last post by:
Solaris 9 - sparc 64bit MySQL 5.0 alpha (installed using binary from MySQL) --------------------------------- Has anyone expereinced this? The client will launch locally and process SQL queries. However when using the up arrow to view previously entered SQL statements, the MySQL client throws: Segmentation Fault (core dumped)
9
4795
by: Martin Plantec | last post by:
Hello, I have managed (with your help!) to make a working XSLT stylesheet; it works fine locally (Windows Apache + PHP with Sablotron 1.0), but it fails on the remote host (FreeBSD Apache + PHP with Sablotron 1.0) with the following: Warning: Sablotron error on line 1: XML parser error 4: not well-formed (invalid token) in /...host...path.../page.php on line 28 FAILURE : XML parser error 4: not well-formed (invalid token) ; error
0
9748
by: Kirt Loki Dankmyer | last post by:
So, I download the latest "stable" tar for perl (5.8.7) and try to compile it on the Solaris 8 (SPARC) box that I administrate. I try all sorts of different switches, but I can't get it to compile. I need it to be compiled with threads. Anyone have any wisdom on how best to do this? Here's a transcript of my latest attempt. It's long; you might want to skip to the bottom, where I try "make" and the fatal errors start happening.
4
1314
by: gouranga | last post by:
Sablotron keeps giving an error (non-XSL instruction) on the line with this code: <xsl:result-document href="slideshow/index.html" format="html"> Is this implemented in Sablotron? It's quite urgent :) Thx in advance.
0
9524
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10217
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10168
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10003
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9047
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6785
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.