POV-Ray : Newsgroups : povray.unix : New configure script : Re: New configure script Server Time
6 Oct 2024 15:21:14 EDT (-0400)
  Re: New configure script  
From: Warp
Date: 21 Feb 2003 05:55:33
Message: <3e5605a5@news.povray.org>
Mark Gordon <mtg### [at] povrayorg> wrote:
> For the case where someone on a machine with X libraries wants to build
> a statically linked binary to run on a machine without X libraries.
> The workaround currently is static linking.

  I don't know if this is related, but be aware that using "-static" for
static linking in Solaris causes a linkage error. For some reason the X
libraries in Solaris are not designed for static linking (perhaps they
could be built so that they are, but they aren't here, and I have read
reports of the same issue from other people as well).
  This is a very nasty problem because the error message produced by
the linker is extremely confusing and there's absolutely no hint about
the real cause of the problem (ie the '-static' flag). Finding the cause
of the problem is really difficult if you don't know about it.

  So at least for Solaris the '-static' flag should definitely be turned
off by default.

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.