POV-Ray : Newsgroups : povray.unix : config.log -> /usr/bin/ld: cannot find -lvga Server Time
21 Dec 2024 22:33:50 EST (-0500)
  config.log -> /usr/bin/ld: cannot find -lvga (Message 1 to 9 of 9)  
From: mare
Subject: config.log -> /usr/bin/ld: cannot find -lvga
Date: 8 Jun 2009 18:35:00
Message: <web.4a2d911bbd2c3a0e384938a00@news.povray.org>
hello everybody!
I'm trying to compile povray 3.61 in debian (lenny)amd64
 and config.log has the
following error:

.....
/ usr / bin / ld: can not find-lvga
collect2: ld returned 1 exit status
configure: 8450: $? = 1
configure: failed program was:
| # Line 8423 "configure"
| / * Confdefs.h. * /
|
.....

and the exit of configure:

checking for vga_init in -lvga... no
configure: SVGAlib display will be disabled

Does anyone know why?
Thank you!


Post a reply to this message

From: clipka
Subject: Re: config.log -> /usr/bin/ld: cannot find -lvga
Date: 8 Jun 2009 19:00:01
Message: <web.4a2d96e7cb9f6547de4a901d0@news.povray.org>
"mare" <por### [at] gmailcom> wrote:
> hello everybody!
> I'm trying to compile povray 3.61 in debian (lenny)amd64
>  and config.log has the
> following error:

Are you sure it's really an error (i.e. POV-Ray doesn't compile), and not just
an info / warning?

> checking for vga_init in -lvga... no
> configure: SVGAlib display will be disabled

Sounds to me like you just don't have SVGAlib (development) package installed,
so POV-Ray compiles without that feature.


Post a reply to this message

From: Thierry CHARLES
Subject: Re: config.log -> /usr/bin/ld: cannot find -lvga
Date: 9 Jun 2009 07:20:57
Message: <4a2e4599@news.povray.org>
You can disable svgalib support by adding "--without-svga" when you run 
the configure script ... this should resolve your problem.
I think that something has been forgotten when the configure script has 
been written so the automatic way doesn't performs as well as it should.


> "mare" <por### [at] gmailcom> wrote:
>> hello everybody!
>> I'm trying to compile povray 3.61 in debian (lenny)amd64
>>  and config.log has the
>> following error:
> 
> Are you sure it's really an error (i.e. POV-Ray doesn't compile), and n
ot just
> an info / warning?
> 
>> checking for vga_init in -lvga... no
>> configure: SVGAlib display will be disabled
> 
> Sounds to me like you just don't have SVGAlib (development) package ins
talled,
> so POV-Ray compiles without that feature.
> 
> 
>


Post a reply to this message

From: mare
Subject: Re: config.log -> /usr/bin/ld: cannot find -lvga
Date: 9 Jun 2009 13:00:00
Message: <web.4a2e9333cb9f654750d960@news.povray.org>
ok, when i do "make check" does not appear the display preview.

in INSTALL file:

"The 'make' command builds the program once it is configured.  The optional
'check' argument allows to run a short test render after POV-Ray is compiled
and before it is installed with 'make install'.  A display preview is used
for the test render but the image is not saved to an output file."

..... I will do "configure" with "--without-svga" option.


Post a reply to this message

From: mare
Subject: Re: config.log -> /usr/bin/ld: cannot find -lvga
Date: 9 Jun 2009 14:40:00
Message: <web.4a2eabe5cb9f654750d960@news.povray.org>
.... is already solved, I installed the missing libraries and is compiled without
any errors! Thank you very much and sorry for my poor english...

but there is no preview of the renders, why?

Moreover, there is garbage in the output of the rendering, is it normal?

watch this guys:
....
Graphic display......On  (gamma: 2.2)
....

....
  0:00:00 Creating light buffers 27K tokens
Scene Statistics
  Finite objects:           41
  Infinite objects:          6
  Light sources:             1
  Total:                    48

  0:00:00 Displaying
  0:00:00 Rendering line 1 of 600, 0 supersamples.oooooooooooo       .
....*ooooooooo
  0:00:01 Rendering line 18 of 600, 1630 supersampleso**oooooooooooo..      .
....*oooo
  0:00:02 Rendering line 56 of 600, 5607 supersamples      .*.oooooooooo .
... .@oooo
  0:00:03 Rendering line 91 of 600, 9441 supersamples    .    *@ooooooooo
.... .*ooo
  0:00:04 Rendering line 128 of 600, 13244 supersamplesooooo...       @.ooooooo
    .  .
  0:00:05 Rendering line 167 of 600, 17137 supersamples*@@oooooo..
