Running OpenMCU (OpenH.323 conference server) under RH9/Fedora

by Marion Bates <mbates at>

Note: Apparently a minimum of 256MB is required for compilation under Fedora with the newer gcc. Other users suggest "make debug" if you have less that that. Or, skip to the bottom of this document and add more swap.

  1. Paste these lines into terminal before each compile step:
    export PWLIBDIR
    export OPENH323DIR
    export LD_LIBRARY_PATH
  2. Compile pwlib:
    untar under ~
    make both 
    sudo make install 
    I got some error messages during the make install, but as far as I can tell, it doesn't matter.

  3. Compile openh323:
    untar under ~
    make opt 
    sudo make install 
  4. Hack to make openmcu happy (it doesn't need this file, but it complains without it):
    touch ~/openh323/include/videoio.h
  5. Compile openmcu:
    untar under ~
    make opt 
    sudo make install
  6. Should be good to go. If you have trouble with openmcu, make sure that these files are all under /usr/local/lib:      
  7. Add /usr/local/lib to /etc/ if it's not already in there, then run /sbin/ldconfig
  8. Run openmcu with no args, it should spew some output and say "listening" on default port. To turn off the gatekeeper search (which delays startup a bit), run it as
    openmcu -n
    Run openmcu --help for more info.
  9. Connect to that IP address with client of your choice.

NOTE I have posted a SysV init script that works for me; YMMV. It's available here. Thanks for David Ethell <dethell _at_> for the skeleton script and command line arguments.

Aside: Adding swap (in this case, 256 more MB)

mkdir /var/swap
dd if=/dev/zero of=/var/swap/swapfile1 bs=1048576 count=256
mkswap /var/swap/swapfile1
swapon /var/swap/swapfile1
Add to /etc/fstab:
/var/swap/swapfile1		none	swap	sw