Re: Error compiling ghostscript10
- Reply: Guido Falsi : "Re: Error compiling ghostscript10"
- In reply to: Filippo Moretti : "Error compiling ghostscript10"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Mar 2024 14:34:38 UTC
It seems to be broken when libidn is installed on the build machine. A temporary workaround is .. diff --git a/print/ghostscript10/Makefile b/print/ghostscript10/Makefile index b8db2307da5..d9cb6c6e9fd 100644 --- a/print/ghostscript10/Makefile +++ b/print/ghostscript10/Makefile @@ -65,7 +65,7 @@CONFIGURE_ARGS+= --disable-compile-inits \ --with-fontpath=${LOCALBASE}/share/fonts \ --with-jbig2dec \ --with-libiconv=maybe \ - --with-libidn \ +--without-libidn \ --with-libpaper \ --with-system-libtiff On 3/13/24 10:27, Filippo Moretti wrote: > FreeBSD ROXY 14.0-STABLE FreeBSD 14.0-STABLE #23 > stable/14-n266950-f7d51eb77e84: Sun Mar 10 00:33:51 CET 2024 > filippo@ROXY:/usr/obj/usr/src/amd64.amd64/sys/ROXY amd64 > > > > > > r/local/include -DUSE_LIBPAPER -I/usr/local/include > -fno-strict-aliasing -DHAVE_POPEN_PROTO=1 -DSHARE_JPX=1 > -I/usr/local/include/openjpeg-2.5 -DUSE_OPENJPEG_JP2 -DPDF_INCLUDED > -I./pdf -I./soobj -I./pcl/pl -I./base -Isrc/lib -I./jpegxr -Isrc > -Isrc/src/lib/openjp2 -Isrc -c ./pdf/pdf_sec.c -o ./soobj/pdf_sec.o > ./pdf/pdf_sec.c:186:25: warning: incompatible pointer types assigning > to 'char **' from 'char *'; take the address with & > [-Wincompatible-pointer-types] > 186 | NewPassword = Password; > | ^ ~~~~~~~~ > | & > ./pdf/pdf_sec.c:187:20: error: incompatible integer to pointer > conversion assigning to 'int *' from 'int'; take the address with & > [-Wint-conversion] > 187 | NewLen = Len; > | ^ ~~~ > | & > 1 warning and 1 error generated. > gmake[2]: *** [pdf/pdf.mak:169: soobj/pdf_sec.o] Error 1 > gmake[2]: Leaving directory > '/usr/ports/print/ghostscript10/work/ghostscript-10.03.0' > gmake[1]: *** [base/unix-dll.mak:321: so-only-subtarget] Error 2 > gmake[1]: Leaving directory > '/usr/ports/print/ghostscript10/work/ghostscript-10.03.0' > gmake: *** [base/unix-dll.mak:281: so] Error 2 > *** Error code 1 > > Stop. > make[1]: stopped in /usr/ports/print/ghostscript10 > *** Error code 1 > > Stop. > make: stopped in /usr/ports/print/ghostscript10 > >