SourceForge has been redesigned. Learn more.
Close

#4 make install: error if ../usr/bin is missing

v1.1
closed-fixed
Mike W.
None
5
2015-01-10
2007-10-29
Werner Hoch
No

Hi Mike and all,

If there's no /usr/bin directory present, make install will copy gspiceui to /usr/bin.

This happens when building in an chroot environment.

Workaround: create the directory

------------
[...]
cp gspiceui.1 /var/tmp/gspiceui-0.9.55-0-root/usr/share/man/man1
cd /usr/src/packages/BUILD/gspiceui-v0.9.55/src ; make install INSTALLDIR=/var/tmp/gspiceui-0.9.55-0-root/usr
make[1]: Entering directory `/usr/src/packages/BUILD/gspiceui-v0.9.55/src'
cp ../bin/gspiceui /var/tmp/gspiceui-0.9.55-0-root/usr/bin
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
make[1]: Leaving directory `/usr/src/packages/BUILD/gspiceui-v0.9.55/src'
cd /usr/src/packages/BUILD/gspiceui-v0.9.55/html ; make install INSTALLDIR=/var/tmp/gspiceui-0.9.55-0-root/usr
[...]
------------

Regards
Werner

Discussion

  • Mike W.

    Mike W. - 2015-01-09
    • assigned_to: Mike W.
    • Group: --> v1.1
     
  • Mike W.

    Mike W. - 2015-01-10
    • status: open --> closed-fixed
     
  • Mike W.

    Mike W. - 2015-01-10

    In the install phase if the a bin/ directory does not exist in the destination directory the gSpiceUI Makefile creates one.

    I'm generally not a big fan of creating directories like bin/ because it's hard to decide whether to delete them when uninstall is required. It annoys me when applications leave artifacts when I delete them so I feel like a hypocrite.

     

Log in to post a comment.