.....o*ooooooo
  0:00:06 Rendering line 204 of 600, 21417 supersamples   ...   .oooooo .
*.ooooo      .
  0:00:07 Rendering line 240 of 600, 25377 supersamples         ...  *@....  .
@.....      .....
  0:00:08 Rendering line 265 of 600, 29949 supersamples**M**         ...
   .       .   ..
  0:00:09 Rendering line 292 of 600, 32722 supersamples*o**oo**.***      ..
         .
  0:00:10 Rendering line 316 of 600, 36276 supersamples**M.****M***.**o
            .
  0:00:11 Rendering line 344 of 600, 39817 supersamples**@o*****oo*o*o*
..
  0:00:12 Rendering line 370 of 600, 43543 supersamples   . ***o***o*o*     ..
  .
  0:00:13 Rendering line 400 of 600, 46925 supersamples ..     ..ooo.........  .
..      .       .
  0:00:14 Rendering line 416 of 600, 50210 supersamples
  0:00:15 Rendering line 425 of 600, 53694 supersamples@@*@*o*...ooo...
..*@***@****
  0:00:16 Rendering line 433 of 600, 57273 supersamples
  0:00:17 Rendering line 442 of 600, 60784 supersamples
  0:00:18 Rendering line 450 of 600, 63798 supersampleso****Mo**M**.@. **o@M*@@@
  0:00:19 Rendering line 459 of 600, 67038 supersamples
  0:00:20 Rendering line 467 of 600, 69880 supersamples* @*.@MM*@o@MMMMM

....


Post a reply to this message

From: Nicolas Calimet
Subject: Re: config.log -> /usr/bin/ld: cannot find -lvga
Date: 9 Jun 2009 20:34:43
Message: <4a2effa3$1@news.povray.org>
> but there is no preview of the renders, why?

	Are you currently running under a graphical environment such as Gnome or KDE?
If the answer is "no", then proceed to your next question.  If the answer is yes, then
check whether POV-Ray was compiled with support for the X Window display.  When not,
you need to install the Xlib development package(s).

> Moreover, there is garbage in the output of the rendering, is it normal?

	The -lvga library is useful only if you don't run under an X Windows-based
environment (see above) but rather at the linux (text) console.  Is it truely what
you intend to do?  If yes, no graphical display means that some SVGA initialization
failed and POV-Ray reverted to an ASCII-art "display".  One possible cause of the
init failure is explained here: http://povray.org/documentation/view/3.6.1/786/

	The "garbage" output you report is supposed to be the ASCII-art I just mention
about.  However, it doesn't work well in POV-Ray 3.6.x.  A patch to fix the text
display
is available; see the introduction of
http://pov4grasp.free.fr/patches/3.6/frontend.php
for a description and http://pov4grasp.free.fr/patches/3.6/#frontend in case you feel
like trying to patch the POV-Ray sources.

> ....
> Graphic display......On  (gamma: 2.2)
> ....

	Well you likely missed the lines saying something went wrong.

	- NC


Post a reply to this message

From: Nicolas Calimet
Subject: Re: config.log -> /usr/bin/ld: cannot find -lvga
Date: 9 Jun 2009 20:38:21
Message: <4a2f007d$1@news.povray.org>
> I think that something has been forgotten when the configure script has 
> been written so the automatic way doesn't performs as well as it should.

	Nope  ;-)

	- NC


Post a reply to this message

From: clipka
Subject: Re: config.log -> /usr/bin/ld: cannot find -lvga
Date: 10 Jun 2009 14:30:00
Message: <web.4a2ffb4ecb9f6547f708085d0@news.povray.org>
"mare" <por### [at] gmailcom> wrote:
> .... is already solved, I installed the missing libraries and is compiled without
> any errors! Thank you very much and sorry for my poor english...
>
> but there is no preview of the renders, why?
>
> Moreover, there is garbage in the output of the rendering, is it normal?

The combination of both the symptoms is normal indeed: The "garbage" is actually
a kind of rudimentary "ASCII art preview", activated because you disabled
graphics output.


Post a reply to this message

From: mare
Subject: Re: config.log -> /usr/bin/ld: cannot find -lvga
Date: 14 Jun 2009 12:30:00
Message: <web.4a3524cecb9f65473b7ef8e80@news.povray.org>
ok, thank you very much guys, I understand.

I installed megapov (which is why I had to compile pov) and now works properly
(only megapov).

Investigate why the failure of povray preview ...

greetings!


Post a reply to this message

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