POV-Ray : Newsgroups : povray.beta-test : "configure" script broken in beta 29 (unix source package) Server Time
25 Dec 2024 23:07:54 EST (-0500)
  "configure" script broken in beta 29 (unix source package) (Message 1 to 7 of 7)  
From: clipka
Subject: "configure" script broken in beta 29 (unix source package)
Date: 22 Dec 2008 13:55:00
Message: <web.494fe25d9d9e24ec569d0e9f0@news.povray.org>
Line 6446 of the "configure" script shipped with the beta 29 is broken; the line
reads:

    ax_compiler_version=`cat conftest.out | 's,.*[[:space:]],,'`

which is obviously nonsense, and should probably read instead:

    ax_compiler_version=`cat conftest.out | sed 's,.*[[:space:]],,'`

This doesn't show when using the standard settings, but gets in the way when
trying to configure for the Intel C++ compiler using the following settings:

../configure --prefix=/foo/bar COMPILED_BY="foobar" CXX=icpc

on a Debian "Etch" 4.0r5 AMD64 Linux using the 11.0 Intel(R)64 version of the
intel compiler.

Don't know whether this is a general autoconf bug though, or POV-Ray specific.


Post a reply to this message

From: Warp
Subject: Re: "configure" script broken in beta 29 (unix source package)
Date: 22 Dec 2008 14:07:41
Message: <494fe57d@news.povray.org>
clipka <nomail@nomail> wrote:
>     ax_compiler_version=`cat conftest.out | sed 's,.*[[:space:]],,'`

  I know nitpicking about "useless use of cat" is rather old, but would
it really hurt if that was written in the "kosher" way, ie:

    ax_compiler_version=`sed 's,.*[[:space:]],,' conftest.out`

  If nothing else, it's more efficient that way.

-- 
                                                          - Warp


Post a reply to this message

From: clipka
Subject: Re: "configure" script broken in beta 29 (unix source package)
Date: 22 Dec 2008 15:25:00
Message: <web.494ff6b9496cddbdedb0f3170@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> clipka <nomail@nomail> wrote:
> >     ax_compiler_version=`cat conftest.out | sed 's,.*[[:space:]],,'`
>
>   I know nitpicking about "useless use of cat" is rather old, but would
> it really hurt if that was written in the "kosher" way, ie:
>
>     ax_compiler_version=`sed 's,.*[[:space:]],,' conftest.out`
>
>   If nothing else, it's more efficient that way.

Maybe it has something to do with compatibility? Maybe some exotic systems that
run into trouble with this 'kosher' approach?

Then again it just may have to do with Unix people's brain cells being
hard-wired to using pipes whenever they hear "sed", "grep", "awk" or similar.

Anyway, we're not talking about runtime performance of POV here, just some
installation thing that runs fast enough as it is.


Post a reply to this message

From: Warp
Subject: Re: "configure" script broken in beta 29 (unix source package)
Date: 22 Dec 2008 16:19:18
Message: <49500456@news.povray.org>
clipka <nomail@nomail> wrote:
> Anyway, we're not talking about runtime performance of POV here, just some
> installation thing that runs fast enough as it is.

  There's no reason to not do it correctly.

-- 
                                                          - Warp


Post a reply to this message

From: clipka
Subject: Re: "configure" script broken in beta 29 (unix source package)
Date: 22 Dec 2008 16:25:00
Message: <web.495004f9496cddbdedb0f3170@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> clipka <nomail@nomail> wrote:
> > Anyway, we're not talking about runtime performance of POV here, just some
> > installation thing that runs fast enough as it is.
>
>   There's no reason to not do it correctly.

I don't know, maybe this is all generated by Autogen, which (if I understand the
concept correctly) would move this issue out of the scope of the POV team.


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: "configure" script broken in beta 29 (unix source package)
Date: 22 Dec 2008 16:39:17
Message: <49500904@news.povray.org>
clipka wrote:
> Line 6446 of the "configure" script shipped with the beta 29 is broken;
> the line reads:
> 
>     ax_compiler_version=`cat conftest.out | 's,.*[[:space:]],,'`
> 
> which is obviously nonsense, and should probably read instead:
> 
>     ax_compiler_version=`cat conftest.out | sed 's,.*[[:space:]],,'`
> 
> This doesn't show when using the standard settings, but gets in the way
> when trying to configure for the Intel C++ compiler using the following
> settings:
> 
> ../configure --prefix=/foo/bar COMPILED_BY="foobar" CXX=icpc
> 
> on a Debian "Etch" 4.0r5 AMD64 Linux using the 11.0 Intel(R)64 version of
> the intel compiler.
> 
> Don't know whether this is a general autoconf bug though, or POV-Ray
> specific.

If that line isn't in configure.ac (or configure.in, not sure what POV calls
it), it's an autoconf problem.


Post a reply to this message

From: Nicolas Calimet
Subject: Re: "configure" script broken in beta 29 (unix source package)
Date: 22 Dec 2008 19:20:56
Message: <49502ee8$1@news.povray.org>
> Don't know whether this is a general autoconf bug though, or POV-Ray specific.

	That's POV specific -- you know, typically the kind of things that tend to
happen in (though long-standing) beta software.
	Thanks for the report anyway  :)

	- NC


Post a reply to this message

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