Skip to content

Add latest version of ghostscript#10123

Merged
adamjstewart merged 1 commit intospack:developfrom
adamjstewart:packages/ghostscript
Dec 17, 2018
Merged

Add latest version of ghostscript#10123
adamjstewart merged 1 commit intospack:developfrom
adamjstewart:packages/ghostscript

Conversation

@adamjstewart
Copy link
Copy Markdown
Member

Also adds missing GTK+ dependency.

Before

4 errors found in build log:
     4645       /bin/sh <./soobj/ldt.tr
     4646    make[2]: Leaving directory `/mnt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-6gi4ajdt/ghostscript-9.21'
     4647    make -f Makefile DISPLAY_DEV=./soobj/display.dev STDIO_IMPLEMENTATION=c BUILDDIRPREFIX=so GENOPT='' LDFLAGS=' '\
     4648        CFLAGS='-fPIC  -O2 -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Werror=declaration-after-statement -fno-builtin -fno-common -Werror=return-type -DHAVE_STDINT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIBDL=1 -DGX_COLOR_INDEX_TYPE="unsigned long long" -D__USE_UNIX98=1   -I/mnt/a/u/sciteam/stewart1/spack/opt/spack/cray-cnl5-interlagos/gcc-7.3.0/libtiff-4.0.9-blyinx3drvmz3mwlkx6gvmu6gipzhjaz/include  -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/mnt/a/u/sciteam/stewart1/spack/opt/spack/cray-cnl5-interlagos/gcc-7.3.0/ghostscript-9.21-rytylslut6ql6ortwwsqktdcufqq5hpl/lib/ghostscript/9.21\" ' prefix=/mnt/a/u/sciteam/stewart1/spack/opt/spack/cray-cnl5-interlagos/gcc-7.3.0/ghostscript-9.21-rytylslut6ql6ortwwsqktdcufqq5hpl\
     4649        ./sobin/gsc ./sobin/gsx -so-loader -so-loader -so-loader
     4650    make[2]: Entering directory `/mnt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-6gi4ajdt/ghostscript-9.21'
  >> 4651    /mnt/a/u/sciteam/stewart1/spack/var/spack/stage/ghostscript-9.21-rytylslut6ql6ortwwsqktdcufqq5hpl/ghostscript-9.21/psi/dxmain.c:35:10: fatal error: gtk/gtk.h: No such file or directory
     4652     #include <gtk/gtk.h>
     4653              ^~~~~~~~~~~
     4654    compilation terminated.
  >> 4655    make[2]: *** [sobin/gsx] Error 1
     4656    make[2]: *** Waiting for unfinished jobs....
     4657    make[2]: Leaving directory `/mnt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-6gi4ajdt/ghostscript-9.21'
  >> 4658    make[1]: *** [so-subtarget] Error 2
     4659    make[1]: Leaving directory `/mnt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-6gi4ajdt/ghostscript-9.21'
  >> 4660    make: *** [so] Error 2

After

Still trying to get GTK+ to build to confirm this fix.

@adamjstewart adamjstewart merged commit 5964d14 into spack:develop Dec 17, 2018
@adamjstewart adamjstewart deleted the packages/ghostscript branch December 17, 2018 19:04
tgamblin added a commit that referenced this pull request Dec 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant