Install Problems.
"Edgar Picado" <picado-/[email protected]> Tue, 18 Jul 2006 13:19:25 -0600
| Newsgroups | gmane.text.rlib.user |
|---|---|
| Message-ID | <000001c6aa9f$26c00c00$0a01010a@COM010> |
It's a shame i can't put it work.
I've been trying for a week putting rlib to work.
My last attempt was:
- Compile rlib with: --disable-perl --prefix=/usr
- make
- make install
The php file report:
--------------------------
dl ("rlib.so");
$format = "pdf";
$sql_host = "localhost";
$sql_users = "user";
$sql_password = "password";
$sql_database = "database";
$rlib = rlib_init();
echo "1";
echo rlib_version();
rlib_add_datasource_mysql($rlib, "local_mysql", $sql_host, $sql_users,
$sql_password, $sql_dabatase);
echo "2";
echo rlib_add_datasource_mysql($rlib, "local_mysql", $sql_host, $sql_users,
$sql_password, $sql_dabatase);
rlib_add_query_as($rlib, "local_mysql", "select * from ckbancos",
"ckbancos");
echo "3";
rlib_add_report($rlib, "reck_ckbancos.xml");
echo "4";
rlib_set_output_format_from_text($rlib, $format);
echo rlib_get_content_type($rlib);
rlib_execute($rlib);
rlib_spool($rlib);
rlib_free($rlib);
In the screen appear:
12034UNKNOWN
No error messages, just only a blank screen.
Any help, i will appreciate it
Edgar Picado
Messenger: [email protected]
Costa Rica
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rlib-users