Форум русскоязычного сообщества Ubuntu


Считаете, что Ubuntu недостаточно дружелюбна к новичкам?
Помогите создать новое Руководство для новичков!

Автор Тема: Сборка и установка freewrl-3.0.0  (Прочитано 812 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн Alexey22

  • Автор темы
  • Новичок
  • *
  • Сообщений: 10
    • Просмотр профиля
Сборка и установка freewrl-3.0.0
« : 27 Сентября 2020, 23:48:31 »
Добрый день.
При попытке сборки freewrl-3.0.0 после ввода ./configure процесс успешно не завершается и выдает ошибку error: Unable to find an appropriate javascript engine

alexey@IdeaPad-Z500:~/1/freewrl-3.0.0$ ./autogen.sh
Remaining args:
Platform: Linux
Regenerating configure files...
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:50: installing 'config/compile'
configure.ac:26: installing 'config/missing'
src/bin/Makefile.am: installing 'config/depcomp'
Configure options are:  --disable-debug --disable-libcurl --enable-libeai --enable-plugin --with-fontsdir= --with-target=motif CFLAGS= LDFLAGS=
Please run configure now.


alexey@IdeaPad-Z500:~/1/freewrl-3.0.0$ ./configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-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... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/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 how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
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 dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
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 -m elf_x86_64) 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
checking for cos in -lm... 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 whether to enable debugging (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 whether to enable doc generation (default=off)... no
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 for pthread_cancel... yes
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... yes
checking for FONTCONFIG... yes
checking whether to enable libcurl (could be used instead of wget)... no
configure: javascriptopt: sm
configure: Determining Javascript engine to build against
checking for mozjs187 while ... checking for JAVASCRIPT_ENGINE... no
checking for mozjs185 while ... checking for JAVASCRIPT_ENGINE... no
checking for mozilla-js >= 1.9 while ... checking for JAVASCRIPT_ENGINE... no
checking for xulrunner-js >= 1.8 while ... checking for JAVASCRIPT_ENGINE... no
checking for seamonkey-js while ... checking for JAVASCRIPT_ENGINE... no
checking for firefox-js while ... checking for JAVASCRIPT_ENGINE... no
checking for firefox2-js while ... checking for JAVASCRIPT_ENGINE... no
configure: error: Unable to find an appropriate javascript engine

Оффлайн valrust

  • Активист
  • *
  • Сообщений: 364
    • Просмотр профиля
Re: Сборка и установка freewrl-3.0.0
« Ответ #1 : 29 Сентября 2020, 00:03:32 »
Попробуйте перед сборкой поставит  пакет libmozjs185-dev
Код: (bash) [Выделить]
sudo apt-get install libmozjs185-dev

Оффлайн Alexey22

  • Автор темы
  • Новичок
  • *
  • Сообщений: 10
    • Просмотр профиля
Re: Сборка и установка freewrl-3.0.0
« Ответ #2 : 29 Сентября 2020, 10:30:10 »
Попробуйте перед сборкой поставит  пакет libmozjs185-dev
Код: (bash) [Выделить]
sudo apt-get install libmozjs185-dev

E:Невозможно найти пакет libmozjs187-dev

Оффлайн valrust

  • Активист
  • *
  • Сообщений: 364
    • Просмотр профиля
Re: Сборка и установка freewrl-3.0.0
« Ответ #3 : 29 Сентября 2020, 10:47:46 »
Попробуйте перед сборкой поставит  пакет libmozjs185-dev
Код: (bash) [Выделить]
sudo apt-get install libmozjs185-dev

E:Невозможно найти пакет libmozjs187-dev

Я почему-то подумал, что речь идет о Ubuntu 16.04, в Ubuntu 20.04 другая версия:
Код: (Bash) [Выделить]
sudo apt install libmozjs-68-dev

Оффлайн Alexey22

  • Автор темы
  • Новичок
  • *
  • Сообщений: 10
    • Просмотр профиля
Re: Сборка и установка freewrl-3.0.0
« Ответ #4 : 29 Сентября 2020, 12:08:40 »
Попробуйте перед сборкой поставит  пакет libmozjs185-dev
Код: (bash) [Выделить]
sudo apt-get install libmozjs185-dev

E:Невозможно найти пакет libmozjs187-dev

Я почему-то подумал, что речь идет о Ubuntu 16.04, в Ubuntu 20.04 другая версия:
Код: (Bash) [Выделить]
sudo apt install libmozjs-68-dev

в ответе пишет Уже установлен пакет libmozjs-68-dev самой новой версии (68.6.0-1ubuntu1)
Пользователь добавил сообщение 29 Сентября 2020, 13:52:37:
удалось поставить mozjs185 из дипозитария 16.04
теперь конфигуратор останавливается на

configure: Using mozjs185 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... no
checking for XAW... no
configure: error: Package requirements (xproto x11 xt xmu xaw7) were not met:

No package 'xproto' found
No package 'x11' found
No package 'xt' found
No package 'xmu' found
No package 'xaw7' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XAW_CFLAGS
and XAW_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
« Последнее редактирование: 29 Сентября 2020, 13:52:37 от Alexey22 »

 

Страница сгенерирована за 0.055 секунд. Запросов: 25.