On Sun, Jun 15, 2008 at 12:40 PM, Mark Wright
<markwright at internode.on.net> wrote:
> Hello Ben,
>
> It builds fine for me, both 32 bit and 64 bit on Solaris 10u5
> AMD Opeteron, with libtool 2.2.4 after making the same mindless
> change for 2.3.6:
>
> goanna% svn diff Dude/FREETYPE2
> Index: Dude/FREETYPE2/2.3.5/Solaris/install.sh
> ===================================================================
> --- Dude/FREETYPE2/2.3.5/Solaris/install.sh (revision 2114)
> +++ Dude/FREETYPE2/2.3.5/Solaris/install.sh (working copy)
> @@ -1,5 +1,6 @@
> #!/bin/sh
> $MAKE install DESTDIR=$DESTDIR
> +rm -rf $DESTDIR${_libdir}/lib*.a
> rm -rf $DESTDIR${_libdir}/*.la
>
> mkdir -p $DESTDIR${_includedir}/freetype2/freetype/internal
> Index: Dude/FREETYPE2/2.3.6/Solaris/install.sh
> ===================================================================
> --- Dude/FREETYPE2/2.3.6/Solaris/install.sh (revision 2114)
> +++ Dude/FREETYPE2/2.3.6/Solaris/install.sh (working copy)
> @@ -1,5 +1,6 @@
> #!/bin/sh
> $MAKE install DESTDIR=$DESTDIR
> +rm -rf $DESTDIR${_libdir}/lib*.a
> rm -rf $DESTDIR${_libdir}/*.la
>
> mkdir -p $DESTDIR${_includedir}/freetype2/freetype/internal
> goanna%
>
> The output of my 64 bit link with libtool 2.2.4 is below.
>
> With your outputs, with libtool 1.5.X the libtool line which has:
>
> -o
> /export/home/bent/packages/BUILD/FOSSfreetype2-2.3.6/amd64/FREETYPE2/2.3.6/objs/.libs/libfreetype.so.6.3.17
>
> seems strange that it starts with:
>
> ./builds/unix/libtool --mode=compile
>
> hmm, my libtool 2.2.4 thinks that this is a mode=link. Its
> kind of bizarre though that it has cc -c when I can not see
> any .c files listed. Maybe it gets these strange ideas
> from FREETYPE2/2.3.6/builds/unix/unix-cc.in.
>
> While as when you tried it with libtool 2.2.4, it seems that
> libtool could not figure out what mode it is. I do not
> know why though, sorry.
>
> Maybe it might help to edit FREETYPE2/2.3.6/builds/unix/unix-cc.in
> and add the libtool option:
>
> --tag=CC
Actually added --tag=CXX cause libtools doesn't say CC is a valid tag. :-)
I hate libtool.
Anyway, so doing that, with libtool-2.2.4, it compiled and linked just fine,
other than the freetype2 configure script accepts --disable-static and
says it wont generate a static lib, then generates a static library...
<rolls eyes>
Maybe there's something odd between S10U5 and SXCE. We
can do a conditional patch with the tags and libtool2.
Consensus?
Ben