Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2012 09:55:07 -0600
From:      Gary Aitken <freebsd@dreamchaser.org>
To:        freebsd-questions@freebsd.org
Subject:   ghostscript build problem
Message-ID:  <4FBFAB5B.6010405@dreamchaser.org>
In-Reply-To: <CA%2BtpaK2Rwvg_G8veqh9bwV_KZPx6Tz4pxWr0cVh8ZbPEBg5=pg@mail.gmail.com>
References:  <4FBBF32D.9070505@dreamchaser.org> <20120522234510.a406941d.goksin.akdeniz@gmail.com> <4FBD7BA0.7070502@dreamchaser.org> <4FBEE05A.6000909@dreamchaser.org> <20120525035108.a3af81c1.freebsd@edvax.de> <CA%2BtpaK2Rwvg_G8veqh9bwV_KZPx6Tz4pxWr0cVh8ZbPEBg5=pg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FBFAB5B.6010405>