POV-Ray : Newsgroups : povray.unix : building POV3.6.1 on Debian Lenny amd64, how to enable X or SVGA? Server Time
23 Dec 2024 10:51:02 EST (-0500)
  building POV3.6.1 on Debian Lenny amd64, how to enable X or SVGA? (Message 1 to 3 of 3)  
From: David J Bush
Subject: building POV3.6.1 on Debian Lenny amd64, how to enable X or SVGA?
Date: 9 Mar 2010 11:05:04
Message: <web.4b967137eee67017999ab8bd0@news.povray.org>
When I ran configure, it completed without error, but it said:

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

Here is what I hope are the relevant sections of config.log:

$ ./configure COMPILED_BY=David Jonathan Bush <twi### [at] cstonenet>

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost
uname -m = x86_64
uname -r = 2.6.26-2-amd64
uname -s = Linux
uname -v = #1 SMP Wed Aug 19 22:33:18 UTC 2009

....

Libraries
---------
configure:7279: checking whether to enable static linking
configure:7386: result: no
configure:7393: checking for sin in -lm
configure:7424: g++ -o conftest    conftest.cc -lm   >&5
configure:7427: $? = 0
configure:7430: test -s conftest
configure:7433: $? = 0
configure:7445: result: yes
configure:7463: checking for asinh
configure:7513: g++ -o conftest    conftest.cc -lm  >&5
configure:7516: $? = 0
configure:7519: test -s conftest
configure:7522: $? = 0
configure:7533: result: yes
configure:8416: checking for vga_init in -lvga
configure:8447: g++ -o conftest  -v   conftest.cc -lvga  -lm  >&5
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1.1'
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3
--program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug
--enable-objc-gc --enable-mpfr --enable-cld --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1.1)
COLLECT_GCC_OPTIONS='-o' 'conftest' '-v' '-shared-libgcc' '-mtune=generic'
 /usr/lib/gcc/x86_64-linux-gnu/4.3.2/cc1plus -quiet -v -D_GNU_SOURCE conftest.cc
-quiet -dumpbase conftest.cc -mtune=generic -auxbase conftest -version -o
/tmp/ccXO0LTd.s
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory
"/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../x86_64-linux-gnu/include"
ignoring nonexistent directory "/usr/include/x86_64-linux-gnu"
#include "..." search starts here:
#include <...> search starts here:
 /usr/include/c++/4.3
 /usr/include/c++/4.3/x86_64-linux-gnu
 /usr/include/c++/4.3/backward
 /usr/local/include
 /usr/lib/gcc/x86_64-linux-gnu/4.3.2/include
 /usr/lib/gcc/x86_64-linux-gnu/4.3.2/include-fixed
 /usr/include
End of search list.
GNU C++ (Debian 4.3.2-1.1) version 4.3.2 (x86_64-linux-gnu)
 compiled by GNU C version 4.3.2, GMP version 4.2.2, MPFR version 2.3.2.
warning: MPFR header version 2.3.2 differs from library version 2.3.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 836c9d30f580c422b521aa9b7a9bf559
COLLECT_GCC_OPTIONS='-o' 'conftest' '-v' '-shared-libgcc' '-mtune=generic'
 as -V -Qy -o /tmp/cccYvOig.o /tmp/ccXO0LTd.s
GNU assembler version 2.18.0 (x86_64-linux-gnu) using BFD version (GNU Binutils
for Debian) 2.18.0.20080103
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.3.2/:/usr/lib/gcc/x86_64-linux-gnu/4.3.2/:/usr/lib/gcc/x86_64-linux-gnu/:
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.3.2/:/usr/lib/gcc/x
86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.3.2/:/usr/lib/gcc/x86_64-linux-gnu/4.3.2/:/usr/lib/gcc/x86_64-linux-gnu/4.
3.2/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-o' 'conftest' '-v' '-shared-libgcc' '-mtune=generic'
 /usr/lib/gcc/x86_64-linux-gnu/4.3.2/collect2 --eh-frame-hdr -m elf_x86_64
