POV-Ray : Newsgroups : povray.unix : Configuration Error? Server Time
1 Jul 2024 12:23:36 EDT (-0400)
  Configuration Error? (Message 1 to 10 of 34)  
Goto Latest 10 Messages Next 10 Messages >>>
From: jong
Subject: Configuration Error?
Date: 24 May 2004 04:55:01
Message: <web.40b1b83db26c8cc4c7de5b950@news.povray.org>
Dear All:

I have some trouble when I configure POVRAY-3.5 on Redhad 7.3

As I type make, some error messages coming up as following:

.....
In file included from bbox.cpp:47:
optout.h:76: syntax error before `extern'
.....

I had change line 49 in file "optout.h" like this:

#define DISTRIBUTION_MESSAGE_1 "This is an unofficial version compiled by:"
Jong
#define DISTRIBUTION_MESSAGE_2 "FILL IN NAME HERE...."
#define DISTRIBUTION_MESSAGE_3 "The POV-Ray Team(tm) is not responsible for
supporting this version."

Is there any error in my configuration?
How should I do to solve the problem?
Thanks for the Help!

Jong


Post a reply to this message

From: gRRosminet
Subject: Re: Configuration Error?
Date: 24 May 2004 05:08:51
Message: <40b1bba3$1@news.povray.org>
Your syntax error is here :

#define DISTRIBUTION_MESSAGE_1 "This is an unofficial version compiled by:"
Jong   <=====

it should be :
#define DISTRIBUTION_MESSAGE_1 "This is an unofficial version compiled 
by: Jong"


Post a reply to this message

From: jong
Subject: Re: Configuration Error?
Date: 24 May 2004 06:15:00
Message: <web.40b1ca082347d8dbc7de5b950@news.povray.org>
gRRosminet <pov### [at] les-charlesnet> wrote:
> Your syntax error is here :
>
> #define DISTRIBUTION_MESSAGE_1 "This is an unofficial version compiled by:"
> Jong   <=====
>
> it should be :
> #define DISTRIBUTION_MESSAGE_1 "This is an unofficial version compiled
> by: Jong"

Thanks a lot! I pass that problem.
But now new troble coming up.
The error message say that:

.....
jpeg_pov.cpp:142:21: jpeglib.h: No such file or directory
make[1]: *** [jpeg_pov.o] Error 1
.....

It looks like that I don't have jpeglib.h in my OS.
Is it possible to ignore this error message?
Where can I find jpeglib.h to make the install pass?


Post a reply to this message

From: gRRosminet
Subject: Re: Configuration Error?
Date: 24 May 2004 07:03:49
Message: <40b1d695@news.povray.org>
you'll need to install the jpeg, png and tiff libs with developpement 
(frequently named "-devel") packages otherwise you won't be able to 
compile/link povray. All these may be available on your distrib's CDs.
As config files are cached by ./configure, you may need to completly 
delete the directory and re-extract the archive.

jong wrote:
> gRRosminet <pov### [at] les-charlesnet> wrote:
> 
>>Your syntax error is here :
>>
>>#define DISTRIBUTION_MESSAGE_1 "This is an unofficial version compiled by:"
>>Jong   <=====
>>
>>it should be :
>>#define DISTRIBUTION_MESSAGE_1 "This is an unofficial version compiled
>>by: Jong"
> 
> 
> Thanks a lot! I pass that problem.
> But now new troble coming up.
> The error message say that:
> 
> .....
> jpeg_pov.cpp:142:21: jpeglib.h: No such file or directory
> make[1]: *** [jpeg_pov.o] Error 1
> .....
> 
> It looks like that I don't have jpeglib.h in my OS.
> Is it possible to ignore this error message?
> Where can I find jpeglib.h to make the install pass?
> 
>


Post a reply to this message

From: Nicolas Calimet
Subject: Re: Configuration Error?
Date: 24 May 2004 07:31:22
Message: <40b1dd0a$1@news.povray.org>
> #define DISTRIBUTION_MESSAGE_1 "This is an unofficial version compiled by:"
> Jong
> #define DISTRIBUTION_MESSAGE_2 "FILL IN NAME HERE...."
> #define DISTRIBUTION_MESSAGE_3 "The POV-Ray Team(tm) is not responsible for
> supporting this version."

	Given what you did above, I'd suggest you do not try compiling povray,
but rather use the official Linux binary that should work on your RedHat distro.

	- NC


Post a reply to this message

From: Nicolas Calimet
Subject: Re: Configuration Error?
Date: 24 May 2004 07:34:17
Message: <40b1ddb9@news.povray.org>
> #define DISTRIBUTION_MESSAGE_1 "This is an unofficial version compiled 
> by: Jong"

	No, the correct answer is to fill in DISTRIBUTION_MESSAGE_2,
which is clearly stated as "FILL IN NAME HERE....".

	Fortunately this *very basic and documented* stuff will simply
vanish in 3.6...

	- NC


Post a reply to this message

From: gRRosminet
Subject: Re: Configuration Error?
Date: 24 May 2004 08:20:30
Message: <40b1e88e$1@news.povray.org>
Nicolas Calimet wrote:
>     Given what you did above, I'd suggest you do not try compiling povray,
> but rather use the official Linux binary that should work on your RedHat 
> distro.
> 
>     - NC
> 

On the contrary, he should compile Povray because he doesn't it will bee 
very very slow (optimized for pentium 1) whereas using an optimized 
version can improve performances by 50% !!! (to do this, you'll need to 
modify the Makefile => ask for it when you'll be ready)


There is no matter in compiling povray or something else even if you 
don't know how to do ! remember that you didn't know how to do at the 
begining, but you have learn it ! why wouldn't he be able to learn it too ?


Post a reply to this message

From: Nicolas Calimet
Subject: Re: Configuration Error?
Date: 24 May 2004 09:23:54
Message: <40b1f76a$1@news.povray.org>
> very very slow (optimized for pentium 1) whereas using an optimized 
> version can improve performances by 50% !!!

	You mean that the official binary was compiled with no optimization
at all ?  (frankly I never tried it)

> (to do this, you'll need to 
> modify the Makefile => ask for it when you'll be ready)

	May I ?
	Ok, go on, I'm ready  ;-)

> There is no matter in compiling povray or something else even if you 
> don't know how to do ! remember that you didn't know how to do at the 
> begining, but you have learn it ! why wouldn't he be able to learn it too ?

	I simply made a very straightforward assumption: if someone makes
such an obvious mistake (as seen in the initial post), it is very likely
that he/she will have lots of trouble to compile povray at all, given
that the build system in the source of 3.50c is far from being complete
is known to have serious flaws (especially if you try to use it on anything
but a Linux box, which is actually the case here).
	Yet I admit that trying is indeed a good way to learn things, but
it'll most likely take quite some time.  This is not necessarily what Jong
is asking for (just a guess from his posts).

	But I should not make assumptions anyway, that's not a good idea
in general, and when programming in particular  :-)

	- NC


Post a reply to this message

From: Nicolas Calimet
Subject: Re: Configuration Error?
Date: 24 May 2004 09:33:13
Message: <40b1f999@news.povray.org>
> the build system in the source of 3.50c is far from being complete
> is known to have serious flaws (especially if you try to use it on anything
> but a Linux box, which is actually the case here).

	I should not only avoid making assumptions, but also read again
before posting.  So, add an "and" at the end of the first line, and
replace "actually" by "fortunately not"  :-)

	- NC


Post a reply to this message

From: Christoph Hormann
Subject: Re: Configuration Error?
Date: 24 May 2004 09:50:02
Message: <c8suc8$2dk$1@chho.imagico.de>
Nicolas Calimet wrote:
>> very very slow (optimized for pentium 1) whereas using an optimized 
>> version can improve performances by 50% !!!
> 
> 
>     You mean that the official binary was compiled with no optimization
> at all ?  (frankly I never tried it)

There has been an early 3.5 official binary version compiled without 
optimization but the current official version is compiled with -O3.  And 
as you also observed some time ago the speed advantage with using more 
fancy (processor specific and possibly faulty) optimizations is 
marginal.  There is absolutely no need to compile POV-Ray from source 
just for the speed advantage (to actually save time this way, even if 
you have experience compiling programs yourself, you will have to render 
quite a lot of very slow scenes).

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 01 May. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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