On Mon, 28 May 2001 20:42:13 +0400, Andrei Rezvov wrote:

>Hi there,
>
>The Lesstif build process fails in a cross environment. Reason:
>the scripts/man2html utility is built for the target platform while it
>is only used during the build process...
>
>I was building v.0.92.26 (obtained from a .src.rpm) on a sparc64(or
>i386) box for the MIPS target platform.
>It seems that the same problem appears with the current CVS version as
>well...
>
>-- what is the reason for using a domestic man2html instead of a
>standalone one (if any, of course) installed on the development machine?

We do not use man2html which would be compatible to the
original man2html (from Debian or whatever).
People likely don't have _our_ version ...

>-- is it possible with the existing auto* stuff to tell the make scripts
>that the utilities like man2html shall not be built using cross tools?

As a matter of fact LessTif can not be cross-compiled currently.
You might some output which might even to some extent work
but it won't be reliable probably. 
(hint: we have some tests in configure which do not work in a cross-compiling
environment and we can't have a fail-safe fallback result)

Perhaps we should disable cross-compiling completly instead?!

>-- may be it is better to introduce an additional option to the
>configure
>script (like --with-standalone-man2html for instance) which will make
>the build environment not to compile the lesstif-specific man2html
>utility but use a standard one instead.

Hmm, you can use any other tool which you have.
So at least for GNU make a "make -i" run should always succeed
anyway.

---
Alexander Mai
[EMAIL PROTECTED]


Reply via email to