[bug-gs] building 8.10 on HPUX 11i
Palandri E.M. (Mark)
mark at docscience.fr
Wed Nov 19 16:38:33 PST 2003
I also ran into this problem on HPUX and after a bit of debugging, I traced
it to the routine gp_unifs.c. In this routine a test is made on the length
of a pathname, comparing it to a symbol "FILENAME_MAX". On HPUX, this
symbol is defined in <stdio.h> as being 14. This is much too short for most
path names, the test fails and the code exits. I added the following code
to gp_unifs.c to kludge around it and it seems to have solved the problem
#if (FILENAME_MAX < 256)
# undef FILENAME_MAX
# define FILENAME_MAX 256
#endif
For what it is worth.
Mark Palandri
At 16:07 03/09/08, Dinh, Tho (TEM) wrote:
>I'm trying to build 8.10 on HPUX 11.11 and got numerous syntax errors with
>the jbig2dec code. I was however, able to get it built by specifying
>--with-jbig2dec=no when running configure. However, when I try to run
>ps2pdf, I an error similar to the following:
>
>While reading gs_dbt_e.ps:
>Error: /VMerror in --filenameforall--
>VM status: 0 319390 1607480
>Current allocation mode is global
>Last OS error: 2
>Current file position is 6167
>
>Anyone else able to get 8.10 or 8.11 built successfully on HPUX? Any help
>is appreciated! I'm using gcc 3.2.3 and gmake 3.79.1. Also, please reply
>to me as I do not check the mailing list regularly.
>
>Thanks,
>Tho Dinh
>
>
>
>_______________________________________________
>bug-gs mailing list
>bug-gs at ghostscript.com
>http://www.ghostscript.com/mailman/listinfo/bug-gs
More information about the bug-gs
mailing list