this was just published yesterday if it helps. I often use 3rd party PPA's to install software I need rather than compile from source but will resort to that if I can't get what I need installed.
http://www.ubuntugeek.com/how-to-install-swftools-in-ubuntu-12-0411-10-using-ppa.html On Fri, May 25, 2012 at 10:01 AM, Stephen Cottham < [email protected]> wrote: > Ok tested on clean Ubuntu and the same error occurs now, I don’t > understand that at all because I didn’t need to do anything different the > first time round yet now it fails, the only thing I left out of this new > build was installing Open Office and Java, I just skipped straight to the > SWFTools install.**** > > ** ** > > I can confirm that removing the –o and –L from the swfs/Makefile allows it > to complete.**** > > ** ** > > Cheers**** > > ** ** > > ** ** > > ** ** > > ** ** > > ** ** > > ** ** > > *From:* Stephen Cottham [mailto:[email protected]] > *Sent:* 25 May 2012 14:27 > > *To:* [email protected] > *Subject:* RE: compiling swftools in Debian and Ubuntu**** > > ** ** > > Hey George,**** > > ** ** > > This also fails on a fresh build of Debian, like you if I just edited the > file /swf/Makefile and removed the –o and –L it continues and installs.*** > * > > ** ** > > I’ll have to try the Ubuntu again later but this was working yesterday so > im somewhat confused if that also now fails.**** > > ** ** > > Either way it does seem like an issue with the installation package.**** > > ** ** > > Cheers**** > > ** ** > > ** ** > > ** ** > > *From:* Stephen Cottham [mailto:[email protected]] > *Sent:* 25 May 2012 13:52 > *To:* [email protected] > *Subject:* RE: compiling swftools in Debian and Ubuntu**** > > ** ** > > Hey George**** > > ** ** > > I can confirm that Debian Squeeze also failed but I had success with > Ubuntu.**** > > ** ** > > I’ll build two new fresh ones and confirm both for you.**** > > ** ** > > Cheers**** > > ** ** > > ** ** > > ** ** > > ** ** > > ** ** > > *From:* George Kirkham [mailto:[email protected] (Exchange)] > *Sent:* 25 May 2012 13:49 > *To:* [email protected] > *Subject:* RE: compiling swftools in Debian and Ubuntu**** > > ** ** > > Stephen, > > Thanks for doing a test for me. Debian Squeeze I guess? It will be a > while before I can build a clean debian and test again, but if the below > works for you, I will have to test again for me. > > Thanks,**** > > *George Kirkham** ***** > > > > > At Friday, 25/05/2012 on 10:44 pm Stephen Cottham wrote:**** > > Hi George,**** > > **** > > The way I sent you the other day worked fine for me multiple times on the > Ubuntu system, no need to manipulate the make file, this is curious that > you had to. (I’ll test Debian right now)**** > > **** > > *cd /usr/adm***** > > *wget http://www.swftools.org/swftools-0.9.2.tar.gz***** > > *tar -zxvf swftools-0.9.2.tar.gz***** > > *cd swftools-0.9.2***** > > *./configure***** > > *make ***** > > *make install***** > > Once that has completed you can now test it by issuing the following:**** > > *pdf2swf –version***** > > Which should give you the following output:**** > > *pdf2swf - part of swftools 0.9.2***** > > **** > > This is on a fresh install following the guide thou, was this a pre-built > machine you had been using?**** > > > Cheers**** > > **** > > **** > > **** > > **** > > *Stephen Cottham > *Group IT Manager (Associate) > > Robert Bird Group > Level 5, 333 Ann St > Brisbane, Queensland, 4000, Australia**** > > *Phone: +6173 319 2777 (AUS)***** > > *Phone: +44207 592 8000 (UK)***** > > *Fax: +6173 319 2799***** > > **** > > *Mobile: +61400 756 963 (AUS)***** > > *Mobile: +447900 918 616 (UK)***** > > *Web: **www.robertbird.com* <http://www.robertbird.com/>**** > > <http://www.robertbird.com.au/> > > This email and any attachments are confidential and may contain legally > privileged information or copyright material. Unless expressly stated, > confidentiality and/or legal privilege is not intended to be waived by the > sending of this email. The contents of this email, including any > attachments, are intended solely for the use of the individual or entity to > whom they are addressed. If you are not an intended recipient, please > contact us immediately by return email and then delete both messages. You > may not otherwise read, forward, copy, use or disclose this email or any > attachments. Any views expressed in this email are those of the individual > sender except where the sender expressly, and with authority, states > otherwise. It is your responsibility to check any attachments for viruses > or defects before opening or sending them on. None of the sender or its > related entities accepts any liability for any consequential damage > resulting from this email containing computer viruses. **** > > **** > > > Disclaimer added by *CodeTwo Exchange Rules* > www.codetwo.com**** > > ** ** > > *From:* George Kirkham [mailto:[email protected] (Exchange)] > *Sent:* 25 May 2012 13:40 > *To:* [email protected] > *Subject:* compiling swftools in Debian and Ubuntu**** > > **** > > Hi, <[email protected]> > > Looking for anyone who has experience with compiling SWF Tools, and who > could comment on the following statements of mine. > > I have been looking for a way to compile/install the latest version of > SWF Tools in both Debian and Ubuntu. > > My attempts in both fail with errors, however I have found a way in > Debian, by manually changing (I believe correcting) the swftools make > script. > > What I would like to know is, "Is the SWF Tools package have a fault and > is creating an incorrect script for Debian installations?" > > Here is what I have found. > > I ran the following steps and then got the below error message; > > ./configure >../swfconfigure.log 2>&1 > make >../debswfmake.log 2>&1 > make install >../debswfinst.log > > The "make install" generated the following error message and then stopped. > rm -f /usr/local/share/swftools/swfs/default_viewer.swf -o -L > /usr/local/share/swftools/swfs/default_viewer.swf > rm: invalid option -- 'o' > Try `rm --help' for more information. > make[1]: *** [install] Error 1 > make[1]: Leaving directory `/usr/adm/swftools/swftools-0.9.2/swfs' > make: *** [install] Error 2 > > Using the below search line, I located the files swfs/Make and swfs/Make.in > find . -type f -name "*.*" -print0 | xargs -0 -e grep -nH -e > "default_viewer.swf" > > In these files were the lines; > rm -f $(pkgdatadir)/swfs/default_viewer.swf -o -L > $(pkgdatadir)/swfs/default_viewer.swf > $(LN_S) $(pkgdatadir)/swfs/simple_viewer.swf > $(pkgdatadir)/swfs/default_viewer.swf > rm -f $(pkgdatadir)/swfs/default_loader.swf -o -L > $(pkgdatadir)/swfs/default_loader.swf > $(LN_S) $(pkgdatadir)/swfs/tessel_loader.swf > $(pkgdatadir)/swfs/default_loader.swf > > As this is the first time that I have installed SWF Tools, there cannot be > a file called "$(pkgdatadir)/swfs/default_viewer.swf", that is the file > "/usr/local/share/swftools/swfs/default_viewer.swf", and maybe this is the > only error in the script? > > However reading the Debian man pages, I cannot find any "-o -L" > parameters, so is the rest of this line also incorrect, or is there more > happening here than the man pages explain? > > If I remove the two lines which will cause the script to stop, and then > run "make install", the script runs without errors and swftools is > correctly installed. > > /usr/adm/swftools/swftools-0.9.2# pdf2swf --version > pdf2swf - part of swftools 0.9.2 > > At this point I am happy that the installation works well, but I am not > happy in that I believe there is an error in the SWF Tools installation > package, and believe that the SWF Tools team should fix this. > > I also have tested the below line after the default_viewer.swf link > (pointing to simple_viewer.swf) was installed and so existed, and the rm > command still fails as "-o -L" in invalid in Debian (or so I believe). > rm -f /usr/local/share/swftools/swfs/default_viewer.swf -o -L > /usr/local/share/swftools/swfs/default_viewer.swf**** >
<<image002.png>>
<<image001.gif>>
