$ ./configure --prefix=/opt/janus --disable-docs --disable-websockets --libdir=/usr/lib64
$ make
...
CC plugins/plugins_libjanus_audiobridge_la-janus_audiobridge.loIn file included from plugins/../debug.h:15:0, from plugins/janus_audiobridge.c:377:/usr/include/glib-1.2/glib.h:66:24: fatal error: glibconfig.h: No such file or directory #include <glibconfig.h> ^compilation terminated.make[2]: *** [plugins/plugins_libjanus_audiobridge_la-janus_audiobridge.lo] Error 1make[2]: Leaving directory `/root/Development/janus-gateway'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/root/Development/janus-gateway'make: *** [all] Error 2
$ locate glibconfig.h/usr/lib64/glib/include/glibconfig.h/usr/lib64/glib-2.0/include/glibconfig.h
$ export PATH=$PATH:/usr/lib64/glib-2.0/include
$ export JANUS_CFLAGS=$JANUS_CFLAGS:'-I/usr/lib64/glib-2.0/include'
$ make -I/usr/lib64/glib-2.0/include
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
export LD_LIBRARY_PATH=/usr/lib
wget ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/m/ma/magicspecs/apt/3.0/x86_64/RPMS.s/sofia-sip-1.12.11-6mgc30.x86_64.rpm
wget ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/m/ma/magicspecs/apt/3.0/x86_64/RPMS.s/sofia-sip-devel-1.12.11-6mgc30.x86_64.rpm
sudo rpm -i sofia-sip-1.12.11-6mgc30.x86_64.rpm
sudo rpm -i sofia-sip-devel-1.12.11-6mgc30.x86_64.rpm
sudo yum update
sudo yum install sofia-sip-devel
Hopefully this will help someone else. Maybe this is worth adding to the documentation? I can create a pull request if helpful...
OK, I finally found an RPM that worked using this tool:I was able to install Sofia-SIP with this:
wget ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/m/ma/magicspecs/apt/3.0/x86_64/RPMS.s/sofia-sip-1.12.11-6mgc30.x86_64.rpm
wget ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/m/ma/magicspecs/apt/3.0/x86_64/RPMS.s/sofia-sip-devel-1.12.11-6mgc30.x86_64.rpm
sudo rpm -i sofia-sip-1.12.11-6mgc30.x86_64.rpm
sudo rpm -i sofia-sip-devel-1.12.11-6mgc30.x86_64.rpm
sudo yum update
sudo yum install sofia-sip-devel
Hopefully this will help someone else. Maybe this is worth adding to the documentation? I can create a pull request if helpful...