Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

compiling ghostscript

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Interix Advanced Forum >> compiling ghostscript Page: [1]
Login
Message << Older Topic   Newer Topic >>
compiling ghostscript - Mar. 9, '03, 4:46:36 PM   
tonho

 

Posts: 15
Joined: Feb. 6, '03,
Status: offline
After a long strugle I manage to do it, but now there is no way I can convince gs to find the fonts. Neither of xset, xfs or GS_PONTPATH makes it work.
Any ideas why?
Post #: 1
RE: compiling ghostscript - Mar. 11, '03, 12:09:00 PM   
Rodney

 

Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
Glad you got it going.

I' m assuming the " GS_PONTPATH" is a typo for " GS_FONTPATH" in your message. If not maybe check that.

Do you get any warning or error messages from running ' gs' at all?

(in reply to tonho)
Post #: 2
RE: compiling ghostscript - Mar. 11, '03, 8:10:07 PM   
tonho

 

Posts: 15
Joined: Feb. 6, '03,
Status: offline
Hi Rodney
Yes it was a typo (strange, given P and F keys are far away)

Regarding error messages, they are a lot and also a new one today, complaining that it can' t find gs_init.ps (even after adding the lib directory to the path). Anyway the main error messages are:
Can' t find (or can' t open) font file n019003l.pfb.
Can' t find (or can' t open) font file /Resource/Font/NimbusSanL-Regu.
Can' t find (or can' t open) font file NimbusSanL-Regu.
Can' t find (or can' t open) font file /Resource/Font/NimbusSanL-Regu.
Can' t find (or can' t open) font file NimbusSanL-Regu.
Scanning /usr/local/share/ghostscript/fonts for fonts... 107 files, 1 scanned, 0 new fonts.
Can' t find (or can' t open) font file n019003l.pfb.
Can' t find (or can' t open) font file /Resource/Font/NimbusSanL-Regu.
Can' t find (or can' t open) font file NimbusSanL-Regu.
Can' t find (or can' t open) font file /Resource/Font/NimbusSanL-Regu.
Can' t find (or can' t open) font file NimbusSanL-Regu.
...


Any news about UPX?

Thanks

(in reply to tonho)
Post #: 3
RE: compiling ghostscript - Apr. 29, '03, 7:42:43 PM   
tonho

 

Posts: 15
Joined: Feb. 6, '03,
Status: offline
What is the use of this forum, if we get no answers?

(in reply to tonho)
Post #: 4
RE: compiling ghostscript - Apr. 30, '03, 12:36:39 PM   
Rodney

 

Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
WRT to UPX: the guy has been assigned to a different project now. He was the only one with the info. So I can' t get the info.

For Ghostscript you' re the only one I know of porting the current version. I downloaded it and gave it a whirl. I understand why you had such a struggle. The build system is evil. I didn' t get it building. Looking through the source code I couldn' t match the error messages that you described. I do see that some of the paths are right at the root (/) of the filesystem and that seems odd.
There is a debug mode that you can turn on when it starts. Have you tried that to see if more info comes out?
There is the " --help" option which puts out some info that might be useful. In particular it shows the search paths.

(in reply to tonho)
Post #: 5
RE: compiling ghostscript - May 5, '03, 5:32:57 PM   
tonho

 

Posts: 15
Joined: Feb. 6, '03,
Status: offline
Well, I managed to compiled it (don' t remember the details anymore). After, I set the GS_LIB variable
(setenv GS_LIB /usr/local/share/ghostscript/8.00/lib) and it almost works, if it wasn' t for the fonts problem.
The error message comes from the gs_fonts.ps file, but was not able to find out what causes it.
The most stupid and annoing thing is that, when the GS_FONTPATH is set, it goes to the fonts directory but insists in saying " Can' t find (or can' t open) font file" .
I even gave the adress of the windows fonts version, but the sheat is the same.

(in reply to tonho)
Post #: 6
RE: compiling ghostscript - May 5, '03, 9:29:23 PM   
jimraf

 

Posts: 17
Joined: Apr. 22, '03,
From: Boston, MA
Status: offline
I got Ghostscript working (tiger.ps, escher.ps, alphabet.ps), but I used GNU GS 7.05 rather than the AFPL 8.0 release (if that' s what you' re using). As I recall, a tweak or two was needed during compilation but you seem to have gotten past that.

After installing the binaries, I downloaded the gnu-gs-fonts-std-6 and gnu-gs-fonts-other-6 packages, unpacked them to /usr/local/share/ghostscript/fonts, and that was pretty much it. I' m using the Cygwin port of XFree86 as my X server.

One thing to try is to run " gs --help" . With the GNU version at least one of the last things printed is the " Search Path" . The GNU default one seems to be:

. : /usr/local/share/ghostscript/7.05/lib :
/usr/local/share/ghostscript/fonts

This may be hardcoded as setting GS_FONTPATH didn' t change that output for me. When I put the fonts elsewhere and pointed GS_FONTPATH there, I got errors similar to yours. So I just put the fonts in the /ghostscript/fonts directory.

Hope this somehow helps,
Jim

< Message edited by jimraf -- May 5, '03, 9:22:38 PM >

(in reply to tonho)
Post #: 7
RE: compiling ghostscript - May 6, '03, 8:36:43 PM   
tonho

 

Posts: 15
Joined: Feb. 6, '03,
Status: offline
Jim,
thanks for your help. It worked.
That stupid was still looking for
/tmp/ghostscript-8.0/usr/local/share/ghostscript/fonts
which is where I built it. It worked but I had to put the fonts there. This smells a installation bug. I guess that i have to restart the compiling process and accepting the defaults destination dir.

Rodney, sorry for not having understand the --help suggestion you gave me.

(in reply to tonho)
Post #: 8
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Interix Advanced Forum >> compiling ghostscript Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.047