tnarnold / wine-launcher-creator

Automatically exported from code.google.com/p/wine-launcher-creator
1 stars 2 forks source link

ln: failed to create symbolic link ‘/usr/share/nautilus-scripts/Wine Launcher Creator’: No such file or directory #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
 1. Run from OpenSUSE 12.2 x64
 2. make install

What is the expected output? What do you see instead?
Expect to see:
 neptune:/home/install/linux/wine-launcher-creator # make install
 mkdir -p /usr/local//bin/
 mkdir -p /usr/local//share/wlcreator/
 install -m 0755 wlcreator.py /usr/local//bin/
 ln -s /usr/local//bin/wlcreator.py /usr/share/nautilus-scripts/Wine\ Launcher\ Creator
 install -m 0644 NoInternet.txt /usr/local//share/wlcreator/
 install -m 0644 Readme.txt /usr/local//share/wlcreator/
 install -m 0644 gpl.txt /usr/local//share/wlcreator/
 install -m 0644 wlcaction.xml /usr/local//share/wlcreator/
 install -m 0644 wlcreatorGnome.desktop /usr/local//share/wlcreator/
 install -m 0644 wlcreatorKDE.desktop /usr/local//share/wlcreator/
 install -m 0644 wlcreator.desktop /usr/share/applications/

Instead I see:
 neptune:/home/install/linux/wine-launcher-creator # make install
 mkdir -p /usr/local//bin/
 mkdir -p /usr/local//share/wlcreator/
 install -m 0755 wlcreator.py /usr/local//bin/
 ln -s /usr/local//bin/wlcreator.py /usr/share/nautilus-scripts/Wine\ Launcher\ Creator 
 ln: failed to create symbolic link ‘/usr/share/nautilus-scripts/Wine Launcher Creator’: No such file or directory
 make: *** [install] Error 1

What version of the product are you using? On what operating system?
1.0.5 on Linux OpenSUSE 12.2 x64

Please provide any additional information below.

  The work around is to create the missing directory:

  mkdir /usr/share/nautilus-scripts

Install script should probably test for this directory and create it if it 
doesn't exist.

Original issue reported on code.google.com by mjun...@gmail.com on 21 Sep 2012 at 10:08

GoogleCodeExporter commented 9 years ago
Thanks for report. I actually never tested this on kde-only environment.

mkdir -p /usr/share/nautilus-scripts

should take care of missing directory. You could put it after last "mkdir -p" 
in Makefile's install rule. I'll put this in next revision.

As a sidenote, checkinstall has the ability to create RPM packages too, but I 
didn't tested it. Could you maybe check if

make deb

actually makes rpm package on OpenSUSE?

Original comment by zza...@gmail.com on 22 Sep 2012 at 9:04

GoogleCodeExporter commented 9 years ago

Original comment by zza...@gmail.com on 22 Sep 2012 at 9:10

GoogleCodeExporter commented 9 years ago

Original comment by zza...@gmail.com on 29 Jul 2013 at 5:37

GoogleCodeExporter commented 9 years ago
This issue should be solved.

Original comment by zza...@gmail.com on 29 Jul 2013 at 5:39

GoogleCodeExporter commented 9 years ago

Original comment by zza...@gmail.com on 29 Jul 2013 at 5:41