Transports: REST (HTTP/HTTPS): no when I ./configure --prefix=/opt/janus, why ?how can I change it to yes?

247 views
Skip to first unread message

ms t

unread,
Apr 20, 2020, 6:58:03 AM4/20/20
to meetecho-janus
I build janus,and get this content:

Transports:
    REST (HTTP/HTTPS):     no
    WebSockets:            yes
    RabbitMQ:              yes
    MQTT:                  no
    Unix Sockets:          yes
    Nanomsg:               no

I need REST,but why I can't change it to yes?
 The command like this:
./configure  --prefix=/opt/janus

and all result like this:
[root@iZbp184573x014jygec86qZ janus-gateway]# ./configure  --prefix=/opt/janus
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
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 how to run the C preprocessor
... gcc -E
checking
for grep that handles long lines and -e... /usr/bin/grep
checking
for egrep... /usr/bin/grep -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 minix
/config.h usability... no
checking minix
/config.h presence... no
checking
for minix/config.h... no
checking whether it
is safe to define __EXTENSIONS__... yes
checking
for gcc... (cached) gcc
checking whether we are
using the GNU C compiler... (cached) yes
checking whether gcc accepts
-g... (cached) yes
checking
for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc
... (cached) gcc3
checking build system type
... x86_64-unknown-linux-gnu
checking host system type
... x86_64-unknown-linux-gnu
checking how to
print strings... printf
checking
for a sed that does not truncate output... /usr/bin/sed
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 whether the shell understands some XSI constructs
... yes
checking whether the shell understands
"+="... yes
checking how to convert x86_64
-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64
-unknown-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 mt... no
checking
if : is a manifest tool... no
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... no
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... no
checking
for pkg-config... /usr/bin/pkg-config
checking pkg
-config is at least version 0.9.0... yes
checking
for JANUS... yes
checking
for library containing tls_config_set_ca_mem... no
checking
for nice_agent_set_port_range in -lnice... no
configure
: libnice version does not have nice_agent_set_port_range
checking
for nice_address_equal_no_port in -lnice... no
configure
: libnice version does not support TCP candidates
checking
for dlopen in -ldl... yes
checking
for LIBSRTP... yes
checking
for usrsctp_finish in -lusrsctp... yes
checking
for LIBCURL... yes
checking
for doxygen... doxygen
checking
for dot... dot
checking
for gengetopt... yes
checking
for TRANSPORTS... yes
checking
for MHD... no
checking
for lws_create_vhost in -lwebsockets... yes
checking
for lws_get_peer_simple in -lwebsockets... yes
checking
for amqp_error_string2 in -lrabbitmq... yes
checking
for MQTTAsync_create in -lpaho-mqtt3a... no
checking
for nn_socket in -lnanomsg... no
checking
for PLUGINS... yes
checking
for SOFIA... no
checking
for OPUS... yes
checking
for OGG... yes
checking
for LUA... no
checking
for LUA... no
checking
for EVENTS... yes
checking
for LOGGERS... yes
checking
for npm... no
checking that generated files are newer than configure
... done
configure
: creating ./config.status
config
.status: creating Makefile
config
.status: creating html/Makefile
config
.status: creating docs/Makefile
config
.status: executing depfiles commands
config
.status: executing libtool commands


Compiler:                  gcc
libsrtp version
:           2.x
SSL
/crypto library:        OpenSSL
DTLS
set-timeout:          not available
Mutex implementation:      GMutex (native futex on Linux)
DataChannels support:      yes
Recordings post-processor: no
TURN REST API client
:      yes
Doxygen documentation:     no
Transports:
    REST
(HTTP/HTTPS):     no
   
WebSockets:            yes
   
RabbitMQ:              yes
    MQTT
:                  no
   
Unix Sockets:          yes
   
Nanomsg:               no
Plugins:
   
Echo Test:             yes
   
Streaming:             yes
   
Video Call:            yes
    SIP
Gateway:           no
   
NoSIP (RTP Bridge):    yes
   
Audio Bridge:          yes
   
Video Room:            yes
   
Voice Mail:            yes
   
Record&Play:           yes
   
Text Room:             yes
   
Lua Interpreter:       no
   
Duktape Interpreter:   no
Event handlers:
   
Sample event handler:  yes
   
WebSocket ev. handler: yes
   
RabbitMQ event handler:yes
    MQTT
event handler:    no
   
Nanomsg event handler: no
External loggers:
    JSON file logger
:      no
JavaScript modules:        no


