Sponsored Content
Full Discussion: Compiling ghostscript v 9.21
Top Forums Programming Compiling ghostscript v 9.21 Post 303001502 by hicksd8 on Saturday 5th of August 2017 05:18:27 AM
Old 08-05-2017
Hmmmmm.......well jgt, with your enormous contribution to this forum you would have already tried the obvious so this is probably just 'second opinion' rather than a solution.

Octal 174 is the pipe '|' character in most ascii sets, hex 7C, dec 124.

Try using a suitable (hex) editor to find any instances of 7C in the file and whether it finds one on line 277.

Make a backup copy of the file and then delete line 277 and retype it in manually to ensure any hidden/unprintable characters are removed. Do you get the same error? If a hidden character has been removed I would at least expect a different error even if it still doesn't work.

Any make/compiler that reports wrong line numbers by omitting comment lines is about as much use as a chocolate teapot so my opinion is that the error line number would be correct (unless it's inserting some other source file and including the line count in that).

If you look at the code (you didn't post the whole file) do you reckon that the '-' after the '=' is correct? I guess that it's just creating a switch option on a command line.

Last edited by hicksd8; 08-05-2017 at 06:24 AM..
 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Perl and ghostscript

Hi all I am using HPUX11.0 i want to install perl 5.6.0 and ghostscript 5.03.. can anyone help me to get it download from any free ftp or http link... i searched perl.com and ghostscript.com but in vain.... the procuct are to be installed with the above mentioned version... please... (1 Reply)
Discussion started by: Prafulla
1 Replies

2. UNIX for Dummies Questions & Answers

Ghostscript Question

I need to know how to convert 132 columns text file to Postcript by using ghostscript. What I want to do is to fax a 132 columns report (text file) with efax and I was told to use ghostscript to change the type and szie of font so the lines will not wrap. Thanks ;) (1 Reply)
Discussion started by: falcon2460
1 Replies

3. HP-UX

Ghostscript Errpr

Hi everyone, I'm new here but I hope there's someone who can help me with this error when running ghostscript/gs: /usr/lib/dld.sl: Unresolved symbol: jpeg_resync_to_restart (code) from gs Abort(coredump) I've managed to install Ghostscript 8.56 including all dependencies successfully... (0 Replies)
Discussion started by: bgail
0 Replies

4. UNIX for Dummies Questions & Answers

Ghostscript

I am trying to use Ghostscript oin AIX to print pdf's and it seems I have downloaded it and all dependencys fine - install went fine, when I type any gs commnad except gs -h it just hangs..Here is what it says before the hang: GNU Ghostscript 5.50 (2000-2-13) Copyright (C) 1998 Aladdin... (6 Replies)
Discussion started by: capeme
6 Replies

5. UNIX for Dummies Questions & Answers

Ghostscript on SCO 5.0.7

I am attempting to update to ghostscript version 8.54 on my SCO 5.0.7 box. When I run ./configure, I get the following error configure: error: no acceptable C compiler found in $PATH Could someone please help me? (0 Replies)
Discussion started by: kberger82
0 Replies
erl_comment_scan(3erl)					     Erlang Module Definition					    erl_comment_scan(3erl)

NAME
erl_comment_scan - Functions for reading comment lines from Erlang source code. DESCRIPTION
Functions for reading comment lines from Erlang source code. DATA TYPES
comment() = {integer(), integer(), integer(), [string()]} : EXPORTS
file(FileName::filename() (see module file)) -> [Comment] Types Comment = {Line, Column, Indentation, Text} Line = integer() Column = integer() Indentation = integer() Text = [string()] Extracts comments from an Erlang source code file. Returns a list of entries representing multi-line comments, listed in order of increasing line-numbers. For each entry, Text is a list of strings representing the consecutive comment lines in top-down order; the strings contain all characters following (but not including) the first comment-introducing % character on the line, up to (but not including) the line-terminating newline. Furthermore, Line is the line number and Column the left column of the comment (i.e., the column of the comment-introducing % char- acter). Indent is the indentation (or padding), measured in character positions between the last non-whitespace character before the comment (or the left margin), and the left column of the comment. Line and Column are always positive integers, and Indentation is a nonnegative integer. Evaluation exits with reason {read, Reason} if a read error occurred, where Reason is an atom corresponding to a Posix error code; see the module file(3erl) for details. join_lines(Lines::[CommentLine]) -> [Comment] Types CommentLine = {Line, Column, Indent, string()} Line = integer() Column = integer() Indent = integer() Comment = {Line, Column, Indent, Text} Text = [string()] Joins individual comment lines into multi-line comments. The input is a list of entries representing individual comment lines, in order of decreasing line-numbers ; see scan_lines/1 for details. The result is a list of entries representing multi-line comments, still listed in order of decreasing line-numbers , but where for each entry, Text is a list of consecutive comment lines in order of increasing line-numbers (i.e., top-down). See also: scan_lines/1 . scan_lines(Text::string()) -> [CommentLine] Types CommentLine = {Line, Column, Indent, Text} Line = integer() Column = integer() Indent = integer() Text = string() Extracts individual comment lines from a source code string. Returns a list of comment lines found in the text, listed in order of decreasing line-numbers, i.e., the last comment line in the input is first in the resulting list. Text is a single string, contain- ing all characters following (but not including) the first comment-introducing % character on the line, up to (but not including) the line-terminating newline. For details on Line , Column and Indent , see file/1 . string(Text::string()) -> [Comment] Types Comment = {Line, Column, Indentation, Text} Line = integer() Column = integer() Indentation = integer() Text = [string()] Extracts comments from a string containing Erlang source code. Except for reading directly from a string, the behaviour is the same as for file/1 . See also: file/1 . AUTHORS
Richard Carlsson <richardc@it.uu.se > syntax_tools 1.6.7 erl_comment_scan(3erl)
All times are GMT -4. The time now is 05:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy