Jump to content
Mumble forums

Installa mumble viewer in a easy way!


emanuelebruno
 Share

Recommended Posts

Hi to all,


my name is Emanuele Bruno and I'm a very happy for using Mumble in our servers. I have read many and many guides about installing any kind of mumble viewer but honestly I don't think to have a clear idea about this argument... ice , dbus , JSON and XML seem very complex concepts so I'm writing to you hoping to see the "LIGHT"!


Recently I have installed under ubuntu 8.04 LTS server the last murmur 1.2.3 RC from mumble web site and I'm using Lighttpd for the website-side. I have installed 3 murmur servers (178.32.142.142 : 64738 / 64739 / 64740) and I'd like to add to my web page (warriorteam.it) a good mumble viewer with join capacity that works with the last version of murmur ... any body have some advice for me?


I hope somebody can help me and I promise from now to write another guide to my blog (I have written an ITALIAN GUIDE about installing mumble under windows http://emanuelebruno.it/?p=7) about this argument.


Sincerely,

Emanuele Bruno.

Link to comment
Share on other sites

Hi Kissaki,


the server is mine so I can install everything (I have no preferences).


I'm searching for a mumble viewer that has the following features:


-It should be compatible with murmur 1.2.3 RC (I have read about JSON protocol and seems very interesting because I have understood that it is like gametracker, isn't it?);

-I have many murmur installations with the same ip address but in differents ports (I think that it shouldn't be a problem);

-I like the join-feature that I have seen in some mumble viewer (so the mumble client can link immediately to the murmur server);


I hope that somebody can help me for installing the right mumble viewer for me.


Sincerely,

Emanuele Bruno.

Link to comment
Share on other sites

  • Administrators

So, did you manage to install it?

Or were you talking about a webinterface all the time??



I have no idea how you reference 1.2.3 with JSON.

Anyway, the chan-viewer protocol is in JSON, among XML. http://mumble.sourceforge.net/Channel_Viewer_Protocol

For viewers see http://mumble.sourceforge.net/3rd_Party_Applications#Channel_Viewers

You'll also need a script which provides the chanviewer data for the viewers, if it uses the chanviewerprotocol. What about MumPI?

Link to comment
Share on other sites

Hi Kissasi,


as you know, my platform is Ubuntu 8.04 LTS Server+Lighttpd so I have done the following steps:

 

apt-get update && apt-get install python-zeroc-ice icecpp

 

-stopped murmur server, modified murmur.ini so:

 

#dbus=session
ice="tcp -h 127.0.0.1 -p 6502"

 

-restarted murmur server;

-from /root

wget http://switch.dl.sourceforge.net/project/mumpi/MumPI/2.2/2.2.2/MumPI_2.2.2.tar.bz2
wget http://www.zeroc.com/download/Ice/3.4/Ice-3.4.1.tar.gz
tar -xf MumPI_2.2.2.tar.bz2
tar -xf Ice-3.4.1.tar.gz
cd Ice-3.4.1
make

 

...but I have met the following error:

 

root@localhost:~/Ice-3.4.1# make
making all in cpp
make[1]: Entering directory `/root/Ice-3.4.1/cpp'
making all in config
make[2]: Entering directory `/root/Ice-3.4.1/cpp/config'
echo ""

make[2]: Leaving directory `/root/Ice-3.4.1/cpp/config'
making all in src
make[2]: Entering directory `/root/Ice-3.4.1/cpp/src'
making all in IceUtil
make[3]: Entering directory `/root/Ice-3.4.1/cpp/src/IceUtil'
c++ -c -I../../include -DICE_UTIL_API_EXPORTS -I..  -Wall -D_REENTRANT -fPIC -g  ArgVector.cpp
make[3]: c++: Command not found
make[3]: *** [ArgVector.o] Error 127
make[3]: Leaving directory `/root/Ice-3.4.1/cpp/src/IceUtil'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/root/Ice-3.4.1/cpp/src'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/root/Ice-3.4.1/cpp'
make: *** [all] Error 1
root@localhost:~/Ice-3.4.1# make[3]: c++: Command not found
-bash: make[3]:: command not found
root@localhost:~/Ice-3.4.1# apt-get install c++
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package c

 

can you help me?


Sincerely,

Emanuele Bruno.

Link to comment
Share on other sites

Ubuntu uses the GNU compilers, so try to install g++.


Also have a look at the INSTALL files inside some of the subdirectories of Ice-3.4.1. In these files often the dependencies are provided. You can use the packages.ubuntu.com web-page to find the needed packages and there name, if you can not find them if aptitude or apt-get.


If there is a Ice package in the Hardy repo's you could try the following command to install the needed dependencies.

apt-get build-dep <package>

Computer specs: AMD FX-8320, 8GB DDR3-SDRAM, AMD Radeon HD 7950, Asus Xonar D1, Windows 7 Ultimate 64bit/Debian Jessie AMD64.

Link to comment
Share on other sites

Ubuntu uses the GNU compilers, so try to install g++.[...]

 

Hi rawnar! Thanks for your reply. I have installed g++ and now I have met another compiling problem:

 

[...]c++ -c -I.. -I../../include -DSLICE_API_EXPORTS   -Wall -D_REENTRANT -fPIC -g  RubyUtil.cpp
c++ -c -I.. -I../../include -DSLICE_API_EXPORTS   -Wall -D_REENTRANT -fPIC -g  PHPUtil.cpp
c++ -c -I.. -I../../include -DSLICE_API_EXPORTS   -Wall -D_REENTRANT -fPIC -g  Util.cpp
c++ -c -I.. -I../../include -DSLICE_API_EXPORTS   -Wall -D_REENTRANT -fPIC -g  FileTracker.cpp
c++ -c -I.. -I../../include -DSLICE_API_EXPORTS   -Wall -D_REENTRANT -fPIC -g  MD5.cpp
c++ -c -I.. -I../../include -DSLICE_API_EXPORTS   -Wall -D_REENTRANT -fPIC -g  MD5I.cpp
rm -f ../../lib/libSlice.so.3.4.1
c++ -shared -Wl,--enable-new-dtags -Wl,-rpath,/opt/Ice-3.4/lib -rdynamic  -Wall -D_REENTRANT -fPIC -g  -L../../lib  -o ../../lib/libSlice.so.3.4.1 -Wl,-h,libSlice.so.34   Scanner.o ../Slice/Grammar.o Parser.o CPlusPlusUtil.o CsUtil.o JavaUtil.o Preprocessor.o Checksum.o PythonUtil.o DotNetNames.o RubyUtil.o PHPUtil.o Util.o FileTracker.o MD5.o MD5I.o -lIceUtil  -lmcpp -lpthread -lrt
/usr/bin/ld: cannot find -lmcpp
collect2: ld returned 1 exit status
make[3]: *** [../../lib/libSlice.so.3.4.1] Error 1
make[3]: Leaving directory `/root/Ice-3.4.1/cpp/src/Slice'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/root/Ice-3.4.1/cpp/src'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/root/Ice-3.4.1/cpp'
make: *** [all] Error 1
root@localhost:~/Ice-3.4.1#

 

It seems that cannot find -lmcpp ... can you help me?

Link to comment
Share on other sites

Mh, why do you want to compile Ice yourself anyway?

php-ice should be enough for MumPI. Does the package-murmur need it? (Would be new to me)

 

Hi Kissaki,


I have tryed to install MumPI (try to give a look to http://178.32.142.142/MumPI/html/user/ ) but you can see there are some errors:

 

It seems your PHP configuration is not running with the Ice extension.It seems your PHP configuration is not running with the Ice extension.
Please set up your PHP to load the Ice extension.
Ice is the middleware between Murmur and PHP/the Interface, allowing PHP to call Murmur functions. Thus, this is necessary.
For introductions on how to set it up, see mumble.sf.net/Ice.

 

Any idea?

Link to comment
Share on other sites

Hi Kissaki,


sorry but I don't think to understand. Following to http://mumble.sourceforge.net/Ice web site, I have done the followings steps:


-I have modified murmur.ini so dbus is disable and uncommen the following line in this way:

ice="tcp -h 178.32.142.142 -p 6502"

-I have stopped and restarted murmur server;

-after that I have installed these libraries:

apt-get install icecpp libzeroc-ice32 php-zeroc-ice lzma

-after I have modified /etc/php5/conf.d/IcePHP.ini in this way:

extension = IcePHP.so

ice.slice = /home/giovanni/Murmur.ice

-I have added to the /etc/php5/cgi/php.ini the following line:

extension_dir = "/usr/lib/php5/extensions"

-I have restarted lighttpd:

/etc/init.d/lighttpd restart

-I have checked the /home/giovanni/giovanni_murmur.log in this way:

tail -n10 /home/giovanni/giovanni_murmur.log

 

<W>2011-01-27 22:31:02.638 1 => Stopped
<W>2011-01-27 22:31:02.638 Shutting down
<W>2011-01-27 22:31:02.638 MurmurIce: Shutdown complete
<W>2011-01-27 22:31:47.926 Initializing settings from /home/giovanni/murmur.ini (basepath /home/giovanni)
<W>2011-01-27 22:31:47.935 ServerDB: Openend SQLite database /home/giovanni/giovanni.sqlite
<W>2011-01-27 22:31:48.013 MurmurIce: Endpoint "tcp -h 178.32.142.142 -p 6502" running
<W>2011-01-27 22:31:48.056 Murmur 1.2.2 (Compiled Feb  9 2010 17:44:13) running on X11: Ubuntu 8.04.4 LTS: Booting servers
<W>2011-01-27 22:31:48.094 1 => Server listening on [::]:64739
<W>2011-01-27 22:31:48.124 1 => Announcing server via bonjour
<W>2011-01-27 22:31:48.138 1 => Registration needs nonempty 'registername', 'registerpassword' and 'registerurl', must have an empty 'password' and allowed pings.

 

and I think it is ok... so what is wrong?

Link to comment
Share on other sites

Hi Kisaki,

Giving a look to the /usr/lib/php5/extensions I found no file in that directory... anyway I found that in an other directory (/usr/lib/php5/20060613+lfs) there were the followings file:


-rw-r--r-- 1 root root 102512 2011-01-12 17:01 gd.so

-rw-r--r-- 1 root root 362108 2007-09-05 13:31 IcePHP.so

-rw-r--r-- 1 root root 98180 2011-01-12 17:01 mysqli.so

-rw-r--r-- 1 root root 45916 2011-01-12 17:01 mysql.so

-rw-r--r-- 1 root root 23364 2011-01-12 17:01 pdo_mysql.so

-rw-r--r-- 1 root root 81728 2011-01-12 17:01 pdo.so


So I have copied these files to /usr/lib/php5/extensions directory and I have restarted the lighttpd server and now it seems that works... but I'm not sure that its works correctly for these reasons:


-when I go in META menu, it shows only a server in 64738 port (but I have 2 other servers, the second in 64739 port and the third in 64740 port);

-when I select "SHOW ON LINE USERS" the systems says "178

Fatal error: Call to undefined method Ice_ObjectPrx::getRegistration() in /home/iourtded/urbanterror/MumPI/html/classes/ServerInterface.php on line 330";

-linking "REGISTRATION" it says "Fatal error: Call to undefined method Ice_ObjectPrx::getRegistration() in /home/iourtded/urbanterror/MumPI/html/classes/ServerInterface.php on line 330"

-BANS works correctly (even if it shows the banned player only in the first server)

-Channel-Tree works correctly (even if it shows only the first)

-I have tryed to create a server named "prova" but it shows errors when I try to start (I have attacched an image file);


Thanks,

Emanuele Bruno

175542347_serverlisterror.thumb.jpg.78c50788698f6fa4f280670471c0f080.jpg

Link to comment
Share on other sites

  • Administrators
Hi Kisaki,

Giving a look to the /usr/lib/php5/extensions I found no file in that directory... anyway I found that in an other directory (/usr/lib/php5/20060613+lfs) there were the followings file:

Those folders are because of incompatibilities between php and php extensions built with different compilers.

 

-when I go in META menu, it shows only a server in 64738 port (but I have 2 other servers, the second in 64739 port and the third in 64740 port);

And those servers are running in the same Murmur process? (virtual servers)

 

-when I select "SHOW ON LINE USERS" the systems says "178

Make sure to use the fixed slice (.ice) file if you’re using PHP < 5.3 & php-ice < 3.4.

That’s why I asked for your PHP version.

Fixed slice file is in MumPIs libs dir.

Link to comment
Share on other sites

If you still want to try to compile the latest Ice, try to install libmcpp-dev. This package will provide the files that are needed for the linker to find libmcpp.

Computer specs: AMD FX-8320, 8GB DDR3-SDRAM, AMD Radeon HD 7950, Asus Xonar D1, Windows 7 Ultimate 64bit/Debian Jessie AMD64.

Link to comment
Share on other sites

Hi rawnar and hi kissaki,

 

Make sure to use the fixed slice (.ice) file if you’re using PHP < 5.3 & php-ice < 3.4.

That’s why I asked for your PHP version.

Fixed slice file is in MumPIs libs dir.

 

I have copied the Murmur123_fixed.ice from MumPI/libs directory to "giovanni" directory and I have modified /etc/php5/conf.d/IcePHP.ini in this way:

 

extension = IcePHP.so
ice.slice = /home/giovanni/Murmur123_fixed.ice

 

If you still want to try to compile the latest Ice, try to install libmcpp-dev. This package will provide the files that are needed for the linker to find libmcpp.

 

Sorry, it doesn't work:

 

root@localhost:~/Ice-3.4.1# apt-get update
Hit http://security.ubuntu.com hardy-security Release.gpg
Ign http://security.ubuntu.com hardy-security/main Translation-en_US
[...]
Hit http://it.archive.ubuntu.com hardy-updates/multiverse Sources
Reading package lists... Done
root@localhost:~/Ice-3.4.1# apt-get install libmcpp-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libmcpp-dev

 

I have an error when I try to start the "prova" murmur virtual server, can you help me? I have attached a screen shot...

487131063_erroremumpi.thumb.jpg.f83fb90f9fe83cb3c96c50271ce78e03.jpg

Link to comment
Share on other sites

I see. Forgot to check the version of Ubuntu you are running. The libmcpp-dev was include starting from karmic(9.10). You can download the latest version of mcpp from sourceforge, here. But I think it is more wise to run with the provide ice package from ubuntu. Kissaki will probably help you from here on, as he knows more about Ice.

Computer specs: AMD FX-8320, 8GB DDR3-SDRAM, AMD Radeon HD 7950, Asus Xonar D1, Windows 7 Ultimate 64bit/Debian Jessie AMD64.

Link to comment
Share on other sites

  • 2 weeks later...

Hi to all!


Finally, I have refreshed my last murmur installation with the last version (http://mumble.info/snapshot/murmur-static_x86-1.2.3-rc2.tar.bz2) and it works correctly! :) So many thanks to kissaki and rawnar for your help, even if I have not finished yet, because in my original post I wrote that I was searching for a good mumble viewer with join capacity ... so I feel to be very near to the end of this project... Any advice? Any help?


Sincerely,

Emanuele Bruno.

Link to comment
Share on other sites

  • Administrators

My MumPI does support viewer with join links.

It also provides the chanviewer protocol (but without link-info I think). Planned for future …


My MView is a neat viewer and should provide links if the chan-prot. does provide them. (If I remember correctly.)


I'm not too familiar with the other like mumblereader or m-django.

Link to comment
Share on other sites

Hi kissaki, are you speaking about http://178.32.142.142/MumPI/html/viewer/ ?

or http://178.32.142.142/MumPI/html/viewer2/ ?


anyway I have found this one and it seems very good http://178.32.142.142/mumbleviewer/trunk/

even if it has an old join feature that doesn't seem compatible to 1.2.3 ... can you help me to modify the source ? You can download from this link http://178.32.142.142/mumbleviewer.tgz (attachment is limited to 256K) My email is emanuelebruno@gmail.com .


Sincerely,

Emanuele Bruno.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...