Summary: | gs 8.51 - jasper clashes with HP-UX system header, won't build | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Hin-Tak Leung <htl10> |
Component: | Build Process | Assignee: | Hin-Tak Leung <htl10> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | DantePasquale, samg |
Priority: | P4 | Keywords: | bountiable |
Version: | 8.51 | ||
Hardware: | HP | ||
OS: | HP-UX | ||
Customer: | Word Size: | --- | |
Attachments: |
/usr/include/sys/_inttypes.h on an HP-UX box
jas_types.h jas_types.h.patch uncommitted changes from hp.connect ghostscript 8.62 diff uncommitted change from hp.connect jaser 1.900.1 diff tgz of the 6 patches mentioned here. |
Description
Hin-Tak Leung
2005-07-02 14:37:33 UTC
This is a spin-off of Bug 687360 , see http://bugs.ghostscript.com/show_bug.cgi?id=687360#c16 Ralph: how about making this bountiable and let Alex do it? See bug 687360 comment 30. Created attachment 1497 [details]
/usr/include/sys/_inttypes.h on an HP-UX box
/usr/include/sys/_inttypes.h on an HP-UX box, for reference
and where the clashes is.
*** Bug 688197 has been marked as a duplicate of this bug. *** tried cvs 2005-07-26 mid-day, and the problem is still there. (I read elsewhere that there are some compilation change/improvement beyond 8.51, but apparently not related). Hin-Tak, do you still have access to an HP-UX machine? I've made the bug bountiable in case someone wants to track down a fix. Could try; but is rather busy lately, so anybody who feels like having a crack at it, feel free to do so. Created attachment 5271 [details]
jas_types.h
Hi, this allows the build to succeed on my HP (HP-UX 11.11, PA-RISC), patch to
follow.
Created attachment 5272 [details]
jas_types.h.patch
Patch to create jas_types.h, against gs ver 8.64
*** Bug 690369 has been marked as a duplicate of this bug. *** Grabbing a Ralph's bugs. There are other patches trying to fix this problem elsewhere: http://hpux.connect.org.uk/hppd/cgi-bin/wwwtar?/hpux/PostScript/ghostscript-8.62.0/ghostscript-8.62.0-src-11.11.tar.gz+ghostscript-8.62.0/HPUX.Install+text http://hpux.connect.org.uk/hppd/cgi-bin/wwwtar?/hpux/Development/Libraries/jasper-1.900.1/jasper-1.900.1-src-11.11.tar.gz+jasper-1.900.1/HPUX.Install+text http://hpux.connect.org.uk/hppd/hpux/PostScript/ghostscript-8.62.0/ http://hpux.connect.org.uk/hppd/hpux/Development/Libraries/jasper-1.900.1/ Reviewed all the patches and committed r11237 (fixes jasper issue detailed here) , r11238 (jbig2dec issue), r11239 (HP cc compiler quirk workaround for opvp), r11240 (fix for non-GNU make on Tru64/HP-UX) r11240 is not needed if GNU make is used instead of HP make; r11239 is possibly not needed if a recent GCC is used instead of HP cc. To build ghostscript 8.71 on HP-UX, r11240 is irrelevant because it fixes a problem introduced after 8.71; r10826 and r10827 (both issues against AIX's CC) are also needed for HP cc. r11237 is equivalent to (and better than) attachment 5272 [details] - which may break other systems; there are some extraneous changes from the hpux.connect which were not needed on the system I tested but may be relevant to other HP hardware/compiler combo so I'll attach them here for reference. # uname -a HP-UX vital50 B.11.23 U ia64 0997504964 unlimited-user license # cc --version cc: HP C/aC++ B3910B A.06.15 [May 16 2007] # ld -V ld: 92453-07 linker ld HP Itanium(R) B.12.42 IPF/IPF Created attachment 6282 [details]
uncommitted changes from hp.connect ghostscript 8.62 diff
I don't find these changes necessary, but may be useful for other hardware/compiler combo than the one I used.
Created attachment 6283 [details]
uncommitted change from hp.connect jaser 1.900.1 diff
I don't find these changes necessary - attached here for reference.
Created attachment 6284 [details] tgz of the 6 patches mentioned here. 0001-Fixes-part-of-691149-void-function-returning-value-t.patch r10826 0001-First-half-of-patch-from-John-Wehle-for-bug-691149-v.patch r10827 0001-fix-conflicting-types-against-HP-UX-system-header-in.patch r11237 0002-uint8_t-type-located-in-usual-header-on-HP-UX-needed.patch r11238 0003-HP-compiler-quirk-apparently-the-same-workaround-is-.patch r11239 0004-remove-one-extra-tab-introduced-in-r10994-non-GNU-Ma.patch r11240 To patch against 8.71, only the first 5 are needed. These will require GNU patch (HP patch doesn't take unified diff's), of which HP binaries can be downloaded from: http://hpux.connect.org.uk/hppd/hpux/Sysadmin/patch-2.6.1/ |