POV-Ray : Newsgroups : povray.beta-test : stupid unix ./configure script Server Time
24 Dec 2024 08:33:33 EST (-0500)
  stupid unix ./configure script (Message 1 to 5 of 5)  
From: clipka
Subject: stupid unix ./configure script
Date: 22 Dec 2008 15:55:01
Message: <web.494ffd924e4b35bcedb0f3170@news.povray.org>
The ./configure script seems to be a bit braindead:

- When it can't find the compiler specified via "CXX" parameter, it instead
complains that it doesn't find the "boost" libraries.

- When the compiler can't find its libraries, it instead claims that it "cannot
find a suitable ZLIB library".

So doing a general check for a working compiler and linker environment first
(maybe trying to compile, link and run some "Hello World") would be helpful to
the end user.

I tried to ./configure POV-ray for using the Intel C++ compiler instead of GNU
C++, and ran into these error messages because - as I ultimately found out -
had forgotten to run the compiler's "iccvars.sh" script first.


Post a reply to this message

From: Nicolas Calimet
Subject: Re: stupid unix ./configure script
Date: 22 Dec 2008 19:24:45
Message: <49502fcd$1@news.povray.org>
> I tried to ./configure POV-ray for using the Intel C++ compiler instead of GNU
> C++

	Never faced this problem before (the beta binaries come as both ICC-
and GCC-builds) but that may be because of my customized install of ICC.
	Any patch to suggest here?

	Thanks,
	- NC


Post a reply to this message

From: clipka
Subject: Re: stupid unix ./configure script
Date: 22 Dec 2008 21:40:01
Message: <web.49504eec5af3fc2ba5987fa00@news.povray.org>
Nicolas Calimet <pov### [at] freefr> wrote:
> > I tried to ./configure POV-ray for using the Intel C++ compiler instead of GNU
> > C++
>
>  Never faced this problem before (the beta binaries come as both ICC-
> and GCC-builds) but that may be because of my customized install of ICC.
>  Any patch to suggest here?

I'm not an expert on Autoconf (or however that tool is called that generates the
../config script), but I'd expect there to be some way to have it try and compile
a simple "hello world" program (or whatever), and if that fails, abort with a
message suggesting to the user to check his compiler setup.

Instead, the script right away starts to test for specific compiler features, by
trying to compile some small programs and checking whether that succeeds / fails
as expected - and gets nonsense answers because the "probe" used in the tests is
broken.


Post a reply to this message

From: Nicolas Calimet
Subject: Re: stupid unix ./configure script
Date: 7 Jan 2009 05:32:30
Message: <496484be$1@news.povray.org>
> - When it can't find the compiler specified via "CXX" parameter, it instead
> complains that it doesn't find the "boost" libraries.
> 
> - When the compiler can't find its libraries, it instead claims that it "cannot
> find a suitable ZLIB library".

	If you still have the corresponding config.log file, please mail it to me.

> So doing a general check for a working compiler and linker environment first
> (maybe trying to compile, link and run some "Hello World") would be helpful to
> the end user.

	That's basically what any configure script is doing.

> I tried to ./configure POV-ray for using the Intel C++ compiler instead of GNU
> C++, and ran into these error messages because - as I ultimately found out -
> had forgotten to run the compiler's "iccvars.sh" script first.

	I suppose this has to do with the latest version (11.x) of icc.  I'll try
to test it for the next beta (but need to get a working license first).

	- NC


Post a reply to this message

From: clipka
Subject: Re: stupid unix ./configure script
Date: 7 Jan 2009 10:30:01
Message: <web.4964c9725af3fc2bbdc576310@news.povray.org>
Nicolas Calimet <pov### [at] freefr> wrote:
> > - When it can't find the compiler specified via "CXX" parameter, it instead
> > complains that it doesn't find the "boost" libraries.
> >
> > - When the compiler can't find its libraries, it instead claims that it "cannot
> > find a suitable ZLIB library".
>
>  If you still have the corresponding config.log file, please mail it to me.

Unfortunately, even if I still had it, it would be among the victims of the HDD
(Hard Disk Death). If I run across the same issue when re-installing the whole
smash, I'll get back to you.


> > I tried to ./configure POV-ray for using the Intel C++ compiler instead of GNU
> > C++, and ran into these error messages because - as I ultimately found out -
> > had forgotten to run the compiler's "iccvars.sh" script first.
>
>  I suppose this has to do with the latest version (11.x) of icc.  I'll try
> to test it for the next beta (but need to get a working license first).

Getting an Linux ICC 11.0 license for non-profit use is no big deal as it seems.
IIRC I had to register, but got the compiler for free.


Post a reply to this message

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