Unix Technical Forum

Has anyone been any to compile ghostscript version 8.50 or above on sco 5.0.5

This is a discussion on Has anyone been any to compile ghostscript version 8.50 or above on sco 5.0.5 within the Sco Unix forums, part of the Unix Operating Systems category; --> I am trying to compile ghostscript 8.5.0 under sco 5.0.5 using gcc 2.95.2 and first I got some errors ...


Go Back   Unix Technical Forum > Unix Operating Systems > Sco Unix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-15-2008, 05:48 PM
Cary Lewis
 
Posts: n/a
Default Has anyone been any to compile ghostscript version 8.50 or above on sco 5.0.5

I am trying to compile ghostscript 8.5.0 under sco 5.0.5 using gcc
2.95.2 and first I got some errors about int64_t not being defined, and
when I added an explict typedef to long long, now I get:

gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -O2 -Wall -Wstrict-prototypes
-Wmissing
-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings
-fno-builtin -fno
-common -DGX_COLOR_INDEX_TYPE="unsigned long long" -I./obj -I./src
-o ./obj/g
xhintn.o -c ./src/gxhintn.c
In file included from src/gxhintn.h:23,
from src/gxtype1.h:26,
from ./src/gxhintn.c:31:
src/stdint_.h:83: conflicting types for `int8_t'
/usr/include/sys/types.h:54: previous declaration of `int8_t'
src/stdint_.h:84: warning: redefinition of `uint8_t'
/usr/include/sys/types.h:59: warning: `uint8_t' previously declared
here
src/stdint_.h:88: warning: redefinition of `int16_t'
/usr/include/sys/types.h:64: warning: `int16_t' previously declared
here
src/stdint_.h:89: warning: redefinition of `uint16_t'
/usr/include/sys/types.h:69: warning: `uint16_t' previously declared
here
src/stdint_.h:98: warning: redefinition of `int32_t'
/usr/include/sys/types.h:74: warning: `int32_t' previously declared
here
src/stdint_.h:99: warning: redefinition of `uint32_t'
/usr/include/sys/types.h:79: warning: `uint32_t' previously declared
here
../src/gxhintn.c: In function `t1_hinter__paint_glyph':
../src/gxhintn.c:410: warning: unused variable `jj'
../src/gxhintn.c:380: warning: unused variable `offset_y'
../src/gxhintn.c:379: warning: unused variable `offset_x'
../src/gxhintn.c: In function `t1_hinter__paint_raster_grid':
../src/gxhintn.c:457: warning: unused variable `pix'
../src/gxhintn.c:466: warning: unused variable `pix'
../src/gxhintn.c:427: warning: unused variable `c1'
../src/gxhintn.c:427: warning: unused variable `c0'
../src/gxhintn.c: At top level:
../src/gxhintn.c:785: warning: function declaration isn't a prototype

Does anyone have any ideas on how to work around this.

I was able to compile under 5.0.7 but I then had to install a bunch of
libraries on sco 5.0.5 to make it work.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-15-2008, 05:48 PM
Brian K. White
 
Posts: n/a
Default Re: Has anyone been any to compile ghostscript version 8.50 or above on sco 5.0.5


----- Original Message -----
From: "Cary Lewis" <cary.lewis@gmail.com>
Newsgroups: comp.unix.sco.misc
To: <distro@jpr.com>
Sent: Saturday, February 11, 2006 9:55 PM
Subject: Has anyone been any to compile ghostscript version 8.50 or above on
sco 5.0.5


>I am trying to compile ghostscript 8.5.0 under sco 5.0.5 using gcc
> 2.95.2 and first I got some errors about int64_t not being defined, and
> when I added an explict typedef to long long, now I get:
>
> gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -O2 -Wall -Wstrict-prototypes
> -Wmissing
> -declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings
> -fno-builtin -fno
> -common -DGX_COLOR_INDEX_TYPE="unsigned long long" -I./obj -I./src
> -o ./obj/g
> xhintn.o -c ./src/gxhintn.c
> In file included from src/gxhintn.h:23,
> from src/gxtype1.h:26,
> from ./src/gxhintn.c:31:
> src/stdint_.h:83: conflicting types for `int8_t'
> /usr/include/sys/types.h:54: previous declaration of `int8_t'
> src/stdint_.h:84: warning: redefinition of `uint8_t'
> /usr/include/sys/types.h:59: warning: `uint8_t' previously declared
> here
> src/stdint_.h:88: warning: redefinition of `int16_t'
> /usr/include/sys/types.h:64: warning: `int16_t' previously declared
> here
> src/stdint_.h:89: warning: redefinition of `uint16_t'
> /usr/include/sys/types.h:69: warning: `uint16_t' previously declared
> here
> src/stdint_.h:98: warning: redefinition of `int32_t'
> /usr/include/sys/types.h:74: warning: `int32_t' previously declared
> here
> src/stdint_.h:99: warning: redefinition of `uint32_t'
> /usr/include/sys/types.h:79: warning: `uint32_t' previously declared
> here
> ./src/gxhintn.c: In function `t1_hinter__paint_glyph':
> ./src/gxhintn.c:410: warning: unused variable `jj'
> ./src/gxhintn.c:380: warning: unused variable `offset_y'
> ./src/gxhintn.c:379: warning: unused variable `offset_x'
> ./src/gxhintn.c: In function `t1_hinter__paint_raster_grid':
> ./src/gxhintn.c:457: warning: unused variable `pix'
> ./src/gxhintn.c:466: warning: unused variable `pix'
> ./src/gxhintn.c:427: warning: unused variable `c1'
> ./src/gxhintn.c:427: warning: unused variable `c0'
> ./src/gxhintn.c: At top level:
> ./src/gxhintn.c:785: warning: function declaration isn't a prototype
>
> Does anyone have any ideas on how to work around this.
>
> I was able to compile under 5.0.7 but I then had to install a bunch of
> libraries on sco 5.0.5 to make it work.


Sounds like you need oss646c installed on 5.0.5 (at compile time not just
run time)
You'll need gwxlibs installed at compile time too unless you want a gs that
can't do much.

And since you've built it on 507 already you're done.
Do not expect to be able to build a binary that can be installed and run on
a stock 505
Do expect that regardless where you build it, you will need the latest
libraries both on the build box and any run box.

Brian K. White -- brian@aljex.com -- http://www.aljex.com/bkw/
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro BBx Linux SCO FreeBSD #callahans Satriani Filk!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:59 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com