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
BMORE(1)						      General Commands Manual							  BMORE(1)

NAME
bmore - browse through a binary file SYNOPSIS
bmore [ -acdi ] [ -n lines ] [ -w cols ] [ +linenumber ] [ +/ASCII-pattern ] [ +Hex-pattern ] [ filename ... ] DESCRIPTION
more is a filter that displays the contents of a binary file on the terminal, one screenful at a time. It normally pauses after each screenful, and prints --More-- at the bottom of the screen. bmore provides a two-line overlap between screens for continuity. If bmore is reading from a file rather than a pipe, the percentage of characters displayed so far is also shown. bmore scrolls up to display one more screen line in response to a RETURN character; it displays another screenful in response to a SPACE character. Other commands are listed below. The screen is divided in three sections or panes: The byte offset (extreme left), the hex pane (middle), and an ascii pane (right) which shows as printable characters those bytes in the hex pane. On an 80 column terminal there will be sixteen hex values and their ASCII val- ues on each screen line. Note that (as one would expect) the first byte has the offset 0 (zero). bmore sets the terminal to noecho mode, so that the output can be continuous. Commands that you type do not normally show up on your ter- minal, except for the / , and ! commands. If the standard output is not a terminal, more acts just like cat(1V), except that a header is printed before each file in a series. OPTIONS
-a ASCII mode: no hex representation of the contents. Non printable characters are displayed as a dot (.) -c Clear before displaying. Redrawing the screen instead of scrolling. -d Display error messages rather than ringing the terminal bell if an unrecognized command is used. This is helpful for inexperienced users. -i Ignore case for searching. -n lines Displays the indicated number of lines in each screenful, rather than the default (the number of lines in the terminal screen less two). -w cols Display number of cols in each line. +linenumber Start up at linenumber. +/ASCII-pattern Start up at the line containing the regular expression pattern. Note: unlike editors, this construct should not end with a `/'. If it does, then the trailing slash is taken as a character in the search pattern. USAGE Commands The commands take effect immediately; it is not necessary to type a carriage return. Up to the time when the command character itself is given, the user may type the line kill character to cancel the numerical argument being formed. In addition, the user may type the erase character to redisplay the `--More--(xx%)' message. In the following commands, i is a numerical argument (1 by default). iSPACE Display another screenful, or i more lines if i is specified. iRETURN Display another line, or i more lines, if specified. i^D (CTRL-D) Display (scroll down) 11 more lines. i is given, the scroll size is set to i. id Same as ^D. iz Same as SPACE, except that i, if present, becomes the new default number of lines per screenful. is Skip i lines and then print a screenful. if Skip i screenfuls and then print a screenful. i^B (CTRL-B) Skip back i screenfuls and then print a screenful. b Same as ^B (CTRL-D). q Q Exit from more. = Display the current line number. v Drop into the bvi(1) editor at the current offset of the current file. w Drop into the bvi(1) editor at the current offset of the current file. Only the portion of the file displayed on the screen will be loaded. h Help. Give a description of all the more commands. i/pattern Search for the ith occurrence of the regular expression pattern. Display the screenful starting at the file position that con- tains the ith match for the regular expression ASCII-pattern, or the end of a pipe, whichever comes first. If bmore is display- ing a file and there is no such match, its position in the file remains unchanged. Regular expressions can be edited using erase and kill characters. Erasing back past the first column cancels the search command. ' Single quote. Go to the point from which the last search started. If no search has been performed in the current file, go to the beginning of the file. !command Invoke a shell to execute command. The characters % and !, when used within command are replaced with the current filename and the previous shell command, respectively. If there is no current filename, % is not expanded. Prepend a backslash to these char- acters to escape expansion. i:n Skip to the ith next filename given in the command line, or to the last filename in the list if i is out of range. i:p Skip to the ith previous filename given in the command line, or to the first filename if i is out of range. If given while more is positioned within a file, go to the beginning of the file. If more is reading from a pipe, more simply rings the terminal bell. :f Display the current filename and offset number. :q :Q Exit from bmore (same as q or Q ). . Dot. Repeat the previous command. FILES /etc/termcap terminal data base /usr/local/share/bmore.help help file SEE ALSO
bvi(1), termcap(5) 3 Jan 2004 BMORE(1)
All times are GMT -4. The time now is 06:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy