From: Zoltan B. <zb...@du...> - 2005-04-14 17:45:03
|
Bob Doan =EDrta: >>>What is the license on the nl_langinfo stuff?=20 >> >>GPL >=20 >=20 > Are you sure it's GPL?? nl_langinfo stuff in glibc is LGPL. Did you > write this or did you get it from somewhere else? Yes, I am certain. This code is part of the development version of libextractor. http://gnunet.org/libextractor/ Here's the patch that went into libextractor after the latest release: http://www.mail-archive.com/gnu...@gn.../msg00184.html Both the header and code implementation files are covered by GPL. Today I mailed the signed copyright asignment via airmail. I hope you receive it in a few days. The attached patch fixes compile errors on MingW 3.2-rc3. In Windows, the directory names must not end with directory separators. And the relink problem on "make install" is fixed if I modify ltmain.sh so the only "need_relink=3Dyes" line is modified to "need_relink=3Dno" after running autogen.sh. Finally I was able to compile my rlibtest.c into rlibtest.exe. It produces a very bad PDF. I set up the same data source on Windows so it accesses the same dataset. Here's the output of my program on Linux: ------------------------------------- type=3D'Content-Type: application/pdf Content-Length: 28575 ' buf=3D0x5a5080 length=3D28575 ------------------------------------- As expected, the file length is 28575 on Linux. And here's the output on Windows: ------------------------------------- type=3D'Content-Type: application/pdf Content-Length: 15998 ' buf=3D01603810 length=3D15998 ------------------------------------- But the file length is not 15998, it's 16240 on Windows. ??? And I tested the generated PDFs, too. Upon opening them in Adobe Acrobat Reader, I get this for the PDF generated on Linux in a messagebox: "Insufficient data for an image" The image is not shown but the report header and records are shown correctly. And for the PDF generated in Windows: "There was an error opening this document." "The file is damaged and could not be repaired." BTW, I get this when I open the Linux PDF in GV: ------------------------------------- **** This file has a corrupted %%EOF marker, or garbage after the %%E= OF. GNU Ghostscript 7.07: Unrecoverable error, exit code 1 Error: /undefined in /BXlevel Operand stack: 28562 9 0 --nostringval-- Creator (RPDF By SICOM Systems)=20 CreationDate (D:20050220143402) Producer (RPDF 1.0) Author=20 (RPDF) Title 4 --dict:9/9(ro)(G)-- RLIB Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval--=20 --nostringval-- 2 %stopped_push --nostringval-- --nostringval--=20 --nostringval-- false 1 %stopped_push 1 3 %oparray_pop=20 1 3 %oparray_pop 1 3 %oparray_pop --nostringval--=20 --nostringval-- --nostringval-- --nostringval-- --nostringval--=20 --nostringval-- --nostringval-- false 1 %stopped_push=20 --nostringval-- %loop_continue --nostringval-- --nostringval--=20 --nostringval-- Dictionary stack: --dict:1061/1123(ro)(G)-- --dict:0/20(G)-- --dict:93/200(L)--=20 --dict:93/200(L)-- --dict:97/127(ro)(G)-- --dict:229/230(ro)(G)--=20 --dict:16/24(L)-- Current allocation mode is local ------------------------------------- XPDF opens the file correctly with no warnings on the console. But for the Windows PDF I get this with XPDF: ------------------------------------- Error (0): PDF file is damaged - attempting to reconstruct xref table... Error (1836): Bad Huffman code in DCT stream ------------------------------------- I got this error from GV for the Windows PDF: ------------------------------------- **** This file has a corrupted %%EOF marker, or garbage after the %%E= OF. GNU Ghostscript 7.07: Unrecoverable error, exit code 1 Error: /syntaxerror in readxref Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval--=20 --nostringval-- 2 %stopped_push --nostringval-- --nostringval--=20 --nostringval-- false 1 %stopped_push 1 3 %oparray_pop=20 1 3 %oparray_pop 1 3 %oparray_pop --nostringval--=20 --nostringval-- --nostringval-- --nostringval-- --nostringval--=20 --nostringval-- Dictionary stack: --dict:1061/1123(ro)(G)-- --dict:0/20(G)-- --dict:93/200(L)-- ------------------------------------- If you need the output files, I send them in separate e-mails. Best regards, Zolt=E1n B=F6sz=F6rm=E9nyi |