--hash-style=both -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o conftest
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/crt1.o
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/crti.o
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/crtbegin.o
-L/usr/lib/gcc/x86_64-linux-gnu/4.3.2 -L/usr/lib/gcc/x86_64-linux-gnu/4.3.2
-L/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib -L/lib/../lib
-L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../.. /tmp/cccYvOig.o
-lvga -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/crtend.o
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/crtn.o
/usr/bin/ld: cannot find -lvga
collect2: ld returned 1 exit status
configure:8450: $? = 1
configure: failed program was:
| #line 8423 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "POV-Ray"
| #define PACKAGE_TARNAME "povray"
| #define PACKAGE_VERSION "3.6.1"
| #define PACKAGE_STRING "POV-Ray 3.6.1"
| #define PACKAGE_BUGREPORT "pov### [at] freefr"
| #define VERSION_BASE "3.6"
| #define DISTRIBUTION_MESSAGE_2 " David Jonathan Bush <twixt@cstone.net>"
| #define PACKAGE "povray"
| #define VERSION "3.6.1"
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define COMPILER_VER " (g++ 4.3.2 @ x86_64-unknown-linux-gnu)"
| #define TIME_WITH_SYS_TIME 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG_INT 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_FLOAT 4
| #define RETSIGTYPE void
| #define HAVE_GETCWD 1
| #define HAVE_READLINK 1
| #define HAVE_GETTIMEOFDAY 1
| #define PRECISION_TIMER_AVAILABLE 1
| #define HAVE_LIBM 1
| #define HAVE_ASINH 1
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char vga_init ();
| int
| main ()
| {
| vga_init ();
|   ;
|   return 0;
| }
configure:8468: result: no
configure:8533: SVGAlib display will be disabled
configure:8569: checking for X
configure:8675: g++ -E  conftest.cc
configure:8707:27: error: X11/Intrinsic.h: No such file or directory
configure:8681: $? = 1
configure: failed program was:
| #line 8666 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "POV-Ray"
| #define PACKAGE_TARNAME "povray"
| #define PACKAGE_VERSION "3.6.1"
| #define PACKAGE_STRING "POV-Ray 3.6.1"
| #define PACKAGE_BUGREPORT "pov### [at] freefr"
| #define VERSION_BASE "3.6"
| #define DISTRIBUTION_MESSAGE_2 " David Jonathan Bush <twixt@cstone.net>"
| #define PACKAGE "povray"
| #define VERSION "3.6.1"
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define COMPILER_VER " (g++ 4.3.2 @ x86_64-unknown-linux-gnu)"
| #define TIME_WITH_SYS_TIME 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG_INT 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_FLOAT 4
| #define RETSIGTYPE void
| #define HAVE_GETCWD 1
| #define HAVE_READLINK 1
| #define HAVE_GETTIMEOFDAY 1
| #define PRECISION_TIMER_AVAILABLE 1
| #define HAVE_LIBM 1
| #define HAVE_ASINH 1
| /* end confdefs.h.  */
| #include <X11/Intrinsic.h>
configure:8731: g++ -o conftest  -v   conftest.cc -lXt -lm  >&5
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1.1'
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3
--program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug
--enable-objc-gc --enable-mpfr --enable-cld --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1.1)
COLLECT_GCC_OPTIONS='-o' 'conftest' '-v' '-shared-libgcc' '-mtune=generic'
 /usr/lib/gcc/x86_64-linux-gnu/4.3.2/cc1plus -quiet -v -D_GNU_SOURCE conftest.cc
-quiet -dumpbase conftest.cc -mtune=generic -auxbase conftest -version -o
/tmp/cctG4IHh.s
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory
"/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../x86_64-linux-gnu/include"
ignoring nonexistent directory "/usr/include/x86_64-linux-gnu"
#include "..." search starts here:
#include <...> search starts here:
 /usr/include/c++/4.3
 /usr/include/c++/4.3/x86_64-linux-gnu
 /usr/include/c++/4.3/backward
 /usr/local/include
 /usr/lib/gcc/x86_64-linux-gnu/4.3.2/include
 /usr/lib/gcc/x86_64-linux-gnu/4.3.2/include-fixed
 /usr/include
End of search list.
GNU C++ (Debian 4.3.2-1.1) version 4.3.2 (x86_64-linux-gnu)
 compiled by GNU C version 4.3.2, GMP version 4.2.2, MPFR version 2.3.2.
warning: MPFR header version 2.3.2 differs from library version 2.3.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 836c9d30f580c422b521aa9b7a9bf559
configure:8755:27: error: X11/Intrinsic.h: No such file or directory
configure: In function 'int main()':
configure:8759: error: 'XtMalloc' was not declared in this scope
configure:8734: $? = 1
configure: failed program was:
| #line 8714 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "POV-Ray"
| #define PACKAGE_TARNAME "povray"
| #define PACKAGE_VERSION "3.6.1"
| #define PACKAGE_STRING "POV-Ray 3.6.1"
| #define PACKAGE_BUGREPORT "pov### [at] freefr"
| #define VERSION_BASE "3.6"
| #define DISTRIBUTION_MESSAGE_2 " David Jonathan Bush <twixt@cstone.net>"
| #define PACKAGE "povray"
| #define VERSION "3.6.1"
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define COMPILER_VER " (g++ 4.3.2 @ x86_64-unknown-linux-gnu)"
| #define TIME_WITH_SYS_TIME 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG_INT 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_FLOAT 4
| #define RETSIGTYPE void
| #define HAVE_GETCWD 1
| #define HAVE_READLINK 1
| #define HAVE_GETTIMEOFDAY 1
| #define PRECISION_TIMER_AVAILABLE 1
| #define HAVE_LIBM 1
| #define HAVE_ASINH 1
| /* end confdefs.h.  */
| #include <X11/Intrinsic.h>
| int
| main ()
| {
| XtMalloc (0)
|   ;
|   return 0;
| }
configure:8779: result: no
configure:9841: X Window display will be disabled

Am I missing some library package or other package?
Any advice would be greatly appreciated.
Thanks for your time.
David


Post a reply to this message

From: Le Forgeron
Subject: Re: building POV3.6.1 on Debian Lenny amd64, how to enable X or SVGA?
Date: 9 Mar 2010 12:12:05
Message: <4b968165$1@news.povray.org>
Le 09/03/2010 17:03, David J Bush nous fit lire :
> When I ran configure, it completed without error, but it said:
> 
> checking for vga_init in -lvga... no
> configure: SVGAlib display will be disabled
> checking for X... no
> configure: X Window display will be disabled
> 
> Here is what I hope are the relevant sections of config.log:
> 

> configure:8755:27: error: X11/Intrinsic.h: No such file or directory

> Am I missing some library package or other package?

David, read the log...

Yes, you are missing the libxt-dev package, at least.
(as reported by dpkg --search /usr/include/X11/Intrinsic.h on my system)

http://packages.debian.org/search?keywords=libxt-dev

You probably will need some other -dev libraries too once that issue has
been solved (by installing the package)...


Post a reply to this message

From: Michael Besteck
Subject: Re: building POV3.6.1 on Debian Lenny amd64, how to enable X or SVGA?
Date: 4 Sep 2012 11:20:00
Message: <web.50461b60c21bf73662ff4bb80@news.povray.org>
As 2012-09-04 / Kubuntu 12.04 the svga support will compile with libsvga1-dev.
(su apt-get install libsvga1-dev)


Post a reply to this message

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