Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7871527
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T01:55:58+00:00 2026-06-03T01:55:58+00:00

I’m a security officer on this iSeries, using PASE (Portable Application Security Environment —

  • 0

I’m a security officer on this iSeries, using PASE (Portable Application Security Environment — essentially a virtual AIX-like sandbox on OS/400) to compile Ghostscript 9.05. I’ve downloaded and installed RPM for AIX in my PASE environment, and then used the RPMs for gcc (gcc-4.0.0-1.aix5.3.ppc) and the rest of a standard GNU dev environment to install them on PASE, as well. Configure works fine (within /QOpenSys/usr/bin/-sh, I use CALL QP2TERM to get there), but when I then attempt gmake (make defaults to cc instead of gcc here), it fails immediately with:

$ pwd                                                       
/QOpenSys/download/ghostscript-9.05/ghostscript-9.05      
$ gmake                                                     
Makefile:1: *** missing separator.  Stop.                 

I read the previous question on this, and purged my Makefile.in of comments and ran it through cat -vet Makefile.in. Results are included below; they look fine to me, but I still receive the error above. (Note that this was pulled from a 5250 emulator session; line breaks in the display do not correlate with Makefile.in line breaks, which are shown as a $ instead):

$ cat -vet Makefile.in                                                     
BINDIR=./$(BUILDDIRPREFIX)bin$                                             
GLSRCDIR=./base$                                                           
GLGENDIR=./$(BUILDDIRPREFIX)@OBJDIR_BSDMAKE_WORKAROUND@$                   
GLOBJDIR=./$(BUILDDIRPREFIX)@OBJDIR_BSDMAKE_WORKAROUND@$                   
AUXDIR=$(GLGENDIR)/aux$                                                    
PSSRCDIR=./psi$                                                            
PSLIBDIR=./lib$                                                            
PSRESDIR=./Resource$                                                       
PSGENDIR=./$(BUILDDIRPREFIX)@OBJDIR_BSDMAKE_WORKAROUND@$                   
PSOBJDIR=./$(BUILDDIRPREFIX)@OBJDIR_BSDMAKE_WORKAROUND@$                   
CONTRIBDIR=./contrib$                                                      
include $(GLSRCDIR)/version.mak$                                           
DD=$(GLGENDIR)/$                                                            
GLD=$(GLGENDIR)/$                                                           
PSD=$(PSGENDIR)/$                                                           
INSTALL = $(GLSRCDIR)/instcopy -c$                                          
INSTALL_PROGRAM = $(INSTALL) -m 755$                                        
INSTALL_DATA = $(INSTALL) -m 644$                                           
INSTALL_SHARED = @INSTALL_SHARED@$                                          
prefix = @prefix@$                                                          
exec_prefix = @exec_prefix@$                                                
bindir = @bindir@$                                                          
scriptdir = $(bindir)$                                                      
includedir = @includedir@$                                                  
libdir = @libdir@$                                                          
mandir = @mandir@$                                                          
man1ext = 1$                                                               
man1dir = $(mandir)/man$(man1ext)$                                         
datadir = @datadir@$                                                       
datarootdir = @datarootdir@$                                               
gsdir = @datadir@/ghostscript$                                             
gsdatadir = $(gsdir)/$(GS_DOT_VERSION)$                                    
gssharedir = @libdir@/ghostscript/$(GS_DOT_VERSION)$                       
gsincludedir = @includedir@/ghostscript/$                                  
docdir=$(gsdatadir)/doc$                                                   
exdir=$(gsdatadir)/examples$                                               
GS_DOCDIR=$(docdir)$                                                       
CUPSCFLAGS=@CUPSCFLAGS@$                                                   
CUPSLIBS=@CUPSLIBS@$                                                       
CUPSLIBDIRS=@CUPSLIBDIRS@$                                                 
CUPSSERVERBIN=@CUPSSERVERBIN@$                                               
CUPSSERVERROOT=@CUPSSERVERROOT@$                                             
CUPSDATA=@CUPSDATA@$                                                         
CUPSPDFTORASTER=@CUPSPDFTORASTER@$                                           
CUPSINSTTARGET=@CUPSINSTALL@$                                                
COMPILE_INITS=@COMPILE_INITS@$                                               
GS_LIB_DEFAULT=$(gsdatadir)/Resource/Init:$(gsdatadir)/lib:$(gsdatadir)/Resou
rce/Font:$(gsdir)/fonts:@fontpath@$                                          
GS_CACHE_DIR="~/.ghostscript/cache/"$                                        
SEARCH_HERE_FIRST=0$                                                         
GS_INIT=gs_init.ps$                                                          
GENOPT=$                                                                     
CAPOPT= @HAVE_MKSTEMP@ @HAVE_FILE64@ @HAVE_MKSTEMP64@ @HAVE_FONTCONFIG@ @HAVE
_LIBIDN@ @HAVE_SETLOCALE@ @HAVE_SSE2@ @HAVE_DBUS@ @HAVE_BSWAP32@ @HAVE_BYTESW
AP_H@$                                                                      
GS=@GS@@EXEEXT@$                                                            
DEBUGDIRPREFIX=debug$                                                       
MEMENTODIRPREFIX=mem$                                                       
PGDIRPREFIX=pg$                                                             
FT_BRIDGE=@FT_BRIDGE@$                                                      
SHARE_FT=@SHARE_FT@$                                                        
FTSRCDIR=@FTSRCDIR@$                                                        
FT_CFLAGS=@FT_CFLAGS@$                                                      
FT_LIBS=@FT_LIBS@$                                                          
FT_CONFIG_SYSTEM_ZLIB=@FT_SYS_ZLIB@$                                        
@INSERT_UFST_BRIDGE_EQUAL_ONE@$                                             
UFST_ROOT=@UFST_ROOT@$                                                      
UFST_LIB_EXT=@UFST_LIB_EXT@$                                                
UFST_ROMFS_ARGS?=-b \$                                                       
 -P $(UFST_ROOT)/fontdata/mtfonts/pcl45/mt3/ -d fontdata/mtfonts/pcl45/mt3/ p
cl___xj.fco plug__xi.fco wd____xh.fco \$                                     
 -P $(UFST_ROOT)/fontdata/mtfonts/pclps2/mt3/ -d fontdata/mtfonts/pclps2/mt3/
 pclp2_xj.fco \$                                                             
 -c -P $(PSSRCDIR)/../lib/ -d Resource/Init/ FAPIconfig-FCO$                 
UFSTROMFONTDIR=\"%rom%fontdata/\"$                                           
UFSTDISCFONTDIR?=\"$(UFST_ROOT)/fontdata/\"$                                 
UFST_CFLAGS=@UFST_CFLAGS@$                                                   
JSRCDIR=@LIBJPEGDIR@$                                                        
SHARE_JPEG=@SHARE_LIBJPEG@$                                                  
JPEG_NAME=jpeg$                                                              
SHARE_LIBPNG=@SHARE_LIBPNG@$                                                 
PNGSRCDIR=@LIBPNGDIR@$                                                       
LIBPNG_NAME=png$                                                            
SHARE_LIBTIFF=@SHARE_LIBTIFF@$                                              
TIFFSRCDIR=@LIBTIFFDIR@$                                                    
TIFFPLATFORM=unix$                                                          
TIFFCONFIG_SUFFIX=$                                                         
LIBTIFF_NAME=tiff$                                                          
SHARE_ZLIB=@SHARE_ZLIB@$                                                    
ZSRCDIR=@ZLIBDIR@$                                                          
ZLIB_NAME=z$                                                                
JBIG2_LIB=@JBIG2_DECODER@$                                                  
SHARE_JBIG2=@SHARE_JBIG2@$                                                  
JBIG2SRCDIR=@JBIG2DIR@$                                                     
JBIG2_CFLAGS=@JBIG2_AUTOCONF_CFLAGS@$                                       
JPX_LIB=@JPX_DECODER@$                                                      
SHARE_JPX=@SHARE_JPX@$                                                      
JPXSRCDIR=@JPXDIR@$                                                         
JPX_CFLAGS=@JPX_AUTOCONF_CFLAGS@$                                           
ICCSRCDIR=icclib$                                                           
SHARE_LCMS=@SHARELCMS@$                                                     
LCMSSRCDIR=@LCMSDIR@$                                                       
LCMS2SRCDIR=@LCMS2DIR@$                                                     
LCMS_CFLAGS=@LCMS_ENDIAN@$                                                  
LCMS2_CFLAGS=@LCMS2_ENDIAN@$                                                
WHICH_CMS=@WHICHLCMS@$                                                      
SHARE_IJS=@SHAREIJS@$                                                       
IJS_NAME=@IJSLIB@$                                                          
IJSSRCDIR=@IJSDIR@$                                                         
IJSEXECTYPE=unix$                                                           
SHARE_LCUPS=@SHARELCUPS@$                                                   
LCUPS_NAME=cups$                                                            
LCUPSSRCDIR=cups$                                                           
LCUPSBUILDTYPE=@LCUPSBUILDTYPE@$                                            
CUPS_CC=$(CC)$                                                              
SHARE_LCUPSI=@SHARELCUPSI@$                                                 
LCUPSI_NAME=cupsimage$                                                      
LCUPSISRCDIR=cups$                                                          
CUPS_CC=$(CC)$                                                              
AR=ar$                                                                      
ARFLAGS=qc$                                                                 
RANLIB=@RANLIB@$                                                            
CC=@CC@$                                                                    
CCAUX=@CC@$                                                                 
CCLD=$(CC)$                                                                
CCAUXLD=$(CCAUX)$                                                          
GCFLAGS=@CPPFLAGS@ @GCFLAGS@ @CFLAGS@$                                     
CFLAGS_STANDARD=@OPT_CFLAGS@$                                              
CFLAGS_DEBUG=@DBG_CFLAGS@$                                                 
CFLAGS_PROFILE=-pg @OPT_CFLAGS@$                                           
CFLAGS_SO=@DYNAMIC_CFLAGS@$                                                
AC_CFLAGS=@DYNAMIC_FLAGS@$                                                 
FONTCONFIG_CFLAGS=@FONTCONFIG_CFLAGS@$                                     
FONTCONFIG_LIBS=@FONTCONFIG_LIBS@$                                         
DBUS_CFLAGS=@DBUS_CFLAGS@$                                                 
DBUS_LIBS=@DBUS_LIBS@$                                                     
ACDEFS=@DEFS@$                                                             
CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(AC_CFLAGS) $(XCFLAGS)$              
AC_LDFLAGS=@X_LDFLAGS@$                                                     
LDFLAGS=@LDFLAGS@ $(AC_LDFLAGS) $(XLDFLAGS)$                                
EXTRALIBS=$(XTRALIBS) @LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@ @FT_LIBS@$    
STDLIBS=@PTHREAD_LIBS@ -lm$                                                 
XINCLUDE=@X_CFLAGS@$                                                        
XLIBDIRS=@X_LDFLAGS@$                                                       
XLIBDIR=$                                                                   
XLIBS=@X_LIBS@$                                                             
SYNC=@SYNC@$                                                                
RM=rm -f$                                                                   
SOC_CFLAGS^I=^I@SOC_CFLAGS@$                                                
SOC_LIBS^I=^I@SOC_LIBS@$                                                    
SOC_LOADER^I=^I@SOC_LOADER@$                                                
FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev $(PSD)ttfont.dev
$(PSD)epsf.dev $(GLD)pipe.dev $(GLD)gsnogc.dev $(GLD)htxlib.dev $(PSD)fapi.de
v @JBIG2DEVS@ @JPXDEVS@ @UTF8DEVS@$                                          
FEATURE_DEVS_ALL=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev $(PSD)ttfont.
dev $(PSD)rasterop.dev $(PSD)double.dev $(PSD)trapping.dev $(PSD)stocht.dev $
(GLD)pipe.dev $(GLD)gsnogc.dev $(GLD)htxlib.dev @JBIG2DEVS@ @JPXDEVS@ @UTF8DE
VS@$                                                                         
RESOURCE_LIST=Resource/CMap/ Resource/ColorSpace/ Resource/Decoding/ Resource
/Font/ Resource/ProcSet/ Resource/IdiomSet/ Resource/CIDFont/$               
BAND_LIST_STORAGE=file$                                                      
BAND_LIST_COMPRESSOR=zlib$                                                   
FILE_IMPLEMENTATION=stdio$                                                   
STDIO_IMPLEMENTATION=c$                                                      
GS_DEV_DEFAULT="x11alpha bbox"$                                              
DISPLAY_DEV=$(DD)bbox.dev$                                                   
DEVICE_DEVS=$(DISPLAY_DEV) @X11_DEVS@$                                      
DEVICE_DEVS1=@F_DEVS@$                                                      
DEVICE_DEVS2=@P_DEVS@$                                                      
DEVICE_DEVS3=@CUPS_DEVS@$                                                   
DEVICE_DEVS4=@IJS_DEVS@$                                                    
DEVICE_DEVS5=@OMNIDEVS@$                                                    
DEVICE_DEVS6=@PNG_DEVS@$                                                    
DEVICE_DEVS7=@JBIG2_DEVS@$                                                  
DEVICE_DEVS8=@SVG_DEVS@$                                                    
DEVICE_DEVS9=$                                                              
DEVICE_DEVS10=$                                                             
DEVICE_DEVS11=$                                                             
DEVICE_DEVS12=$                                                             
DEVICE_DEVS13=$                                                             
DEVICE_DEVS14=$                                                             
DEVICE_DEVS15=$                                                             
DEVICE_DEVS16=$                                                             
DEVICE_DEVS17=$                                                             
DEVICE_DEVS18=$                                                             
DEVICE_DEVS19=$                                                             
DEVICE_DEVS20=$                                                             
DEVICE_DEVS21=$                                                             
GS_SHARED_OBJS=@DYNAMIC_DEVS@$                                              
MAKEFILE=Makefile$                                                          
TOP_MAKEFILES=$(MAKEFILE) $(GLSRCDIR)/unixhead.mak$                         
AK=$                                                                        
CCFLAGS=$(GENOPT) $(CAPOPT) $(CFLAGS)$                                      
CC_=$(CC) $(CCFLAGS)$                                                       
CCAUX_=$(CCAUX) $(CFLAGS)$                                                  
CC_LEAF=$(CC_)$                                                             
CC_LEAF_PG=$(CC_)$                                                          
CC_NO_WARN=$(CC_)$                                                          
CCAUX_NO_WARN=$(CCAUX_)$                                                    
CC_SHARED=$(CC_) @DYNAMIC_CFLAGS@$                                          
LD_SET_DT_SONAME=@SET_DT_SONAME@$                                           
FOR_MAC=@SO_FOR_MAC@$                                                       
MAKEDIRS=| directories$                                                     
MAKEDIRSTOP=$                                                               
INSTALL_CONTRIB=@INSTALL_CONTRIB@$                                          
include $(GLSRCDIR)/unixhead.mak$                                           
include $(GLSRCDIR)/gs.mak$                                                 
include $(PSSRCDIR)/psromfs.mak$                                            
include $(GLSRCDIR)/lib.mak$                                                
include $(PSSRCDIR)/int.mak$                                                
include $(GLSRCDIR)/freetype.mak$                                           
include $(GLSRCDIR)/jpeg.mak$                                               
include $(GLSRCDIR)/zlib.mak$                                               
include $(GLSRCDIR)/png.mak$                                                
include $(GLSRCDIR)/tiff.mak$                                               
include $(GLSRCDIR)/jbig2.mak$                                              
include $(GLSRCDIR)/jasper.mak$                                             
include $(GLSRCDIR)/ldf_jb2.mak$                                            
include $(GLSRCDIR)/lwf_jp2.mak$                                            
include $(GLSRCDIR)/openjpeg.mak$                                           
include $(GLSRCDIR)/icclib.mak$                                             
include $(GLSRCDIR)/$(WHICH_CMS).mak$                                       
include $(GLSRCDIR)/ijs.mak$                                                
@LCUPSINCLUDE@$                                                             
@LCUPSIINCLUDE@$                                                            
include $(GLSRCDIR)/devs.mak$                                               
include $(GLSRCDIR)/contrib.mak$                                            
include $(GLSRCDIR)/unix-aux.mak$                                           
include $(GLSRCDIR)/unixlink.mak$                                           
include $(GLSRCDIR)/unix-dll.mak$                                           
include $(GLSRCDIR)/unix-end.mak$                                           
include $(GLSRCDIR)/unixinst.mak$                                           
@CONTRIBINCLUDE@$                                                           
@CUPSINCLUDE@$                                                              
distclean : clean config-clean soclean pgclean debugclean$                  
^I-$(RM_) -r $(BINDIR) $(GLOBJDIR) $(PSOBJDIR) $(AUXDIR)$                   
^I-$(RM_) -r autom4te.cache$                                                 
^I-$(RM_) config.log config.status$                                          
^I-$(RM_) Makefile$                                                          
^I@-rmdir $(BINDIR) $(GLOBJDIR) $(PSOBJDIR)$                                 
^I-$(RM_) $(TIFFSRCDIR)$(D)libtiff$(D)tif_config.h $(TIFFSRCDIR)$(D)libtiff$(
D)tiffconf.h$                                                                
debug-clean : debugclean$                                                    
memento-clean : mementoclean$                                                
maintainer-clean : distclean$                                                
^I-$(RM_) configure.ac$                                                      
^I-$(RM_) configure$                                                         
^I-$(RM_) Makefile.in$                                                       
check : default$                                                             
^I$(NO_OP)$                                                                  
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T01:56:00+00:00Added an answer on June 3, 2026 at 1:56 am

    Figured this out. Full details and steps to reproduce are here: http://hewhocutsdown.net/blog/2012/04/25/how-to-compile-ghostscript-for-pase/

    It came down to three items:

    1. Using gcc 4.2.0 instead of older versions.
    2. Running configure with the –build=”powerpc-ibmaix5.3.0.0” option.
    3. Apply an AIX-specific patch to opj_malloc.h (an OpenJPEG libray), patch here: http://openjpeg.googlecode.com/issues/attachment?aid=1390001000&name=Issue_139-AIX-memalign.patch&token=fTYKtT77eCQohWNtP2epWWxP2xQ%3A1335385237594
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
For some reason, after submitting a string like this Jack’s Spindle from a text
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have some data like this: 1 2 3 4 5 9 2 6
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I would like to count the length of a string with PHP. The string
this is what i have right now Drawing an RSS feed into the php,
I've got a string that has curly quotes in it. I'd like to replace
I am reading a book about Javascript and jQuery and using one of the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.