我是这个iSeries上的一名安全人员,使用PASE(可移植应用程序安全环境 - 本质上是OS/400上的虚拟AIX类沙箱)来编译Ghostscript 9.05。我已经在PASE环境中下载并安装了RPM for AIX,然后使用RPM(gcc-4.0.0-1.aix5.3.ppc)和标准GNU dev环境的其余部分将它们安装在PASE ,以及。配置工作正常(在/ QOpenSys/usr/bin/-sh中,我使用CALL QP2TERM到达那里),但是当我然后尝试gmake(默认为cc,而不是gcc在此)时,它立即失败:gmake立即失败PASE
$ pwd
/QOpenSys/download/ghostscript-9.05/ghostscript-9.05
$ gmake
Makefile:1: *** missing separator. Stop.
我在此读了previous question,并清除了我的Makefile.in的评论,并通过cat -vet Makefile.in
运行它。结果包括在下面;他们看起来不错,但我仍然收到上述错误。 (请注意,这是从5250仿真器会话拉;线显示打破不Makefile.in换行符,其显示为$,而不是关联):
$ cat -vet Makefile.in
BINDIR=./$(BUILDDIRPREFIX)bin$
GLSRCDIR=./base$
GLGENDIR=./$(BUILDDIRPREFIX)@[email protected]$
GLOBJDIR=./$(BUILDDIRPREFIX)@[email protected]$
AUXDIR=$(GLGENDIR)/aux$
PSSRCDIR=./psi$
PSLIBDIR=./lib$
PSRESDIR=./Resource$
PSGENDIR=./$(BUILDDIRPREFIX)@[email protected]$
PSOBJDIR=./$(BUILDDIRPREFIX)@[email protected]$
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 = @[email protected]$
prefix = @[email protected]$
exec_prefix = @[email protected]$
bindir = @[email protected]$
scriptdir = $(bindir)$
includedir = @[email protected]$
libdir = @[email protected]$
mandir = @[email protected]$
man1ext = 1$
man1dir = $(mandir)/man$(man1ext)$
datadir = @[email protected]$
datarootdir = @[email protected]$
gsdir = @[email protected]/ghostscript$
gsdatadir = $(gsdir)/$(GS_DOT_VERSION)$
gssharedir = @[email protected]/ghostscript/$(GS_DOT_VERSION)$
gsincludedir = @[email protected]/ghostscript/$
docdir=$(gsdatadir)/doc$
exdir=$(gsdatadir)/examples$
GS_DOCDIR=$(docdir)$
[email protected]@$
[email protected]@$
[email protected]@$
[email protected]@$
[email protected]@$
[email protected]@$
[email protected]@$
[email protected]@$
[email protected][email protected]$
GS_LIB_DEFAULT=$(gsdatadir)/Resource/Init:$(gsdatadir)/lib:$(gsdatadir)/Resou
rce/Font:$(gsdir)/fonts:@[email protected]$
GS_CACHE_DIR="~/.ghostscript/cache/"$
SEARCH_HERE_FIRST=0$
GS_INIT=gs_init.ps$
GENOPT=$
CAPOPT= @[email protected] @[email protected] @[email protected] @[email protected] @HAVE
[email protected] @[email protected] @[email protected] @[email protected] @[email protected] @HAVE_BYTESW
[email protected]$
[email protected]@@[email protected]$
DEBUGDIRPREFIX=debug$
MEMENTODIRPREFIX=mem$
PGDIRPREFIX=pg$
[email protected][email protected]$
[email protected][email protected]$
[email protected]@$
[email protected][email protected]$
[email protected][email protected]$
[email protected][email protected]$
@[email protected]$
[email protected][email protected]$
[email protected][email protected]$
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/\"$
[email protected][email protected]$
[email protected]@$
[email protected][email protected]$
JPEG_NAME=jpeg$
[email protected][email protected]$
[email protected]@$
LIBPNG_NAME=png$
[email protected][email protected]$
[email protected]@$
TIFFPLATFORM=unix$
TIFFCONFIG_SUFFIX=$
LIBTIFF_NAME=tiff$
[email protected][email protected]$
[email protected]@$
ZLIB_NAME=z$
[email protected][email protected]$
[email protected][email protected]$
[email protected]@$
[email protected][email protected]$
[email protected][email protected]$
[email protected][email protected]$
[email protected]@$
[email protected][email protected]$
ICCSRCDIR=icclib$
[email protected]@$
[email protected]@$
[email protected]@$
[email protected][email protected]$
[email protected][email protected]$
[email protected]@$
[email protected]@$
[email protected]@$
[email protected]@$
IJSEXECTYPE=unix$
[email protected]@$
LCUPS_NAME=cups$
LCUPSSRCDIR=cups$
[email protected]@$
CUPS_CC=$(CC)$
[email protected]@$
LCUPSI_NAME=cupsimage$
LCUPSISRCDIR=cups$
CUPS_CC=$(CC)$
AR=ar$
ARFLAGS=qc$
[email protected]@$
[email protected]@$
[email protected]@$
CCLD=$(CC)$
CCAUXLD=$(CCAUX)$
[email protected]@ @[email protected] @[email protected]$
[email protected][email protected]$
[email protected][email protected]$
CFLAGS_PROFILE=-pg @[email protected]$
[email protected][email protected]$
[email protected][email protected]$
[email protected][email protected]$
[email protected][email protected]$
[email protected][email protected]$
[email protected][email protected]$
[email protected]@$
CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(AC_CFLAGS) $(XCFLAGS)$
[email protected][email protected]$
[email protected]@ $(AC_LDFLAGS) $(XLDFLAGS)$
EXTRALIBS=$(XTRALIBS) @[email protected] @[email protected] @[email protected] @[email protected]$
[email protected][email protected] -lm$
[email protected][email protected]$
[email protected][email protected]$
XLIBDIR=$
[email protected][email protected]$
[email protected]@$
RM=rm -f$
SOC_CFLAGS^I=^[email protected][email protected]$
SOC_LIBS^I=^[email protected][email protected]$
SOC_LOADER^I=^[email protected][email protected]$
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 @[email protected] @[email protected] @[email protected]$
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 @[email protected] @[email protected] @UTF8DE
[email protected]$
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) @[email protected]$
[email protected][email protected]$
[email protected][email protected]$
[email protected][email protected]$
[email protected][email protected]$
[email protected]@$
[email protected][email protected]$
[email protected][email protected]$
[email protected][email protected]$
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=$
[email protected][email protected]$
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_) @[email protected]$
[email protected][email protected]$
[email protected][email protected]$
MAKEDIRS=| directories$
MAKEDIRSTOP=$
[email protected][email protected]$
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$
@[email protected]$
@[email protected]$
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$
@[email protected]$
@[email protected]$
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$
^[email protected] $(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)$
I''m猜测的问题似乎是在生成的'Makefile'而不是'Makefile.in '。从错误看来,'Makefile'的'1'行有一些不需要的字符。 Makefile.in由automake生成,稍后通过'configure'脚本生成'Makefile'。你可以发布“Makefile”的头几行看起来像什么吗? – 2012-04-18 16:55:09
根目录中的Makefile只是引用base/Makefile.in,它是上面包含的文件。 – hewhocutsdown 2012-04-18 18:51:18
这里是Makefile的内容(使用相同的'cat -vet') 'base/Makefile.in $' – hewhocutsdown 2012-04-18 18:51:47