Re: 2.96.7 pretest

Olaf Weber <[email protected]>
Newsgroups gmane.comp.tex.tetex.beta
Message-ID <[email protected]>
George N White, writes:

> 2.96.7 builds using MIPSpro compilers on Irix 6.5.22m and things that
> broke with pdftex-1.20a-rc6 are working.  Something odd in configure
> (lines wrapped for clarity):

> configure:3539: checking for T1_AddFont in -lt1
> configure:3558: c99 -o conftest -mips4 -g -O2 -D_XOPEN_SOURCE=500 \
> -I/usr/local/include -mips4 -g -O2 \
> -rpath /san/projects/TeX/lib/mips-sgi-irix6.5:/usr/Motif-2.1/lib32 \
> -L/san/projects/TeX/lib/mips-sgi-irix6.5 conftest.c -lt1 -lz -lm  1>&5
>                                           ==========
> configure:3585: checking whether installed T1 lib is >= v 1.3.1
> configure:3622: c99 -o conftest -mips4 -g -O2 -D_XOPEN_SOURCE=500 \
> -I/usr/local/include -mips4 -g -O2 \
> -rpath /san/projects/TeX/lib/mips-sgi-irix6.5:/usr/Motif-2.1/lib32 \
> -L/san/projects/TeX/lib/mips-sgi-irix6.5 -lt1 -lm conftest.c  1>&5
>                                                    ========== ld32:
>                                                    ERROR   33 :
>                                                    Unresolved text
>                                                    symbol
>                                                    "T1_GetLibIdent" --
>    1st referenced by conftest.o.

> So similar tests but the source file either before or after the
> libraries!  This problem has been around for a while, and gcc
> behaves the same (no surprise -- on Irix gcc uses SGI ld).

That one's due to putting '-lt1 -lm' in the LDFLAGS in
libs/t1lib/t1lib.ac:

  LDFLAGS="$LDFLAGS -lt1 -lm"
  if test "$with_system_t1lib" = yes; then
      AC_MSG_CHECKING(whether installed T1 lib is >= v 1.3.1 )

They should be added to LIBS instead.  I'm not completely certain
whether just changing the above to

  LIBS="$LIBS -lt1 -lm"
  if test ...

will be sufficient.  (And you may in fact want to use "-lt1 -lm $LIBS"
instead.

-- 
Olaf Weber

               (This space left blank for technical reasons.)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.