ghostscript build problem
Gary Aitken
freebsd at dreamchaser.org
Fri May 25 15:55:09 UTC 2012
My build of gnome2-lite failed building ghostscript.
Went to ports/ghostscript and did
make clean
make install
and I still get the same error.
After make install attempt,
work/ghostscript-9.05/epag-3.09
exists and has files with original dates, except
ert.c
gdevpag.c
were freshly created.
however, there is no .o or executable.
In addition, the directory epag-3.09 has owner and group set to 1000,
which as nearly as I can tell are both non-existent owner and group on
this system.
output of make -v install:
...
=> SHA256 Checksum OK for ghostscript/ghostscript-9.05.tar.bz2.
=> SHA256 Checksum OK for ghostscript/epag-3.09.tar.gz.
/usr/bin/tar -C /usr/ports/print/ghostscript9/work/ghostscript-9.05 -xzf
/usr/ports/distfiles/ghostscript/epag-3.09.tar.gz
/bin/ln -s -f epag-3.09
/usr/ports/print/ghostscript9/work/ghostscript-9.05/epag
install -o root -g wheel -m 444
/usr/ports/print/ghostscript9/files/epag.contrib.mak
/usr/ports/print/ghostscript9/work/ghostscript
-9.05/base/epag.contrib.mak
...
===> Building for ghostscript9-9.05_3
/bin/ln -s -f
/usr/ports/print/ghostscript9/work/ghostscript-9.05/epag-3.09/gdevepag.c
/usr/ports/print/ghostscript9/work/ghostscrip
t-9.05/base
/bin/mkdir -p
/usr/ports/print/ghostscript9/work/ghostscript-9.05/contrib/epag
install -o root -g wheel -m 444
/usr/ports/print/ghostscript9/work/ghostscript-9.05/epag-3.09/*
/usr/ports/print/ghostscript9/work/
ghostscript-9.05/contrib/epag
/bin/mkdir -p /usr/ports/print/ghostscript9/work/ghostscript-9.05/obj
/bin/mkdir -p /usr/ports/print/ghostscript9/work/ghostscript-9.05/bin
GNU Make 3.82
Built for amd64-portbld-freebsd9.0
...
cd /usr/ports/print/ghostscript9/work/ghostscript-9.05/epag-3.09 &&
/usr/bin/env CFLAGS_STANDARD="-O2 -pipe -fno-strict-aliasing"
XCFLAGS="" XLDFLAGS="-pthread" EXTRALIBS="-liconv"
SOC_LOADER="dxmainc.c" FT_BRIDGE=1 SHELL=/bin/sh NO_LINT=YES
AUTOCONF=/usr/loc
al/bin/autoconf-2.69 AUTOCONF_DIR=/usr/local/share/autoconf-2.69
AUTOHEADER=/usr/local/bin/autoheader-2.69 AUTOIFNAMES=/usr/local
/bin/ifnames-2.69 AUTOM4TE=/usr/local/bin/autom4te-2.69
AUTORECONF=/usr/local/bin/autoreconf-2.69 AUTOSCAN=/usr/local/bin/autosca
n-2.69 AUTOUPDATE=/usr/local/bin/autoupdate-2.69 AUTOCONF_VERSION=2.69
PREFIX=/usr/local LOCALBASE=/usr/local MOTIFLIB="-L/usr/
local/lib -lXm -lXp" LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe
-fno-strict-aliasing" CPP="cpp" CPPFLAGS="-DUPD_SIGNAL=0 -I. -I/
usr/ports/print/ghostscript9/work/ghostscript-9.05/lcms/include
-I/usr/local/include/libpng -I/usr/ports/print/ghostscript9/work/g
hostscript-9.05/openjpeg/libopenjpeg
-I/usr/ports/print/ghostscript9/work/ghostscript-9.05/openjpeg
-I/usr/local/include" LDFLAGS
=" -L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe
-fno-strict-aliasing" MANPREFIX="/usr/local"
BSD_INSTALL_PROGRAM="install -s -
o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel
-m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555
" BSD_INSTALL_DATA="install -o root -g wheel -m 444"
BSD_INSTALL_MAN="install -o root -g wheel -m 444" make -f Makefile
cc -O2 -pipe -fno-strict-aliasing -c
/usr/ports/print/ghostscript9/work/ghostscript-9.05/epag-3.09/ert.c
cc -o ert ert.o
cd /usr/ports/print/ghostscript9/work/ghostscript-9.05 && cc -O2 -pipe
-fno-strict-aliasing -I./obj -I./soobj -I./base -I./contrib
/pcl3/eprn -o bin/pcl3opts contrib/pcl3/src/pcl3opts.c
contrib/pcl3/src/pclscan.c contrib/pcl3/eprn/mediasize.c contrib/pcl3/src/p
clsize.c
test: -eq: unexpected operator
In file included from contrib/pcl3/eprn/mediasize.c:26:
./base/std.h:23:18: error: arch.h: No such file or directory
*** Error code 1
Stop in /usr/ports/print/ghostscript9.
Anyone else have this problem or can suggest a fix?
Thanks,
Gary
More information about the freebsd-questions
mailing list