I installed fourth times and still have this error: "Cannot run program " /usr/swftools-2010-02-06-1900/ src/pdf2swf": java.io.IOException: error=2"
I filled below informations in installation progress. Is it right? SWFTools: /usr/swftools-2010-02-06-1900/src FFMPEG: /usr/ffmpeg Sox: /usr/sox-14.3.0/src ImageMagick: /usr/ImageMagick-6.5.9-10 On Mar 25, 2:20 pm, phamvinhduy <[email protected]> wrote: > Yes, I found sox couldn't detect ffmpeg when I installed ffmpeg at / > usr/ffmpeg. > > How can I solve this problem? > > Could you help me, Lee ? > > On Mar 23, 12:11 am, "Lee Archer" <[email protected]> wrote: > > > Imagemagick form the repo I found didn't work very well and gave me errors. > > I also found that sox wouldn't detect ffmpeg unless I installed ffmpeg to > > /usr/bin. > > > Lee > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On Behalf Of phamvinhduy > > Sent: 22 March 2010 17:08 > > To: OpenMeetings User > > Subject: Re: Upload and convert file --> Errors > > > Here is my steps > > > Step 1: Install java > > Go to: http://java.com/en/download/linux_manual.jsp. Download > > jre-6u18-linux-x64rpm.bin and jdk-6u18-linux-x64.rpm.bin > > mkdir /usr/java > > mv jre-6u18-linux-x64rpm.bin jdk-6u18-linux-x64.rpm.bin /usr/java > > ./jre-6u18-linux-x64-rpm.bin. Type "yes" to install > > ./jdk-6u18-linux-x64-rpm.bin. Type "yes" to install > > Open /etc/bashrc and add this line at the end: export JAVA_HOME=/usr/ > > java/jdk1.6.0_18/bin > > > Step 2: Install MySQL > > yum -y install mysql mysql-server mysql-devel de cai dat MySQL > > service mysqld start > > mysqladmin -u root password "newpassword" <-- change admin password > > > vi /etc/my.cnf. Add 3 line in [mysqld] section: > > bind-address=SERVER-IP > > default-character-set=utf8 > > character-set-server=utf8 > > > service mysqld restart > > netstat -an to check listening on 3306 port > > > Step 3: Install OpenOffice > > yum -y install openoffice* > > Create /etc/init.d/soffice with below content: > > #!/bin/bash > > # chkconfig: 345 20 80 > > # description: init.d script for headless openoffice.org (2.3+ for > > RHEL5 32bit) > > # > > # processname: soffice > > # > > # source function library > > . /etc/rc.d/init.d/functions > > > RETVAL=0 > > SOFFICE_PATH='/usr/lib64/openoffice.org/program' > > SOFFICE_ARGS='-accept="socket,host=localhost,port=8100;urp" -headless' > > SOFFICE_PIDFILE=/var/run/soffice.bin.pid > > > start_soffice() { > > echo -n $"Starting OpenOffice.org" > > daemon $SOFFICE_PATH/soffice.bin $SOFFICE_ARGS & > > [ $? -eq 0 ] && echo_success || echo_failure > > pidof soffice.bin > $SOFFICE_PIDFILE > > echo > > } > > start() { > > start_soffice > > } > > stop() { > > echo -n $"Stopping OpenOffice" > > killproc soffice.bin > > echo > > } > > case "$1" in > > start) > > start > > ;; > > stop) > > stop > > ;; > > restart) > > stop > > start > > ;; > > *) > > echo $"Usage: $0 {start|stop|restart}" > > esac > > > $ chmod +x /etc/init.d/soffice > > $ chkconfig --add soffice > > $ chkconfig soffice on > > $ service soffice start > > > Step 4: Install ImageMagick > > yum -y install ImageMagick > > > Step 5: install SWFTools > > yum install freetype-devel > > yum install libjpeg-devel > > yum install giflib-devel > > yum installl gcc gcc-c++ > > > Download swftools 0.9.0 package fromhttp://www.swftools.org/download.html > > tar -zvxf swftools-0.x.x.tar > > cd swftools-0.x.x > > ./configure > > make > > make install > > > Step 6: Install lame > > Download lame package from :http://sourceforge.net/projects/lame/files/ > > (lame-397.tar.gz) > > tar xvzf lame-397.tar.gz > > cd lame-397 > > ./configure > > make > > make install > > > Step 7: Install FFmpeg > > yum install subversion > > svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg > > cd ffmpeg > > ./configure --enable-libmp3lame > > make > > make install > > > Add /usr/local/lib to "/etc/ld.so.conf". Then, type ldconfig > > > Step 8: Install Sox > > yum -y install amrnb-devel amrwb-devel speex-devel libid3tag-devel > > libmad-devel libvorbis-devel sox-devel ladspa-devel faac-devel faad2- > > devel wavpack-devel libsndfile-devel > > wgethttp://sourceforge.net/projects/sox/files/sox/14.3.0/sox-14.3.0.tar.g... > > tar xzvf sox-14.3.0.tar.gz > > ./configure > > make -s && make install > > > Step 10: Install Openmeeting like guide at this google groups > > > Give me some advides? > > > Thnaks a lot > > > On Mar 22, 11:48 pm, "Lee Archer" <[email protected]> wrote: > > > My build process for CentOS 5.4 is as follows and has worked each time I > > > have installed it which is why I have documented it should I need to do > > > it again. I had to piece to together from several sources and also many > > > reinstalls to get it right. Recording should also work fully. > > > > Server > > > > *Development > > > Development Libraries > > > Development Tools > > > > *Servers > > > MySQL Database > > > > *Base System > > > No Dialup Networking Support > > > Java > > > > *Firewall configuration > > > Security Level: Disabled > > > SELinux: Disabled > > > > *System services > > > OFF > > > apmd > > > auditd > > > autofs > > > avahi-daemon > > > bluetooth > > > cpuspeed > > > cups > > > firstboot > > > gpm > > > hidd > > > ip6tables > > > iptables > > > irqbalance > > > mcstrans > > > mdmonitor > > > microcode_ctl > > > netfs > > > nfslock > > > pcscd > > > portmap > > > restorecond > > > rpcidmapd > > > rpcsvcgssd > > > sendmail > > > smartd > > > xfs > > > yum-updatesd > > > > yum update > > > > *Only required if pre-installed > > > rpm -e ImageMagick-6.2.8.0-4.el5_1.1 > > > rpm -e --nodeps sox-12.18.1-1 > > > > *mysql > > > default-character-set=utf8 > > > character-set-server=utf8 > > > chkconfig mysqld on > > > service mysqld start > > > > rpm > > > -Uhvhttp://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.... > > > > vi /etc/rc.local > > > /usr/lib/openoffice.org/program/soffice > > > "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" > > > -nologo -headless -nofirststartwizard & > > > > yum install freetype freetype-devel fontconfig fontconfig-devel > > > java-1.6.0-openjdk-devel libtiff libtiff-devel libjpeg-devel libjpeg > > > giflib giflib-devel libpaper libpaper-devel xml-commons-apis libpng > > > libpng-devel libxml2 libxml2-devel fftw3 fftw3-devel cairo cairo-devel > > > flac flac-devel wavpack wavpack-devel libsndfile libsndfile-devel > > > ghostscript ghostscript-devel ghostscript-fonts > > > > yum groupinstall 'Office/Productivity' > > > yum install openoffice.org-headless > > > > *lame > > > wgethttp://downloads.sourceforge.net/project/lame/lame/3.98.3/lame-3.98.3... > > > ./configure --prefix=/usr > > > make all > > > make install > > > > *swftools > > > wgethttp://www.swftools.org/swftools-0.9.0.tar.gz > > > ./configure --prefix=/usr > > > make all > > > make install > > > > *imagemagick > > > wgetftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.5.9-10.tar.gz > > > ./configure --prefix=/usr > > > make all > > > make install > > > > *ffmpeg > > > svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg > > > ./configure --enable-libmp3lame --enable-postproc --enable-gpl > > > --enable-pthreads --enable-avfilter --prefix=/usr > > > make all > > > make install > > > > *sox > > > wgethttp://downloads.sourceforge.net/project/sox/sox/14.3.0/sox-14.3.0.ta... > > > ./configure --prefix=/usr > > > make all > > > make install > > > > ldconfig -vvvvvv > > > > *openmeetings > > > wgethttp://i4demo.com/openmeetings/builds/131/openmeetings_r3130.zip > > > mkdir /usr/src/om > > > cd /usr/src/om > > > unzip /usr/src/openmeetings_r3130.zip > > > > cd /usr/src/om/webapps/openmeetings/conf > > > cp mysql_hibernate.cfg.xml hibernate.cfg.xml > > > cd /usr/src/om > > > sh ./red5.sh > > > >http://XXX.XXX.XXX.XXX:5080/openmeetings/install > > > > Regards > > > > Lee > > > > -----Original Message----- > > > From: [email protected] > > > [mailto:[email protected]] On Behalf Of phamvinhduy > > > Sent: 22 March 2010 16:32 > > > To: OpenMeetings User > > > Subject: Re: Upload and convert file --> Errors > > > > For me, it has worked fine 3 times. But, it's fail at this time. I > > > found someone also have same > > > question:http://www.mail-archive.com/[email protected]/msg0440... > > > > Maybe, I'll try to install it again and again > > > > On Mar 22, 11:27 pm, "Lee Archer" <[email protected]> wrote: > > > > I have it working fine on CentOS 5.4. Did you make install pdf2swf? I > > > > also found that I needed to manually build imagemagick, ffmpeg and sox. > > > > If you have done a make install go into the Admin > Config and specify > > > > the proper paths. > > > > > Lee > > > > > -----Original Message----- > > > > From: [email protected] > > > > [mailto:[email protected]] On Behalf Of phamvinhduy > > > > Sent: 22 March 2010 16:23 > > > > To: OpenMeetings User > > > > Subject: Re: Upload and convert file --> Errors > > > > > My OS is Centos 5.3. I installed swftools > > > > > Could you give me some advice? > > > > > On Mar 22, 11:10 pm, "Lee Archer" <[email protected]> wrote: > > > > > What OS and > > > > > > Value: Cannot run program " /usr/local/src/swftools-2010-02-06-1900/ > > > > > src/pdf2swf": java.io.IOException: error=2, No such file or directory > > > > > > might be important. Did you not make install it? > > > > > > Lee > > > > > > -----Original Message----- > > > > > From: [email protected] > > > > > > [mailto:[email protected]] On Behalf Of phamvinhduy > > > > > Sent: 22 March 2010 16:08 > > > > > To: OpenMeetings User > > > > > Subject: Upload and convert file --> Errors > > > > > > I upload DOC, XLS file, it shows below errors: > > > > > > Name: exitValue > > > > > Value: 0 > > > > > Name: command > > > > > Value: [java, -cp, "/usr/local/red5/webapps/openmeetings/jod/commons- > > > > > cli-1.2.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/commons- > > > > > io-1.4.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/ > > > > > jodconverter-2.2.2.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/ > > > > > jodconverter-cli-2.2.2.jar" -cp "/usr/local/red5/webapps/openmeetings/ > > > > > jod/juh-3.0.1.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/ > > > > > jurt-3.0.1.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/ > > > > > ridl-3.0.1.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/slf4j- > > > > > api-1.5.6.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/slf4j- > > > > > jdk14-1.5.6.jar" -cp > > ... > > read more » -- You received this message because you are subscribed to the Google Groups "OpenMeetings User" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.
