From: Bob D. <bd...@si...> - 2004-05-18 13:55:08
|
Hello All, After much work SICOM is happy to release the next version of RLIB. Changes Include: 1.1.8 === - UTF8 backed for international folks, can be disabled (CHET) - Paper types (me) - Java support (me) - Examples (me) - New way to format money (chet) - New way of doing dates (chet) - Lots of bug fixes (chet) Where to get it: http://rlib.sicompos.com News and Notes: Some of you may have noticed the development pace of RLIB has slowed down a bit. The reason is because we at SICOM are now using RLIB for all of our reporting, and we have tons of reports that are getting converted. But, the good news is lots more features will have to be added to RLIB.. so stay tuned ** PLEASE TEST ** We would like to release an official stable release soon. So we would appreciate feedback from this release. - bob |
From: Treeve J. <tre...@pi...> - 2004-05-18 16:09:54
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 18 May 2004 15:54, Bob Doan wrote: > Hello All, > > After much work SICOM is happy to release the next version of RLIB. > > Changes Include: > > 1.1.8 > =3D=3D=3D > - UTF8 backed for international folks, can be disabled (CHET) > - Paper types (me) > - Java support (me) > - Examples (me) > - New way to format money (chet) > - New way of doing dates (chet) > - Lots of bug fixes (chet) > > Where to get it: > > http://rlib.sicompos.com > > News and Notes: > > Some of you may have noticed the development pace of RLIB has slowed > down a bit. The reason is because we at SICOM are now using RLIB for > all of our reporting, and we have tons of reports that are getting > converted. But, the good news is lots more features will have to be > added to RLIB.. so stay tuned > > ** PLEASE TEST ** > > We would like to release an official stable release soon. So we would > appreciate feedback from this release. > I have encountered the following error, using gcc-3.4.0 It is due to the -Werror flag. I edit configure.in and reran autoconf everything then built and installed correctly gcc -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VERSION=3D\"\= "=20 =2D -DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE=3D\"rlib\"= =20 =2D -DVERSION=3D\"1.1.8\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_= SYS_STAT_H=3D1=20 =2D -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRI= NGS_H=3D1=20 =2D -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DL= =46CN_H=3D1=20 =2D -DHAVE_LIBC=3D1 -DHAVE_LIBM=3D1 -DHAVE_ODBC=3D1 -DHAVE_PYTHON=3D1 -DHAV= E_ICONV_H=3D1=20 =2D -DHAVE_ICONV_OPEN=3D1 -DICONV_CONST_CHAR_PP=3D0 -DICONV_ISO=3DISO8859-1= =20 =2D -DSTDC_HEADERS=3D1 -DHAVE_FCNTL_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_CPDFLI= B_H=3D1=20 =2D -DHAVE_LIBCPDF=3D1 -DENABLE_CRASH=3D1 -I. -I. -I/usr/include/libxml2=20 =2D -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib= =2D2.0=20 =2D -I/usr/lib/glib-2.0/include -I/usr/include -I /usr/include/python2.3 -W= all=20 =2D -Werror -O -march=3Dathlon-tbird -mmmx -m3dnow -pipe -O3 -c reportgen.c= -MT=20 reportgen.lo -MD -MP -MF .deps/reportgen.TPlo -fPIC -DPIC=20 =2D -o .libs/reportgen.o reportgen.c: In function `rlib_init_variables': reportgen.c:962: warning: use of cast expressions as lvalues is deprecated reportgen.c:965: warning: use of cast expressions as lvalues is deprecated reportgen.c:968: warning: use of cast expressions as lvalues is deprecated reportgen.c:971: warning: use of cast expressions as lvalues is deprecated reportgen.c:975: warning: use of cast expressions as lvalues is deprecated reportgen.c:978: warning: use of cast expressions as lvalues is deprecated make[2]: *** [reportgen.lo] Error 1 make[2]: Leaving directory `/usr/src/rlib-1.1.8/libsrc' also=20 txt.c: In function `rlib_txt_new_output_filter': txt.c:169: warning: use of cast expressions as lvalues is deprecated datasource.c: In function `rlib_add_datasource_odbc': datasource.c:124: warning: dereferencing type-punned pointer will break=20 strict-aliasing rules datasource.c:125: warning: dereferencing type-punned pointer will break=20 strict-aliasing rules python.c: In function `_wrap_rlib_add_datasource_mysql': python.c:645: warning: dereferencing type-punned pointer will break=20 strict-aliasing rules python.c: In function `_wrap_rlib_add_datasource_postgre': python.c:664: warning: dereferencing type-punned pointer will break=20 strict-aliasing rules python.c: In function `_wrap_rlib_add_query_as': python.c:684: warning: dereferencing type-punned pointer will break=20 strict-aliasing rules python.c: In function `_wrap_rlib_add_report': python.c:703: warning: dereferencing type-punned pointer will break=20 strict-aliasing rules python.c: In function `_wrap_rlib_execute': python.c:720: warning: dereferencing type-punned pointer will break=20 strict-aliasing rules python.c: In function `_wrap_rlib_set_output_format_from_text': python.c:738: warning: dereferencing type-punned pointer will break=20 strict-aliasing rules python.c: In function `_wrap_rlib_spool': python.c:755: warning: dereferencing type-punned pointer will break=20 strict-aliasing rules python.c: In function `_wrap_rlib_free': python.c:772: warning: dereferencing type-punned pointer will break=20 strict-aliasing rules python.c: In function `_wrap_rlib_get_output': python.c:789: warning: dereferencing type-punned pointer will break=20 strict-aliasing rules python.c: In function `_wrap_rlib_get_output_length': python.c:806: warning: dereferencing type-punned pointer will break=20 strict-aliasing rules python.c: In function `_wrap_rlib_add_datasource_odbc': python.c:866: warning: dereferencing type-punned pointer will break=20 strict-aliasing rules python.c: In function `_wrap_rlib_add_resultset_follower': python.c:885: warning: dereferencing type-punned pointer will break=20 strict-aliasing rules python.c: In function `_wrap_rlib_add_parameter': python.c:904: warning: dereferencing type-punned pointer will break=20 strict-aliasing rules > - bob > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=3D2562&alloc_id=3D6184&op=3Dclick > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users Regards, Treeve=20 =2D --=20 PGP Key ID: AB929B24 PGP Key Fingerprint:31D9 D22F 42E6 F545 662E AB6F 9697 34C5 AB92 9B24=20 =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAqjZqlpc0xauSmyQRAj/lAKC6YiUxTNHOa/JqXgcHxEYn+DrtHgCeNMyM +Y69uZQJPRLG+AYuLgn4AVA=3D =3DR5RP =2D----END PGP SIGNATURE----- |
From: Bob D. <bd...@si...> - 2004-05-18 16:20:24
|
Well that sucks :( I think we can make a set functions to get around this.. or maybe just use GOBJECT stuff Thanks for the heads up - bob On Tue, 2004-05-18 at 18:14 +0200, Treeve Jelbert wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > On Tuesday 18 May 2004 15:54, Bob Doan wrote: > > Hello All, > > > > After much work SICOM is happy to release the next version of RLIB. > > > > Changes Include: > > > > 1.1.8 > > =3D=3D=3D > > - UTF8 backed for international folks, can be disabled (CHET) > > - Paper types (me) > > - Java support (me) > > - Examples (me) > > - New way to format money (chet) > > - New way of doing dates (chet) > > - Lots of bug fixes (chet) > > > > Where to get it: > > > > http://rlib.sicompos.com > > > > News and Notes: > > > > Some of you may have noticed the development pace of RLIB has slowed > > down a bit. The reason is because we at SICOM are now using RLIB for > > all of our reporting, and we have tons of reports that are getting > > converted. But, the good news is lots more features will have to be > > added to RLIB.. so stay tuned > > > > ** PLEASE TEST ** > > > > We would like to release an official stable release soon. So we woul= d > > appreciate feedback from this release. > > >=20 > I have encountered the following error, using gcc-3.4.0 > It is due to the -Werror flag. I edit configure.in and reran autoconf > everything then built and installed correctly >=20 >=20 > gcc -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VERSION=3D= \"\"=20 > - -DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE=3D\"rlib= \"=20 > - -DVERSION=3D\"1.1.8\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAV= E_SYS_STAT_H=3D1=20 > - -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_ST= RINGS_H=3D1=20 > - -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_= DLFCN_H=3D1=20 > - -DHAVE_LIBC=3D1 -DHAVE_LIBM=3D1 -DHAVE_ODBC=3D1 -DHAVE_PYTHON=3D1 -DH= AVE_ICONV_H=3D1=20 > - -DHAVE_ICONV_OPEN=3D1 -DICONV_CONST_CHAR_PP=3D0 -DICONV_ISO=3DISO8859= -1=20 > - -DSTDC_HEADERS=3D1 -DHAVE_FCNTL_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_CPDF= LIB_H=3D1=20 > - -DHAVE_LIBCPDF=3D1 -DENABLE_CRASH=3D1 -I. -I. -I/usr/include/libxml2=20 > - -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gl= ib-2.0=20 > - -I/usr/lib/glib-2.0/include -I/usr/include -I /usr/include/python2.3 = -Wall=20 > - -Werror -O -march=3Dathlon-tbird -mmmx -m3dnow -pipe -O3 -c reportgen= .c -MT=20 > reportgen.lo -MD -MP -MF .deps/reportgen.TPlo -fPIC -DPIC=20 > - -o .libs/reportgen.o > reportgen.c: In function `rlib_init_variables': > reportgen.c:962: warning: use of cast expressions as lvalues is depreca= ted > reportgen.c:965: warning: use of cast expressions as lvalues is depreca= ted > reportgen.c:968: warning: use of cast expressions as lvalues is depreca= ted > reportgen.c:971: warning: use of cast expressions as lvalues is depreca= ted > reportgen.c:975: warning: use of cast expressions as lvalues is depreca= ted > reportgen.c:978: warning: use of cast expressions as lvalues is depreca= ted > make[2]: *** [reportgen.lo] Error 1 > make[2]: Leaving directory `/usr/src/rlib-1.1.8/libsrc' >=20 >=20 > also=20 > txt.c: In function `rlib_txt_new_output_filter': > txt.c:169: warning: use of cast expressions as lvalues is deprecated > datasource.c: In function `rlib_add_datasource_odbc': > datasource.c:124: warning: dereferencing type-punned pointer will break= =20 > strict-aliasing rules > datasource.c:125: warning: dereferencing type-punned pointer will break= =20 > strict-aliasing rules > python.c: In function `_wrap_rlib_add_datasource_mysql': > python.c:645: warning: dereferencing type-punned pointer will break=20 > strict-aliasing rules > python.c: In function `_wrap_rlib_add_datasource_postgre': > python.c:664: warning: dereferencing type-punned pointer will break=20 > strict-aliasing rules > python.c: In function `_wrap_rlib_add_query_as': > python.c:684: warning: dereferencing type-punned pointer will break=20 > strict-aliasing rules > python.c: In function `_wrap_rlib_add_report': > python.c:703: warning: dereferencing type-punned pointer will break=20 > strict-aliasing rules > python.c: In function `_wrap_rlib_execute': > python.c:720: warning: dereferencing type-punned pointer will break=20 > strict-aliasing rules > python.c: In function `_wrap_rlib_set_output_format_from_text': > python.c:738: warning: dereferencing type-punned pointer will break=20 > strict-aliasing rules > python.c: In function `_wrap_rlib_spool': > python.c:755: warning: dereferencing type-punned pointer will break=20 > strict-aliasing rules > python.c: In function `_wrap_rlib_free': > python.c:772: warning: dereferencing type-punned pointer will break=20 > strict-aliasing rules > python.c: In function `_wrap_rlib_get_output': > python.c:789: warning: dereferencing type-punned pointer will break=20 > strict-aliasing rules > python.c: In function `_wrap_rlib_get_output_length': > python.c:806: warning: dereferencing type-punned pointer will break=20 > strict-aliasing rules > python.c: In function `_wrap_rlib_add_datasource_odbc': > python.c:866: warning: dereferencing type-punned pointer will break=20 > strict-aliasing rules > python.c: In function `_wrap_rlib_add_resultset_follower': > python.c:885: warning: dereferencing type-punned pointer will break=20 > strict-aliasing rules > python.c: In function `_wrap_rlib_add_parameter': > python.c:904: warning: dereferencing type-punned pointer will break=20 > strict-aliasing rules >=20 >=20 >=20 > > - bob > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: SourceForge.net Broadband > > Sign-up now for SourceForge Broadband and get the fastest > > 6.0/768 connection for only $19.95/mo for the first 3 months! > > http://ads.osdn.com/?ad_id=3D2562&alloc_id=3D6184&op=3Dclick > > _______________________________________________ > > Rlib-users mailing list > > Rli...@li... > > https://lists.sourceforge.net/lists/listinfo/rlib-users > Regards, Treeve=20 >=20 > - --=20 > PGP Key ID: AB929B24 > PGP Key Fingerprint:31D9 D22F 42E6 F545 662E AB6F 9697 34C5 AB92 9B24=20 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (GNU/Linux) >=20 > iD8DBQFAqjZqlpc0xauSmyQRAj/lAKC6YiUxTNHOa/JqXgcHxEYn+DrtHgCeNMyM > +Y69uZQJPRLG+AYuLgn4AVA=3D > =3DR5RP > -----END PGP SIGNATURE----- >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id%62&alloc_ida84&op=CCk > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users |
From: Everton L. B. <ev...@fa...> - 2004-05-19 19:31:49
|
Hi, it's me again.. I have been compiled the new rlib-1.1.8 and have questions. (my configure command was: "./configure --disable-utf8 --disable-python", i'm using linux slackware9.1, php 4.3.6, postgres 7.4.1) 1) What's "rlibc" ? and i'm not running it.. everton@nsa3:~$ rlibc --help rlibc: error while loading shared libraries: libr-1.1.8: cannot open shared object file: No such file or directory everton@nsa3:~$ I run 'ldconfig' at /usr/local/lib.. the output of 'ldconfig -p | grep libr' is: root@nsa3:~# ldconfig -p | grep libr librt.so.1 (libc6, OS ABI: Linux 2.0.0) => /lib/librt.so.1 librt.so (libc6, OS ABI: Linux 2.0.0) => /usr/lib/librt.so (...) libr.so (libc6) => /usr/local/lib/libr.so libr-1.1.8.so (libc6) => /usr/local/lib/libr-1.1.8.so libr-1.1.7.so (libc6) => /usr/local/lib/libr-1.1.7.so libr-1.1.6.so (libc6) => /usr/local/lib/libr-1.1.6.so libr-postgre.so (libc6) => /usr/local/lib/libr-postgre.so (...) 2) My iso-8859-1 special chars does not works.. see: everton@nsa3:/var/www/html/sa/gradecurricular$ php gradecurricular.php > teste.pdf Setting output encoding to ISO-8859-1Setting locale to [LC_CTYPE=pt_BR.iso88591;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C] FAILEDencoding is NULL or invalid [C]... using en_USSetting locale to [C] FAILEDSetting locale to [pt_BR.iso88591] FAILEDencoding is NULL or invalid [C]... using en_USSetting locale to [C] FAILEDencoding is NULL or invalid [C]... (...............) Setting locale to [C] FAILEDCPDF version 2.02-r1-0looking for A4 The locale 'pt_BR.iso88591' coming from my env variables: everton@nsa3:~$ env | grep LANG LANG=pt_BR.iso88591 LANGUAGE=pt_BR.iso88591 everton@nsa3:~$ env | grep CHAR MM_CHARSET=pt_BR.iso88591 LESSCHARSET=latin1 The report (pdf) contains anothers special chars, not the chars written at postgresql database. I tried functions: rlib_set_output_encoding($rlib, 'ISO-8859-1'); rlib_set_datasource_encoding($rlib, "pgsql", "LATIN1"); rlib_set_locale($rlib, 'pt_BR'); but output is same. -- Everton Luis Berz Nucleo de Sistemas :: FACCAT - Faculdades de Taquara +55 51 541 6600 - R.647 ICQ 7807919 Bob Doan wrote: > Hello All, > > After much work SICOM is happy to release the next version of RLIB. > > Changes Include: > > 1.1.8 > === > - UTF8 backed for international folks, can be disabled (CHET) > - Paper types (me) > - Java support (me) > - Examples (me) > - New way to format money (chet) > - New way of doing dates (chet) > - Lots of bug fixes (chet) > > Where to get it: > > http://rlib.sicompos.com > > News and Notes: > > Some of you may have noticed the development pace of RLIB has slowed > down a bit. The reason is because we at SICOM are now using RLIB for > all of our reporting, and we have tons of reports that are getting > converted. But, the good news is lots more features will have to be > added to RLIB.. so stay tuned > > ** PLEASE TEST ** > > We would like to release an official stable release soon. So we would > appreciate feedback from this release. > > - bob > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users > |
From: Bob D. <bd...@si...> - 2004-05-19 19:54:42
Attachments:
rlib.patch
|
On Wed, 2004-05-19 at 14:28 -0300, Everton Luis Berz wrote: > Hi, > it's me again.. > > I have been compiled the new rlib-1.1.8 and have questions. > (my configure command was: "./configure --disable-utf8 > --disable-python", i'm using linux slackware9.1, php 4.3.6, postgres 7.4.1) > > 1) What's "rlibc" ? and i'm not running it.. > everton@nsa3:~$ rlibc --help > rlibc: error while loading shared libraries: libr-1.1.8: cannot open > shared object file: No such file or directory > everton@nsa3:~$ > It's supposed to compile RLIB XML files into .rlib files for faster loading time.. it's still under development. > I run 'ldconfig' at /usr/local/lib.. the output of 'ldconfig -p | grep > libr' is: > root@nsa3:~# ldconfig -p | grep libr > librt.so.1 (libc6, OS ABI: Linux 2.0.0) => /lib/librt.so.1 > librt.so (libc6, OS ABI: Linux 2.0.0) => /usr/lib/librt.so > (...) > libr.so (libc6) => /usr/local/lib/libr.so > libr-1.1.8.so (libc6) => /usr/local/lib/libr-1.1.8.so > libr-1.1.7.so (libc6) => /usr/local/lib/libr-1.1.7.so > libr-1.1.6.so (libc6) => /usr/local/lib/libr-1.1.6.so > libr-postgre.so (libc6) => /usr/local/lib/libr-postgre.so > (...) > > 2) My iso-8859-1 special chars does not works.. see: Can you apply this patch? I think it will help things. > everton@nsa3:/var/www/html/sa/gradecurricular$ php gradecurricular.php > > teste.pdf > Setting output encoding to ISO-8859-1Setting locale to > [LC_CTYPE=pt_BR.iso88591;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C] > FAILEDencoding is NULL or invalid [C]... using en_USSetting locale to > [C] FAILEDSetting locale to [pt_BR.iso88591] FAILEDencoding is NULL or > invalid [C]... using en_USSetting locale to [C] FAILEDencoding is NULL > or invalid [C]... (...............) Setting locale to [C] FAILEDCPDF > version 2.02-r1-0looking for A4 > > The locale 'pt_BR.iso88591' coming from my env variables: > everton@nsa3:~$ env | grep LANG > LANG=pt_BR.iso88591 > LANGUAGE=pt_BR.iso88591 > everton@nsa3:~$ env | grep CHAR > MM_CHARSET=pt_BR.iso88591 > LESSCHARSET=latin1 > > The report (pdf) contains anothers special chars, not the chars written > at postgresql database. > > I tried functions: > rlib_set_output_encoding($rlib, 'ISO-8859-1'); > rlib_set_datasource_encoding($rlib, "pgsql", "LATIN1"); > rlib_set_locale($rlib, 'pt_BR'); > > but output is same. > > > |
From: Everton L. B. <ev...@fa...> - 2004-05-19 22:14:40
|
Bob Doan wrote: > On Wed, 2004-05-19 at 14:28 -0300, Everton Luis Berz wrote: > > It's supposed to compile RLIB XML files into .rlib files for faster > loading time.. it's still under development. Ok > >> >>2) My iso-8859-1 special chars does not works.. see: > > Can you apply this patch? I think it will help things. Not works.. and at: #if DISABLE_UTF8 g_strdup(rs->get_field_value_as_string(rs, r->results[rf->resultset].result , rf->field)); #else ... I changed to #if DISABLE_UTF8 return g_strdup(rs->get_field_value_as_string(rs, r->results[rf->resultset].result , rf->field)); #else ... but still not working.. -- Everton Luis Berz Nucleo de Sistemas :: FACCAT - Faculdades de Taquara +55 51 541 6600 - R.647 ICQ 7807919 |
From: Bob D. <bd...@si...> - 2004-05-20 19:58:01
|
Ok, The change you made is good. There is only like 3 places where the data could be getting messed up. If you wouldn't mind could you throw some debug code in the following places: 1) In resolution.c right before the return you added in can you put a rlogit("TEST 1: %s", rs->get_field_value_as_string(rs, r->results[rf->resultset].result , rf->field)); I'm pretty sure the data is good here. But I could be wrong. Assuming it's good we need to add some trace in pdf.c at about line 43 in the function rlib_pdf_print_text There's a if which SHOULD be FALSE in in your case.. but maybe something wrong and it's being set.. Can you put trace code inside both parts of the if to see which way it's going. In your case we don't want it to touch the UTF8 stuff if (!r->current_output_encoder || rlib_char_encoder_isUTF8(r->current_output_encoder)) - bob On Wed, 2004-05-19 at 19:15 -0300, Everton Luis Berz wrote: > Bob Doan wrote: > > On Wed, 2004-05-19 at 14:28 -0300, Everton Luis Berz wrote: > > > > It's supposed to compile RLIB XML files into .rlib files for faster > > loading time.. it's still under development. > Ok > > > > >> > >>2) My iso-8859-1 special chars does not works.. see: > > > > Can you apply this patch? I think it will help things. > Not works.. > > and at: > #if DISABLE_UTF8 > g_strdup(rs->get_field_value_as_string(rs, > r->results[rf->resultset].result , rf->field)); > #else > ... > > I changed to > #if DISABLE_UTF8 > return g_strdup(rs->get_field_value_as_string(rs, > r->results[rf->resultset].result , rf->field)); > #else > ... > > but still not working.. > > |
From: Everton L. B. <ev...@fa...> - 2004-05-20 22:11:15
|
errr... sorry, the rlib version that I run was the old 1.1.8... my new compile/install do not overwrite the old 1.1.8. You rename the symbolic link libr.so to libr and librlib.so to librlib, correct? I have been deleted the libr* files at /usr/local/lib and tried the new rlib, but.... my new compilation do not works.. gcc -g -O2 -o .libs/example example.o -Wl,--export-dynamic -L/usr/local/src/rlib-1.1.8/libsrc -L/usr/i486-slackware-linux/bin -L/usr/i486-slackware-linux/lib -L/usr/lib -L/usr/lib/mysql -L/usr/local/pgsql/lib /usr/local/src/rlib-1.1.8/libsrc/.libs/libr /usr/lib/libxml2.so /usr/lib/./libstdc++.so -lgcc_s /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so /usr/lib/mysql/libmysqlclient.so -lz -lcrypt -lnsl -lpq /usr/lib/libodbc.so -lpthread /usr/lib/libiconv.so -ldl -lr-mysql -lcpdf -lm -lc -Wl,--rpath -Wl,/usr/lib/. -Wl,--rpath -Wl,/usr/lib/mysql /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-linux/bin/ld: cannot find -lr-mysql collect2: ld returned 1 exit status make[4]: ** [example] Erro 1 make[4]: Leaving directory `/usr/local/src/rlib-1.1.8/src/examples/c' my prefix is default (/usr/local, lib at /usr/local/lib), I think the gcc is searching for r-mysql at /usr/lib. |
From: Bob D. <bd...@si...> - 2004-05-21 13:32:08
|
in src/examples/c in the Makefile.am try changing example_LDADD to: example_LDADD = -L${top_builddir}/libsrc/ -L${top_builddir}/inputs/mysql/ $(RLIB_LIBS) -lr -lr-mysql On Thu, 2004-05-20 at 19:12 -0300, Everton Luis Berz wrote: > errr... > > sorry, the rlib version that I run was the old 1.1.8... my new > compile/install do not overwrite the old 1.1.8. > You rename the symbolic link libr.so to libr and librlib.so to librlib, > correct? > > I have been deleted the libr* files at /usr/local/lib and tried the > new rlib, but.... my new compilation do not works.. > > gcc -g -O2 -o .libs/example example.o -Wl,--export-dynamic > -L/usr/local/src/rlib-1.1.8/libsrc -L/usr/i486-slackware-linux/bin > -L/usr/i486-slackware-linux/lib -L/usr/lib -L/usr/lib/mysql > -L/usr/local/pgsql/lib /usr/local/src/rlib-1.1.8/libsrc/.libs/libr > /usr/lib/libxml2.so /usr/lib/./libstdc++.so -lgcc_s > /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so > /usr/lib/mysql/libmysqlclient.so -lz -lcrypt -lnsl -lpq > /usr/lib/libodbc.so -lpthread /usr/lib/libiconv.so -ldl -lr-mysql -lcpdf > -lm -lc -Wl,--rpath -Wl,/usr/lib/. -Wl,--rpath -Wl,/usr/lib/mysql > /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-linux/bin/ld: > cannot find -lr-mysql > collect2: ld returned 1 exit status > make[4]: ** [example] Erro 1 > make[4]: Leaving directory `/usr/local/src/rlib-1.1.8/src/examples/c' > > > my prefix is default (/usr/local, lib at /usr/local/lib), I think the > gcc is searching for r-mysql at /usr/lib. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users |
From: Everton L. B. <ev...@fa...> - 2004-05-21 14:28:19
|
Bob Doan wrote: > in src/examples/c > > in the Makefile.am > > try changing > > example_LDADD to: > > > example_LDADD = -L${top_builddir}/libsrc/ > -L${top_builddir}/inputs/mysql/ $(RLIB_LIBS) -lr -lr-mysql OK! now, 'make install' shows a error: Making install in mysql make[2]: Entering directory `/usr/local/src/rlib-1.1.8/inputs/mysql' make[3]: Entering directory `/usr/local/src/rlib-1.1.8/inputs/mysql' /bin/sh ../../mkinstalldirs /usr/local/lib /bin/sh ../../libtool --mode=install /usr/bin/ginstall -c libr-mysql.la /usr/local/lib/libr-mysql.la libtool: install: warning: relinking `libr-mysql.la' (cd /usr/local/src/rlib-1.1.8/inputs/mysql; /bin/sh ../../libtool --mode=relink gcc -g -O2 -o libr-mysql.la -rpath /usr/local/lib -release 1.1.8 mysql.lo -lxml2 -lpthread -lz -liconv -lm -lglib-2.0 -Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0 -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/local/pgsql/lib -lpq -L/usr/lib -lodbc -liconv -lcpdf -L../../libsrc/ -lr -lcpdf -lm -lc ) gcc -shared .libs/mysql.o -Wl,--rpath -Wl,/usr/lib/mysql -L/usr/i486-slackware-linux/lib -L/usr/i486-slackware-linux/bin -L/usr/lib/. -L/usr/lib -lxml2 -lpthread -lgmodule-2.0 -ldl -lglib-2.0 -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -L/usr/local/pgsql/lib -lpq -lodbc -liconv -L/usr/local/src/rlib-1.1.8/libsrc -L/usr/local/lib -lr -lcpdf -lm -lc -Wl,--export-dynamic -Wl,-soname -Wl,libr-mysql-1.1.8 -o .libs/libr-mysql-1.1.8 /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-linux/bin/ld: cannot find -lr collect2: ld returned 1 exit status libtool: install: error: relink `libr-mysql.la' with the above command before installing it make[3]: ** [install-libLTLIBRARIES] Erro 1 make[3]: Leaving directory `/usr/local/src/rlib-1.1.8/inputs/mysql' make[2]: ** [install-am] Erro 2 make[2]: Leaving directory `/usr/local/src/rlib-1.1.8/inputs/mysql' make[1]: ** [install-recursive] Erro 1 make[1]: Leaving directory `/usr/local/src/rlib-1.1.8/inputs' make: ** [install-recursive] Erro 1 > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users > -- Everton Luis Berz Nucleo de Sistemas :: FACCAT - Faculdades de Taquara +55 51 541 6600 - R.647 ICQ 7807919 |
From: Bob D. <bd...@si...> - 2004-05-21 15:34:21
|
How about we just take SUBDIRS = \ $(EXAMPLES) Out from src/Makefile.am for know.. and let me know what happens - bob On Fri, 2004-05-21 at 11:29 -0300, Everton Luis Berz wrote: > Bob Doan wrote: > > in src/examples/c > > > > in the Makefile.am > > > > try changing > > > > example_LDADD to: > > > > > > example_LDADD = -L${top_builddir}/libsrc/ > > -L${top_builddir}/inputs/mysql/ $(RLIB_LIBS) -lr -lr-mysql > OK! > > now, 'make install' shows a error: > > Making install in mysql > make[2]: Entering directory `/usr/local/src/rlib-1.1.8/inputs/mysql' > make[3]: Entering directory `/usr/local/src/rlib-1.1.8/inputs/mysql' > /bin/sh ../../mkinstalldirs /usr/local/lib > /bin/sh ../../libtool --mode=install /usr/bin/ginstall -c > libr-mysql.la /usr/local/lib/libr-mysql.la > libtool: install: warning: relinking `libr-mysql.la' > (cd /usr/local/src/rlib-1.1.8/inputs/mysql; /bin/sh ../../libtool > --mode=relink gcc -g -O2 -o libr-mysql.la -rpath /usr/local/lib -release > 1.1.8 mysql.lo -lxml2 -lpthread -lz -liconv -lm -lglib-2.0 > -Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0 -L/usr/lib/mysql > -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/local/pgsql/lib -lpq > -L/usr/lib -lodbc -liconv -lcpdf -L../../libsrc/ -lr -lcpdf -lm -lc ) > gcc -shared .libs/mysql.o -Wl,--rpath -Wl,/usr/lib/mysql > -L/usr/i486-slackware-linux/lib -L/usr/i486-slackware-linux/bin > -L/usr/lib/. -L/usr/lib -lxml2 -lpthread -lgmodule-2.0 -ldl -lglib-2.0 > -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -L/usr/local/pgsql/lib > -lpq -lodbc -liconv -L/usr/local/src/rlib-1.1.8/libsrc -L/usr/local/lib > -lr -lcpdf -lm -lc -Wl,--export-dynamic -Wl,-soname > -Wl,libr-mysql-1.1.8 -o .libs/libr-mysql-1.1.8 > /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-linux/bin/ld: > cannot find -lr > collect2: ld returned 1 exit status > libtool: install: error: relink `libr-mysql.la' with the above command > before installing it > make[3]: ** [install-libLTLIBRARIES] Erro 1 > make[3]: Leaving directory `/usr/local/src/rlib-1.1.8/inputs/mysql' > make[2]: ** [install-am] Erro 2 > make[2]: Leaving directory `/usr/local/src/rlib-1.1.8/inputs/mysql' > make[1]: ** [install-recursive] Erro 1 > make[1]: Leaving directory `/usr/local/src/rlib-1.1.8/inputs' > make: ** [install-recursive] Erro 1 > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: Oracle 10g > > Get certified on the hottest thing ever to hit the market... Oracle 10g. > > Take an Oracle 10g class now, and we'll give you the exam FREE. > > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > > _______________________________________________ > > Rlib-users mailing list > > Rli...@li... > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > |