Results 1 to 9 of 9

Thread: Installing Ice to run with Murmur/Mumble

  1. #1
    KevinD is offline Registered User
    Name: Kevin Dixon
    Organization: usmcclan2.com
    Project: Intergrating Ice with XAMPP
    Join Date
    Jun 2010
    Posts
    5

    Installing Ice to run with Murmur/Mumble

    I am following the Ice setup @ Ice - Mumble In the section--- How to setup Ice for PHP with XAMPP on Windows - or the right way to use Ice on Windows . It states this:
    Copy the File php_ice.dll from <your path>\ZeroC\Ice-3.4.0\bin to <your_path>\xampplite\php\ext Edit the php.ini in <your_path>\xampplite\php and add :
    Code:
    extension=php_ice.dll
    ice.slice=<mumble_path>\Murmur.ice
    I added the extension=php_ice.dll to the extension group in php.ini but where do I put: ice.slice=<mumble_path>\Murmur.ice ?
    I am getting this error in my apache error logs: PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\xampp\\php\\ext\\php_ice.dll' - The specified module could not be found.\r\n in Unknown on line 0

    After doing that it also states:
    Now start XAMMP and check the phpinfo().
    What should I be looking for in phpinfo() ?
    I did a search of Ice in the phpinfo() after restarting apache and could not find anything.
    I have attached a .zip with my php.ini inside.


    I posted over @ sourceforge also but was hoping maybe to get some help here.
    Thanks
    Attached Files Attached Files
    Last edited by KevinD; 06-28-2010 at 02:24 PM.

  2. #2
    KevinD is offline Registered User
    Name: Kevin Dixon
    Organization: usmcclan2.com
    Project: Intergrating Ice with XAMPP
    Join Date
    Jun 2010
    Posts
    5
    What would I type in the cmd prompt to see if Ice is part of a users environment?

    Ice is installed @:
    C:\Program Files (x86)\ZeroC\Ice-3.4.1

    I am extremely new to all this, so thanks for any help. And as for the OP, i did not get any response from SourceForge. Maybe even a hint or 2 to get me on the right track would be great.

    Thanks again

  3. #3
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,611
    Hi,

    I'm not familiar with Mumble but this error indicates that either the php_ice.dll couldn't be found (is it correctly copied in the <your_path>\xampplite\php\ext directory?) or that one of the php_ice.dll dependency can't be loaded/found.

    The Ice installer doesn't modify the environment, it doesn't add its bin directory to the PATH for example... so did you correctly followed the Mumble instructions and changed your system PATH to add the Ice bin directory? Does executing slice2php from a command prompt works without having to modify the PATH environment variable?

    Cheers
    Benoit.

  4. #4
    KevinD is offline Registered User
    Name: Kevin Dixon
    Organization: usmcclan2.com
    Project: Intergrating Ice with XAMPP
    Join Date
    Jun 2010
    Posts
    5
    Hi Benoit, thanks for the reply.

    Yes, slice2php in cmd prompt works now. And i see Ice in my phpinfo().

    I am almost done figuring this thing out. I hope. I need some more info though.

    The scripts that i am using for accessing the Murmur Tree have:

    Code:
    Ice_loadProfile();
    And I am getting the fatal error of course for that:

    Code:
    Fatal error: Call to undefined function Ice_loadProfile()
    Just wondering how i can maybe get around that. From the documentation here:
    Ice - Mumble. In the section, How to setup Ice for PHP with XAMPP on Windows - or the right way to use Ice on Windows. The author shows how to setup a profile description on Debian etch with apache2, PHP as fcgid and cli. But nothing for Windows. And that is where i am stuck.

    I can upload the php scripts for you to view just let me know. Thanks again as i am very new to all this
    Cheers

  5. #5
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,594
    Hi,

    If the Mumble instructions say that you should use Ice_loadProfile with Ice 3.4.x, then the Mumble instructions are broken because that function was removed in Ice 3.4.

    Until the Mumble instructions are fixed, you're probably better off using Ice 3.3.1.

    Regards,
    Mark

  6. #6
    KevinD is offline Registered User
    Name: Kevin Dixon
    Organization: usmcclan2.com
    Project: Intergrating Ice with XAMPP
    Join Date
    Jun 2010
    Posts
    5
    Hi,

    Thanks mes for the reply. If I use 3.3.1, im pretty sure that has a earlier version on php (5.2.6) and xammp has php 5.3.1 . So, I am assuming it will not be compatible? Correct?

  7. #7
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,594
    If you must use Ice 3.4, you should review the PHP setup instructions that are provided in the README.txt file included in the Ice binary distribution for Windows. You can find this file in your Ice installation directory.

    We can try to help you get Ice for PHP (version 3.4.1) running, but you'll need to look elsewhere for help with any Murmur/Mumble issues.

    Regards,
    Mark

  8. #8
    KevinD is offline Registered User
    Name: Kevin Dixon
    Organization: usmcclan2.com
    Project: Intergrating Ice with XAMPP
    Join Date
    Jun 2010
    Posts
    5
    Ok thanks Mark,

    Doing some more testing with the script, I get this:

    Code:
    Fatal error  Uncaught exception 'RuntimeException' with message 'no definition found for class or interface ::Murmur::Meta' in C:\xampp\htdocs\mum\index.php:20
    Stack trace:
    #0 C:\xampp\htdocs\mum\index.php(20): Ice_ObjectPrx-&gt;ice_checkedCast('::Murmur::Meta')
    #1 {main}
      thrown in C:\xampp\htdocs\mum\index.php on line 20
    And here is line 19 and 20 of the script:

    19) $base = $communicator->stringToProxy("Meta:tcp -h 127.0.0.1 -p 6502");
    20) $meta = $base->ice_checkedCast("::Murmur::Meta");
    If its a Mumble/Murmur issue just let me know.

    Regards,
    Kevin

  9. #9
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,594
    As of version 3.4, Ice for PHP uses static translation, meaning you must generate PHP code from all of your Slice files using slice2php. In other words, any Slice files that you would have loaded via Ice_loadSlice in previous versions of Ice must now be compiled statically. Furthermore, you must install the generated code somewhere that your PHP scripts can include it.

    Regards,
    Mark

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 03-28-2011, 11:10 AM
  2. how can i use Murmur icesecure
    By oVi in forum Help Center
    Replies: 6
    Last Post: 05-05-2010, 07:22 PM
  3. running murmur-ice thru glacier2
    By oVi in forum Help Center
    Replies: 1
    Last Post: 08-14-2009, 07:22 PM
  4. Help installing ice for php5
    By Kami in forum Help Center
    Replies: 2
    Last Post: 04-08-2009, 05:53 PM
  5. Mumble
    By trivian in forum Projects
    Replies: 4
    Last Post: 09-27-2008, 06:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •