nixdisciple |
07-04-2002 11:55 AM |
Installing Gnomemeeting
I'm not sure how many of you guys have used gnomemeeting but i would really like your help on this. Considering the amount of my friends that are still using windows is gnomemeeting the only client right now that one can use to interact with others via webcam one/two way?
Also i noticed there was a automated script for those that are lazy on the FAQ of the gnomemeeting website how does this work exactly?
If possible i would really appreciate it if someone could help me out here and let me know what is needed for this installation to be completed and to get gnome meeting up and running.
Below is the automated script that was included in the FAQ............
Code:
#!/bin/sh
#######################################################################
#
# Build v1.2
# Little scipt to get GnomeMeeting and all his components compiled
# from scratch
# Author Paul (Paul666@mailandnews.com)
# Revised by Rafael Pinilla (r_pinilla@yahoo.com)
#
#######################################################################
# OH323: name of the last release of the OpenH323 tar.gz archive
OH323=openh323_1.8.0.tar.gz
# PWLIB: name of the last release of working PWLIB tar.gz archive
PWLIB=pwlib_1.2.5-patched.tar.gz
# PWVER: PWlib version, usefull when making symlinks
PWVER=1.2.5
# Define the GMMODE variable. How to grab GnomeMeeting sources ?
# Stand for: GMMODE=CVS to grab it from CVS
# GMMODE=TGZ to grab it from tar.gz file, but then, you must
# define the GMSRC (Name of the archive)
# and GMHTTP (Where to grab it)
# GMMODE can have one of 2 values: TGZ for classic grabing
# CVS for cvs grabing
GMMODE=TGZ
GMSRC=GnomeMeeting-0.12.2.tar.gz
# When plain old tar.gz release is choosen, the name of the gnomeMeeting
# directory is GnomeMeeting-X.Y.Z
GMDIR=GnomeMeeting-0.12.2
# Where wget should get the tar.gz GnomeMeeting sources
GMHTTP=http://www.gnomemeeting.org/downloads/latest/sources/
# Name of the CVS directory. Used to get it and to use it localy
CVSDIR=gnomemeeting
# gnome cvs public coordinates
CVSROOT=':pserver:anonymous@anoncvs.gnome.org:/cvs/gnome'
# OpenH323 http source
OHTTP=http://www.openh323.org/bin
# PWlib http source
PWHTTP=http://www.gnomemeeting.org/downloads/latest/sources/
# Where will be the libs in your system ?
LIBDIR=/usr/lib
# So, what release of gcc have you ?
# 'gcc -v' to know it.
# Under my system, gcc is a symlink to gcc-2.95
# but I can use 'gcc-3.0' instead
CC=gcc-2.95
export PWLIBDIR=`pwd`/pwlib
export OPENH323DIR=`pwd`/openh323
export OH323
export OHHTTP
export PWLIB
export PWVER
export PWHTTP
export GMMODE
export GMSRC
export GMDIR
export GMHTTP
export CVSDIR
export CVSROOT
export LIBDIR
export CC
#Get downloadable sources
echo " "
echo " "
echo "###############################################################"
echo "# #"
echo "# Starting GnomeMeeting compile from scratch #"
echo "# #"
echo "###############################################################"
echo " "
echo " "
[ -f $OH323 ] || { wget $OHTTP/$OH323
echo " "
echo "###############################"
echo "End of wget OpenH323"
echo "###############################"
echo " "
}
[ -f $PWLIB ] || { wget $PWHTTP/$PWLIB
echo " "
echo "###############################"
echo "End of wget H323"
echo "###############################"
echo " "
}
# Get cvs sources
# http://developer.gnome.org/tools/cvs.html
if [ $GMMODE = "CVS" ]; then
[ -d $CVSDIR ] || {
echo Press return when prompted
cvs -d$CVSROOT login
cvs -d$CVSROOT -z3 co $CVSDIR
(cd $CVSDIR; cvs -z3 update)
echo " "
echo "#########################################"
echo " End of GnomeMeeting cvs update"
echo "#########################################"
echo " "
}
else
[ -f $GMSRC ] || { wget $GMHTTP/$GMSRC
echo " "
echo "########################################"
echo " End of GnomeMeeting wget"
echo "########################################"
echo " "
}
fi
#Compile pwlib
[ -d $PWLIBDIR ] || tar xzvf $PWLIB
(
export PWLIBDIR=`pwd`/pwlib
cd $PWLIBDIR
#make both
make opt
make both
echo " "
echo "###############################"
echo " End of pwlib build"
echo "###############################"
echo " "
# Dirty style
# cp -dv $PWLIBDIR/lib/*so* $LIBDIR
# ln -s $LIBDIR/libpt_linux_x86_r.so.1.2.5 $LIBDIR/libpt.so
cd lib
# Clean way to do it
LIBNAME=`ls -l libpt_linux_x86_r.so|sed 's/.*-> //'`
echo " "
echo $LIBNAME
echo " "
echo Enter root password if prompted
su root -c "tar cfv - libpt*.so*|(cd $LIBDIR;tar xf -;ln -sf $LIBNAME libpt.so)"
)
# Compile openh323
[ -d $OPENH323DIR ] || tar xzvf $OH323
(
cd $OPENH323DIR
make opt
make all
echo "###############################"
echo " End of OpenH323 Build"
echo "###############################"
cd lib
LIBNAME=`ls -l libh323_linux_x86_r.so|sed 's/.*-> //'`
echo "###########" $LIBNAME
echo Enter root password if prompted
su root -c "tar cfv - libh323*.so*|(cd $LIBDIR;tar xf -;ln -sf $LIBNAME liboh323.so)"
)
echo " "
echo "######################################"
echo " Looking for updated libs..."
echo " "
echo enterr root password if prompted
su root -c "grep -q $LIBDIR /etc/ld.so.conf || echo $LIBDIR >> /etc/ld.so.conf; ldconfig -v |egrep 'libh323|libpt' "
# First, extract tar.gz if TGZ is choosen
if [ $GMMODE = "TGZ" ]; then
{
[ -d $GMDIR ] || tar zxvf $GMSRC
cd $GMDIR
rm -f config.h
}
else
cd $CVSDIR
fi
pwd
# Compile gnomemeeting
(
[ -f configure ] || ./autogen.sh
[ -f config.h ] || ./configure \
--with-ptlib-includes=$PWLIBDIR/include/ptlib \
--with-ptlib-libs=$LIBDIR \
--with-openh323-libs=$LIBDIR \
--with-openh323-includes=$OPENH323DIR/include \
--with-openssl-includes=/usr/include/openssl \
--bindir=/usr/
# cp -v /usr/include/ldap.h src
make
echo Enter root password if prompted
su root -c "make install"
)
|