[Top][All Lists]

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

[Swftools-common] Problems with 'make install'

From: Richard Wilbur
Subject: [Swftools-common] Problems with 'make install'
Date: Sun, 22 Jun 2014 23:33:04 -0600

Greetings All,

I just downloaded the source tarball, swftools-0.9.2.tgz, so I could
build on Ubuntu 12.04 (since it isn't in the repositories):

wget http://www.swftools.org/swftools-0.9.2.tar.gz
cd ~/src
tar -zvxf ~/Downloads/swftools-0.9.2.tgz
cd ~/src/swftools-0.9.2/
sudo make install

Since I already had libjpeg8 and freetype installed, I didn't have any
problem till the end of 'make install' where the makefile invokes 'rm'
with some options that my 'rm' doesn't care for:

rm -f /usr/local/share/swftools/swfs/default_viewer.swf -o -L
rm: invalid option -- 'o'
Try `rm --help' for more information.
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/rwilbur/src/swftools-0.9.2/swfs'
make: *** [install] Error 2

address@hidden:~/src/swftools-0.9.2$ rm --version
rm (GNU coreutils) 8.13
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Paul Rubin, David MacKenzie, Richard M. Stallman,
and Jim Meyering.

I made two small changes to the swfs/Makefile that allowed the
installation to succeed:

        $(mkinstalldirs) $(pkgdatadir)
        $(mkinstalldirs) $(pkgdatadir)/swfs
        $(INSTALL_DATA) ./simple_viewer.swf $(pkgdatadir)/swfs/simple_viewer.swf
        $(INSTALL_DATA) ./keyboard_viewer.swf
    $(INSTALL_DATA) ./PreLoaderTemplate.swf
        $(INSTALL_DATA) ./tessel_loader.swf $(pkgdatadir)/swfs/tessel_loader.swf
    $(INSTALL_DATA) ./swft_loader.swf $(pkgdatadir)/swfs/swft_loader.swf
-        rm -f $(pkgdatadir)/swfs/default_viewer.swf -o -L
+        rm -f $(pkgdatadir)/swfs/default_viewer.swf #-o -L
    $(LN_S) $(pkgdatadir)/swfs/simple_viewer.swf
-        rm -f $(pkgdatadir)/swfs/default_loader.swf -o -L
+        rm -f $(pkgdatadir)/swfs/default_loader.swf #-o -L
    $(LN_S) $(pkgdatadir)/swfs/tessel_loader.swf

Which version of 'rm' was this written for?  The installed version on
my machine (8.13) doesn't have any documentation for options '-o' or


reply via email to

[Prev in Thread] Current Thread [Next in Thread]