So che ci sono già discussione in merito, ma non sono riuscito a trovare niente che mi potesse aiutare lì...
Allora, ecco il problema:
volevo provare ad istallare (su Firefox) i plugin per visualizzare pagine scritte in VRML (o X3D), e ho letto che su linux solo due programmi potevano istallarli: FreeWRL e OpenVRML.
Scarico quindi FreeWRL, e faccio partire il comando ./configure dopo essermi spostato nella sua cartella: ci è voluto un po' per trovare tutte le librerie necessarie, ma alla fine il comando riesce ad essere terminato senza errori (o almeno penso... questo è quello che mi esce scritto sul terminale).
Codice: Seleziona tutto
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/msg.h usability... yes
checking sys/msg.h presence... yes
checking for sys/msg.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking return type of signal handlers... void
checking for sighandler_t... no
checking for int32_t... yes
checking for pid_t... yes
checking for stdbool.h that conforms to C99... (cached) yes
checking for _Bool... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking for strchr... yes
checking for strrchr... yes
checking for strdup... yes
checking for strndup... yes
checking for strerror... yes
checking for getopt... yes
checking for getopt_long... yes
checking for getopt_long_only... yes
checking for malloc... yes
checking for calloc... yes
checking for realloc... yes
checking for usleep... yes
checking for gettimeofday... yes
Platform: linux-gnu, linux
checking whether to enable debugging (default=off)... no
checking whether to enable colorized thread console output (default=off)... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for deflate in -lz... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FREETYPE... yes
checking whether to enable fontconfig support... no
checking whether to enable libcurl (could be used instead of wget)... no
configure: Determining Javascript engine to build against
checking for mozilla-js >= 1.9 while ... checking for JAVASCRIPT_ENGINE... yes
configure: Using mozilla-js for Javascript engine library
checking for XML... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XAW... yes
checking for X11/extensions/xf86vmode.h... no
configure: WARNING: XFree86 VMODE extension not found, this package will be built without it
Target windowing system selected: x11
checking for OpenGL... yes
checking GL/glew.h usability... no
checking GL/glew.h presence... no
checking for GL/glew.h... no
glew not found. FreeWRL will not use it.
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_start_decompress in -ljpeg... yes
checking for PNG... yes
checking for IMLIB2... yes
checking whether to enable building of libEAI... no
checking whether to enable building of sound module... yes
checking whether to enable building of java classes... no
configure: Not building java classes
checking whether to enable building of browser plugin... yes
configure: Determining browser plug-in framework to build against
checking for iceape-plugin while ... checking for MOZILLA_PLUGIN... no
checking for xulrunner-plugin while ... checking for MOZILLA_PLUGIN... no
checking for seamonkey-plugin while ... checking for MOZILLA_PLUGIN... no
checking for firefox-plugin while ... checking for MOZILLA_PLUGIN... no
checking for mozilla-plugin while ... checking for MOZILLA_PLUGIN... no
configure: WARNING: Unable to find an appropriate browser plugin framework, not building plugin
checking for int32... no
checking for uint32... no
checking for int16... no
checking for uint16... no
configure: Status bar flavor: standard
checking whether to enable building of OSC plugin support... no
checking for firefox... /usr/bin/firefox
configure: Using /usr/bin/firefox for internet browser
checking for sox... /usr/bin/sox
configure: Using /usr/bin/sox for sound converter
checking for unzip... /usr/bin/unzip
configure: Using /usr/bin/unzip for zip decompressor
checking for wget... /usr/bin/wget
configure: Using /usr/bin/wget for http fetcher
checking for convert... /usr/bin/convert
configure: Using /usr/bin/convert for image converter
configure: creating ./config.status
config.status: creating vtempl
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/bin/Makefile
config.status: creating src/lib/Makefile
config.status: creating src/lib/libFreeWRL.pc
config.status: creating src/plugin/Makefile
config.status: creating src/libeai/Makefile
config.status: creating src/libeai/libFreeWRLEAI.pc
config.status: creating src/sound/Makefile
config.status: creating src/java/Makefile
config.status: creating src/message/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
Faccio dunque partire il comando make, e qui esce questa scritta:
Codice: Seleziona tutto
make all-recursive
make[1]: ingresso nella directory «/home/cuki96/Scaricati/freewrl/package/source/freewrl-1.22.10»
Making all in src
make[2]: ingresso nella directory «/home/cuki96/Scaricati/freewrl/package/source/freewrl-1.22.10/src»
Making all in lib
make[3]: ingresso nella directory «/home/cuki96/Scaricati/freewrl/package/source/freewrl-1.22.10/src/lib»
CCLD libFreeWRL.la
/usr/bin/ld: cannot find -lGLEW
collect2: ld returned 1 exit status
make[3]: *** [libFreeWRL.la] Errore 1
make[3]: uscita dalla directory «/home/cuki96/Scaricati/freewrl/package/source/freewrl-1.22.10/src/lib»
make[2]: *** [all-recursive] Errore 1
make[2]: uscita dalla directory «/home/cuki96/Scaricati/freewrl/package/source/freewrl-1.22.10/src»
make[1]: *** [all-recursive] Errore 1
make[1]: uscita dalla directory «/home/cuki96/Scaricati/freewrl/package/source/freewrl-1.22.10»
make: *** [all] Errore 2Qui trovo dei problemi con l'istallazione di SpiderMonkey, ma leggendo in un altro topic come si istalla riesco a proseguire con il comando ./configure, fin quando non esce scritto questo errore:
Codice: Seleziona tutto
configure: WARNING: JAVA_HOME has not been set. JAVA_HOME must be set at run time to locate libjvm.
configure: error: in `/home/cuki96/Scrivania/Scaricati/openvrml-0.18.8':
configure: error: Mozilla plug-in development headers are required to build the Mozilla plug-in.
See `config.log' for more detailsCodice: Seleziona tutto
E: /var/cache/apt/archives/xulrunner-1.9.2-dev_1.9.2.23+build1+nobinonly-0ubuntu0.10.04.1_i386.deb: tentata sovrascrittura di "/usr/lib/pkgconfig/mozilla-js.pc" presente anche nel pacchetto libmozjs-dev 0
W: Duplicate sources.list entry http://archive.canonical.com/ lucid/partner Packages (/var/lib/apt/lists/archive.canonical.com_dists_lucid_partner_binary-i386_Packages)Qualcuno sa come risolvere almeno uno di questi problemi T__T?
Ah, uso Ubuntu 10.04 LST.