Re: Ghostscript/GhostPDL 9.22 Release Candidate 2

Chris Liddell <[email protected]> Fri, 29 Sep 2017 09:44:59 +0100
Newsgroups gmane.comp.printing.ghostscript.devel
Message-ID <[email protected]>

On 29/09/17 09:38, Johannes Meixner wrote:
> 
> Hello,
> 
> On Sep 28 14:01 Chris Liddell wrote (excerpt):
>> second release candidates for Ghostscript ... 9.22
> 
> here only a quick build failure report since 9.22-rc2
> (it worked with 9.22-rc1) - I did not yet analyze it:
> 
> Now with 9.22-rc2 build fails with something like
> (example excerpts from a build log - long lines wrapped):
> --------------------------------------------------------------
> + pushd ijs
> ...
> Now type `make' to compile ijs
> + ./configure --prefix=/usr --bindir=/usr/bin
>  --libdir=/usr/lib64 --datadir=/usr/share
>  --mandir=/usr/share/man --infodir=/usr/share/info
>  --enable-shared --disable-static
>  ...
> + make
> /bin/sh ./libtool --tag=CC --mode=compile gcc
>  -DPACKAGE_NAME=\"ijs\"
>  -DPACKAGE_TARNAME=\"ijs_name\" -DPACKAGE_VERSION=\"0.35\"
>  -DPACKAGE_STRING=\"ijs\ 0.35\" -D PACKAGE_BUGREPORT=\"\"
>  -DPACKAGE_URL=\"\" -DPACKAGE=\"ijs_name\" -DVERSION=\"0.35\"
>  -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
>  -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
>  -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
>  -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
>  -I. -fmessage-length=0 -grecord-gcc-switches -O2 -Wall
>  -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
>  -fasynchronous-unwind-tables -fno-strict-aliasing -c
>  -o ijs.lo ijs.c
> libtool: Version mismatch error.  This is libtool 2.4.6
>  Debian-2.4.6-2, but the
> libtool: definition of this LT_INIT comes from libtool 2.4.2.
> libtool: You should recreate aclocal.m4 with macros
>  from libtool 2.4.6 Debian-2.4.6-2
> libtool: and run autoconf again.
> Makefile:569: recipe for target 'ijs.lo' failed
> make: *** [ijs.lo] Error 63
> --------------------------------------------------------------
> 
> This is how I make ijs (and made it all the time in the past)
> in ghostscript.spec:
> --------------------------------------------------------------
> # Configure and make libijs (that is not done regardless
> # whether or not --with-ijs is used above):
> pushd ijs
> ./autogen.sh
> ./configure --prefix=%{_prefix} \
>             --bindir=%{_bindir} \
>             --libdir=%{_libdir} \
>             --datadir=%{_datadir} \
>             --mandir=%{_mandir} \
>             --infodir=%{_infodir} \
>             --enable-shared \
>             --disable-static
> make
> popd
> --------------------------------------------------------------

Um, I suspect the problem is that you are running autogen.sh instead of
configure. Using ./configure && make builds successfully for me.

In fact, running autogen.sh completely defeats the whole point of the
autotools.....

Chris