[rrd-developers] embedded rrdtool error
info at daleenterprise.com
Wed Feb 2 15:26:53 MET 2005
I've been trying to embed the rrdtool functions in PHP.
The problem seems to be when PHP is built in this manner, the rrd_graph
function doesn't appear to work properly.
I get the following error.
rrd_graph(): invalid rpn expression 'v1,UN,0,v1,IF'
This error doesn't occur when I use the CLI tool and I've examined the
config.m4 file and I don't believe the problem is there, I believe it's
in the rrdtool.c file, specifically the rrd_graph function.
To be sure, does anyone have a simple php script that works with the
embedded functions that I could use as a test?
Another thing I noticed is that the librrd.dylib doesn't appear to be
built properly based on a test file used to link against it and this
may be the root of the problem, it gives the following errors when I
link against it.
dyld: Undefined symbols:
I have run a similar test linking against libz and I don't encounter
any errors so I suspect it's a build issue.
I also have no contact with anyone who has the embedded functions
working so I am unable to examine valid or working files.
PHP is 4.3.10, ZLIB is 1.2.2, OS is Mac OSXS 10.3.7, using local png
and local zlib with rrdtool.
Assistance would be greatly appreciated.
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
More information about the rrd-developers