If this configuration is ok for you, do a 'make' to start building Janus. A 'make install' will install Janus and its plugins to the specified prefix. Finally, a 'make configs' will install some sample configuration files too (something you'll only want to do the first time, though).

 please help me!

Jean-Baptiste Boisseau

unread,
Apr 20, 2020, 7:17:32 AM4/20/20
to meetecho-janus
Hi,

Giving your logs, it seems that libmicrohttpd is not installed or detected by the installer.

Regards,

JB

Mirko Brankovic

unread,
Apr 20, 2020, 7:31:15 AM4/20/20
to meetecho-janus
indeed JP is right, for 0.9.2 janus you need libmicrohttpd12 

--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/meetecho-janus/fb26b5be-b682-468c-bd8f-19d1e8f40551%40googlegroups.com.


--
Regards,
Mirko

Serhat Sakarya

unread,
Apr 20, 2020, 8:36:10 AM4/20/20
to Mirko Brankovic, meetecho-janus
I think that --enable-rest is also necessary as a configure option? Or is this default?

Regards,

Serhat

Juan Espinoza

unread,
Apr 20, 2020, 11:18:35 AM4/20/20
to meetecho-janus
To unsubscribe from this group and stop receiving emails from it, send an email to meetech...@googlegroups.com.


--
Regards,
Mirko

--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetech...@googlegroups.com.

ms t

unread,
Apr 21, 2020, 9:49:31 AM4/21/20
to meetecho-janus
Dear sir:

I try to install libmicrohttpd-0.9.59-2.el7.x86_64.rpm in centos,and got this error:

yum install libmicrohttpd-0.9.59-2.el7.x86_64.rpm
Loaded plugins: fastestmirror
Examining libmicrohttpd-0.9.59-2.el7.x86_64.rpm: 1:libmicrohttpd-0.9.59-2.el7.x86_64
Marking libmicrohttpd-0.9.59-2.el7.x86_64.rpm as an update to libmicrohttpd-0.9.33-2.el7.x86_64
Marking libmicrohttpd-0.9.59-2.el7.x86_64.rpm as an update to libmicrohttpd-0.9.33-2.el7.i686
Resolving Dependencies
--> Running transaction check
---> Package libmicrohttpd.i686 0:0.9.33-2.el7 will be updated
--> Processing Dependency: libmicrohttpd = 0.9.33-2.el7 for package: libmicrohttpd-devel-0.9.33-2.el7.x86_64
Loading mirror speeds from cached hostfile
---> Package libmicrohttpd.x86_64 0:0.9.33-2.el7 will be updated
--> Processing Dependency: libmicrohttpd = 0.9.33-2.el7 for package: libmicrohttpd-devel-0.9.33-2.el7.x86_64
--> Processing Dependency: libmicrohttpd.so.10()(64bit) for package: libmicrohttpd-devel-0.9.33-2.el7.x86_64
---> Package libmicrohttpd.x86_64 1:0.9.59-2.el7 will be an update
--> Finished Dependency Resolution
Error: Package: libmicrohttpd-devel-0.9.33-2.el7.x86_64 (@base)
           Requires: libmicrohttpd.so.10()(64bit)
           Removing: libmicrohttpd-0.9.33-2.el7.x86_64 (@base)
               libmicrohttpd.so.10()(64bit)
           Updated By: 1:libmicrohttpd-0.9.59-2.el7.x86_64 (/libmicrohttpd-0.9.59-2.el7.x86_64)
              ~libmicrohttpd.so.12()(64bit)
Error: Package: libmicrohttpd-devel-0.9.33-2.el7.x86_64 (@base)
           Requires: libmicrohttpd = 0.9.33-2.el7
           Removing: libmicrohttpd-0.9.33-2.el7.i686 (@/libmicrohttpd-0.9.33-2.el7.i686)
               libmicrohttpd = 0.9.33-2.el7
           Updated By: 1:libmicrohttpd-0.9.59-2.el7.x86_64 (/libmicrohttpd-0.9.59-2.el7.x86_64)
               libmicrohttpd = 1:0.9.59-2.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest



so, how can I install libmicrohttpd.so.10() or libmicrohttpd-0.9.59-2.el7.x86_64.rpm?

在 2020年4月20日星期一 UTC+8下午11:18:35,Juan Espinoza写道:

Juan Espinoza

unread,
Apr 21, 2020, 10:56:21 AM4/21/20
to meetecho-janus
Try this: "yum remove libmicrohttpd", you need uninstall lbmicrohttpd 0.9.33 first, then install 0.9.59.

Regards,
JJ
Reply all
Reply to author
Forward
0 new messages