Norman,
I am just wondering if there is some development library RPM that may
need to be installed that gives you the shared library. Probably not,
but it is worth a check.
Steve.
-----Original Message-----
From: Starlink development [mailto:[log in to unmask]] On Behalf Of
Norman Gray
Sent: 22 February 2005 11:28
To: [log in to unmask]
Subject: Re: RHEL-WS3-3_X86_64 and kpathsea
Steve,
On 2005 Feb 22 , at 05.50, Starlink Software wrote:
> Main URL: http://dev.starlink.ac.uk/build/RHEL-WS3-3_X86_64
>
>
>
> Module: dvi2bitmap
> Status: failed
> Build Log:
> http://dev.starlink.ac.uk/build/RHEL-WS3-3_X86_64/logs/
> dvi2bitmap.1109034253.log
I've finally goaded myself into confronting this.
The reason this doesn't currently build is that the libkpathsea.a
library installed by the tetex RPM is installed as a static library
alone, containing non-PIC code, and this means that we can't build the
dvi2bitmap shared library on x86_64, even though this appears not to be
a problem on other platforms, for whatever reason.
I don't think there's any realistic way that I can test for this
particular issue at configure or build time (the only ways I can think
of are either errorprone, would produce false negatives, or be so
platform-specific that I might as well just look for x86_64 in the
uname). However I've verified that the problem does not appear if I
build a private version of the kpathsea library including a shared
library.
What I propose, therefore, is that we have such a private build
available on europa (which is the current nightly-build machine for
x86_64), and adjust the LDFLAGS on that platform to point to it. Does
anyone have any better ideas?
I'd have to adjust the platform-specific build notes to note that on
x86_64 the dvi2bitmap build might fail, so that users should either
build kpathsea for themselves (slightly tricky) or just use
--disable-shared.
I'm also about to put in a teTeX feature request (this doesn't really
count as bug, I don't think), that they resolve this issue in the
obvious way.
If you want to do that, Steve, you have to get the web2c distribution
from <http://www.tug.org/ftp/tex/web2c.tar.gz>, configure adding
--enable-shared and --datadir=/usr/share (the location of tetex on
europa), then cd to the kpathsea directory, delete the Makefile lines
that install stuff in unwritable $(web2cdir), and go. Or if you want
to point me somewhere writable, I've got it built already and can save
you the hassle.
Norman
--
----------------------------------------------------------------------
Norman Gray : Physics & Astronomy, Glasgow University, UK
http://www.astro.gla.ac.uk/users/norman/ : www.starlink.ac.uk
|