sh autogen.sh
its showing error as below:
root@ubuntu14base:~# sh autogen.sh
sh: 0: Can't open autogen.sh
and
"make configs" command showing below error
Please can look into this and update us with any best solutions for this
Thank you
./configure --prefix=/opt/janus make make install
i am giving you installations logs for above 3 commands each
./configure --prefix=/opt/janus
root@ubuntu14base:~/libwebsock# ./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... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
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 for style of include used by make... GNU
checking dependency style of gcc... 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... /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 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... 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... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
====================================================
Make
make
Making all in src
make[1]: Entering directory `/root/libwebsock/src'
make all-am
make[2]: Entering directory `/root/libwebsock/src'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Wmissing-prototypes -g -O2 -MT libwebsock_la-websock.lo -MD -MP -MF .deps/libwebsock_la-websock.Tpo -c -o libwebsock_la-websock.lo `test -f 'websock.c' || echo './'`websock.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wmissing-prototypes -g -O2 -MT libwebsock_la-websock.lo -MD -MP -MF .deps/libwebsock_la-websock.Tpo -c websock.c -fPIC -DPIC -o .libs/libwebsock_la-websock.o
mv -f .deps/libwebsock_la-websock.Tpo .deps/libwebsock_la-websock.Plo
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Wmissing-prototypes -g -O2 -MT libwebsock_la-frames.lo -MD -MP -MF .deps/libwebsock_la-frames.Tpo -c -o libwebsock_la-frames.lo `test -f 'frames.c' || echo './'`frames.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wmissing-prototypes -g -O2 -MT libwebsock_la-frames.lo -MD -MP -MF .deps/libwebsock_la-frames.Tpo -c frames.c -fPIC -DPIC -o .libs/libwebsock_la-frames.o
mv -f .deps/libwebsock_la-frames.Tpo .deps/libwebsock_la-frames.Plo
==========================================================
make install
root@ubuntu14base:~/libwebsock# make install
Making install in src
make[1]: Entering directory `/root/libwebsock/src'
make[2]: Entering directory `/root/libwebsock/src'
/bin/mkdir -p '/opt/janus/lib'
/bin/bash ../libtool --mode=install /usr/bin/install -c libwebsock.la '/opt/janus/lib'
libtool: install: /usr/bin/install -c .libs/libwebsock.so.1.0.7 /opt/janus/lib/libwebsock.so.1.0.7
libtool: install: (cd /opt/janus/lib && { ln -s -f libwebsock.so.1.0.7 libwebsock.so.1 || { rm -f libwebsock.so.1 && ln -s libwebsock.so.1.0.7 libwebsock.so.1; }; })
libtool: install: (cd /opt/janus/lib && { ln -s -f libwebsock.so.1.0.7 libwebsock.so || { rm -f libwebsock.so && ln -s libwebsock.so.1.0.7 libwebsock.so; }; })
libtool: install: /usr/bin/install -c .libs/libwebsock.lai /opt/janus/lib/libwebsock.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/sbin" ldconfig -n /opt/janus/lib
----------------------------------------------------------------------
Libraries have been installed in:
/opt/janus/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/opt/janus/include/websock'
/usr/bin/install -c -m 644 websock.h api.h default_callbacks.h frames.h util.h utf.h types.h websock_config.h '/opt/janus/include/websock'
make[2]: Leaving directory `/root/libwebsock/src'
make[1]: Leaving directory `/root/libwebsock/src'
Making install in examples
make[1]: Entering directory `/root/libwebsock/examples'
make[2]: Entering directory `/root/libwebsock/examples'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/libwebsock/examples'
make[1]: Leaving directory `/root/libwebsock/examples'
make[1]: Entering directory `/root/libwebsock'
make[2]: Entering directory `/root/libwebsock'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/libwebsock'
make[1]: Leaving directory `/root/libwebsock'
=============================================================================
after all when i am trying to fire
"make configs" command after all this so its showing below error
root@ubuntu14base:~/libwebsock# make configs
make: *** No rule to make target `configs'. Stop.
Now i have provided you all installations logs so please check and let me know if anything is wrong
THank you
aptitude install libmicrohttpd-dev libjansson-dev libnice-dev \ libssl-dev libsrtp-dev libsofia-sip-ua-dev libglib2.0-dev \ libopus-dev libogg-dev libini-config-dev libcollection-dev \ pkg-config gengetopt
2: installed usrsctp
For what concerns usrsctp, which is needed for Data Channels support, it is usually not available in repositories, so if you're interested in them (support is optional) you'll have to install it manually. It is a pretty easy and standard process: svn co http://sctp-refimpl.googlecode.com/svn/trunk/KERN/usrsctp usrsctp cd usrsctp ./bootstrap ./configure --prefix=/usr && make && sudo make install
git clone https://github.com/alanxz/rabbitmq-c cd rabbitmq-c git submodule init git submodule update autoreconf -i ./configure --prefix=/usr && make && sudo make install
sh autogen.sh command not worked and "make configs" also did not worked
So please now please let us know any remaing configureations which needed for janus and also update us exact steps to install janus on ubutntu
server so will try to install at our end.
I found janus folder under /opt and i giving you all details regarding janus folder.
locate janus
/opt/janus
/opt/janus/include
/opt/janus/lib
/opt/janus/include/amqp.h
/opt/janus/include/amqp_framing.h
/opt/janus/include/amqp_ssl_socket.h
/opt/janus/include/amqp_tcp_socket.h
/opt/janus/include/websock
/opt/janus/include/websock/api.h
/opt/janus/include/websock/default_callbacks.h
/opt/janus/include/websock/frames.h
/opt/janus/include/websock/types.h
/opt/janus/include/websock/utf.h
/opt/janus/include/websock/util.h
/opt/janus/include/websock/websock.h
/opt/janus/include/websock/websock_config.h
/opt/janus/lib/librabbitmq.la
/opt/janus/lib/librabbitmq.so
/opt/janus/lib/librabbitmq.so.1
/opt/janus/lib/librabbitmq.so.1.2.3
/opt/janus/lib/libwebsock.la
/opt/janus/lib/libwebsock.so
/opt/janus/lib/libwebsock.so.1
/opt/janus/lib/libwebsock.so.1.0.7
/opt/janus/lib/pkgconfig
/opt/janus/lib/pkgconfig/librabbitmq.pc
Please let us know exact steps to install janus and update us some helpful steps to configure janus with commands for ubuntu.
we would appreciated for your help
Thank you