At 04:18 PM 8/12/2005, you wrote: >Ok, finally got rrdtool installed. Don't ask how. Just I did. I'm >going to go an celebrate. > >:) > >I have the script installed at >http://www.espphotography.com/mrtg/mailgraph.pl . No images show. If >I view the 'image', i.e. >http://www.espphotography.com/mrtg/mailgraph.cgi?0-n , my error log says > >ERROR: opening 'mailgraph.rrd': No such file or directory. And no, I >don't have a mailgraph.rrd. Is this missing from my postfix install >or my mailgraph install? I didn't see on in the mailgraph install. > >Thanks again all.
Ok, I think I may not have a full install, as I did a which rrrdtool and no return came back. Now I removed the install, and on make, I get: make all-recursive Making all in src make[2]: Nothing to be done for `all'. Making all in bindings Making all in tcl make[3]: Nothing to be done for `all'. Making all in python /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -fno-common -DPIC -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W -L/opt/local/lib -L/opt/local/lib -o rrdtoolmodule.so -module -shared rrdtoolmodule.o ../../src/librrd.la -lpng -lz -lart_lgpl_2 -lfreetype -lz gcc -g -O2 -fno-common -DPIC -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W -o .libs/rrdtoolmodule.so -shared rrdtoolmodule.o -L/opt/local/lib ../../src/.libs/librrd.dylib -lpng /opt/local/lib/libart_lgpl_2.dylib -lm /opt/local/lib/libfreetype.dylib -lz gcc: unrecognized option `-shared' ld: Undefined symbols: _PyArg_ParseTuple _PyDict_New _PyDict_SetItemString _PyErr_Format _PyErr_NewException _PyErr_Occurred _PyErr_SetString _PyExc_TypeError _PyFloat_FromDouble _PyInt_FromLong _PyList_Append _PyList_New _PyMem_Malloc _PyModule_GetDict _PyObject_Free _PyString_FromString _PyString_Type _PyTuple_New _PyTuple_Size _PyType_IsSubtype _Py_FatalError _Py_InitModule4 __Py_NoneStruct make[3]: *** [rrdtoolmodule.so] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 So I did a sudo port install rrdtool, and it completes (well, no errors). Running the mailgraph.cgi script in my browser, I get the below errors in my error.log: dyld: perl Undefined symbols: /opt/local/lib/perl5/site_perl/5.8.7/darwin-2level/auto/RRDs/RRDs.bundle undefined reference to _PL_curpad expected to be defined in a dynamic image /opt/local/lib/perl5/site_perl/5.8.7/darwin-2level/auto/RRDs/RRDs.bundle undefined reference to _PL_markstack_ptr expected to be defined in a dynamic image /opt/local/lib/perl5/site_perl/5.8.7/darwin-2level/auto/RRDs/RRDs.bundle undefined reference to _PL_op expected to be defined in a dynamic image /opt/local/lib/perl5/site_perl/5.8.7/darwin-2level/auto/RRDs/RRDs.bundle undefined reference to _PL_stack_base expected to be defined in a dynamic image /opt/local/lib/perl5/site_perl/5.8.7/darwin-2level/auto/RRDs/RRDs.bundle undefined reference to _PL_stack_max expected to be defined in a dynamic image /opt/local/lib/perl5/site_perl/5.8.7/darwin-2level/auto/RRDs/RRDs.bundle undefined reference to _PL_stack_sp expected to be defined in a dynamic image /opt/local/lib/perl5/site_perl/5.8.7/darwin-2level/auto/RRDs/RRa dynamic image /opt/local/lib/perl5/site_perl/5.8.7/darwin-2level/auto/RRDs/RRDs.bundle undefined reference to _PL_sv_yes expected to be defined in a dynamic image [Fri Aug 12 20:48:32 2005] [error] [client 216.200.134.191] Premature end of script headers: /Library/WebServer/Documents/mrtg/mailgraph.cgi Any help appreciated. I'm at my wits end. :) Evan -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
