Re: [GnomeMeeting-list]build script



I tried this script tonight, but with no success.

It connects and downloads the sources fine, but the script seems to remove 
paths altogether? Either that, or it sets a path with no executables.
I cant work out whats going on, but this is what happens:

[root beast gmbuild]# ./build
--18:55:49--  http://www.openh323.org/bin/openh323_1.7.2.tar.gz
           => `openh323_1.7.2.tar.gz'
Connecting to www.openh323.org:80... connected!
HTTP request sent, awaiting response... 200 OK
Length: 1,574,192 [application/x-tar]

18:56:09 (79.13 KB/s) - `openh323_1.7.2.tar.gz' saved [1574192/1574192]

--18:56:09--  http://www.openh323.org/bin/pwlib_1.2.4.tar.gz
           => `pwlib_1.2.4.tar.gz'
Connecting to www.openh323.org:80... connected!
HTTP request sent, awaiting response... 200 OK
Length: 759,433 [application/x-tar]


18:56:16 (118.81 KB/s) - `pwlib_1.2.4.tar.gz' saved [759433/759433]

./build:         echo: command not found
./build:         cvs: command not found
./build:         cvs: command not found
./build: cd: gnomemeeting: No such file or directory
cvs update: No CVSROOT specified!  Please use the `-d' option
cvs [update aborted]: or set the CVSROOT environment variable.
pwlib/
pwlib/CVS/
pwlib/CVS/Root
blahblah etc etc

./build:         cd: command not found
./build:         make: command not found
./build:         cd: command not found
ls: libpt_linux_x86_r.so: No such file or directory
./build:         LIBNAME=: command not found
./build:         echo: command not found
./build:         su: command not found
openh323/
openh323/CVS/
openh323/CVS/Root
blah blah etc etc

./build:         cd: command not found
./build:         make: command not found
./build:         cd: command not found
ls: libh323_linux_x86_r.so: No such file or directory
./build:         LIBNAME=: command not found
./build:         echo: command not found
./build:         su: command not found
Enter root password if prompted
./build:         cd: command not found
./build:         [: command not found
./build: ./autogen.sh: No such file or directory
./build:         [: command not found
./build: ./configure: No such file or directory
./build:         cp: command not found
./build:         make: command not found
./build:         echo: command not found
./build:         su: command not found
[root beast gmbuild]#


Where are all my commands hiding? ;-)
Can anyone help?



On Friday 09 November 2001 07:45, paul wrote:
> In case it's useful for anyone, here's a little script to
> build openh323 + pwlib + gnomemeeting from source. To use,
> create an empty directory with this script in it, let's say
> gm. cd gm;./build
>
> Not tested much, so be careful.
>
> Paul
>
> #!/bin/sh
> #OH323=openh323_1.7.3.tar.gz
> #1.7.3 doesn't seem to work for me
> OH323=openh323_1.7.2.tar.gz
> PWLIB=pwlib_1.2.4.tar.gz
>
> CVSDIR=gnomemeeting
> CVSROOT=':pserver:anonymous anoncvs gnome org:/cvs/gnome'
> OHTTP=http://www.openh323.org/bin
> LIBDIR=/usr/local/lib
>
> export PWLIBDIR=`pwd`/pwlib
> export OPENH323DIR=`pwd`/openh323
>
> # Get downloadable sources
>
> [ -f $OH323 ] || wget $OHTTP/$OH323
> [ -f $PWLIB ] || wget $OHTTP/$PWLIB
>
> # Get cvs sources
> # http://developer.gnome.org/tools/cvs.html
>
> [ -d $CVSDIR ] || {
> 	echo Press return when prompted
> 	cvs login
> 	cvs -z3 co $CVSDIR
> }
>
> (cd $CVSDIR; cvs -z3 update)
>
> # Compile pwlib
> [ -d $PWLIBDIR ] || tar xzvf $PWLIB
> (
> 	cd $PWLIBDIR
> 	make both
> 	cd lib
> 	LIBNAME=`ls -l libpt_linux_x86_r.so|sed 's/.*-> //'`
> 	echo Enter root password if prompted
> 	su root -c "tar cf - libpt*.so*|(cd $LIBDIR;tar xf -;ln -sf $LIBNAME
> libpt.so)" )
>
> # Compile openh323
> [ -d $OPENH323DIR ] || tar xzvf $OH323
> (
> 	cd $OPENH323DIR
> 	make opt
> 	cd lib
> 	LIBNAME=`ls -l libh323_linux_x86_r.so|sed 's/.*-> //'`
> 	echo Enter root password if prompted
> 	su root -c "tar cf - libh323*.so*|(cd $LIBDIR;tar xf -;ln -sf $LIBNAME
> liboh323.so)" )
>
> echo Enter root password if prompted
> su root -c "grep -q $LIBDIR /etc/ld.so.conf || echo $LIBDIR >>
> /etc/ld.so.conf; ldconfig"
>
> # Compile gnomemeeting
> (
> 	cd $CVSDIR
> 	[ -f configure ] || ./autogen.sh
> 	[ -f config.h ] || ./configure
> --with-ptlib-includes=$PWLIBDIR/include/ptlib \ --with-ptlib-libs=$LIBDIR 
> --with-openh323-libs=$LIBDIR
> 	cp /usr/include/ldap.h src
> 	make
> 	echo Enter root password if prompted
> 	su root -c "make install"
> )
>
>
>
> _______________________________________________
> Gnomemeeting-list mailing list
> Gnomemeeting-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnomemeeting-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]