xabertum / sopcast-player

Automatically exported from code.google.com/p/sopcast-player
0 stars 0 forks source link

bin/sopcast-player incorrect when "make install PREFIX=" is used #61

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If I install with "make install PREFIX=/some/prefix",
file /some/prefix/bin/sopcast-player is created as:

#!/bin/sh
/usr/bin/python /usr/share/sopcast-player/lib/sopcast-player.py $@

while it should be:

#!/bin/sh
/usr/bin/python /some/prefix/share/sopcast-player/lib/sopcast-player.py $@

Original issue reported on code.google.com by nerij...@gmail.com on 18 May 2011 at 10:09

GoogleCodeExporter commented 8 years ago
I have to admit that I really don't know what all the PREFIX= or DESTIDR= 
commands would be used for (not a packager). Please see if the attached file 
will meet your needs, if it will I will commit the changes and issue a release, 
if not please let me know and I will try to fix it, thanks.

Original comment by flyguy97 on 20 May 2011 at 10:15

Attachments:

GoogleCodeExporter commented 8 years ago
Not quite right - instead of
/usr/bin/python /usr/share/sopcast-player/lib/sopcast-player.py $@
the line becomes
/some/prefix/bin/python /some/prefix/share/sopcast-player/lib/sopcast-player.py 
$@

"/usr/bin/python" should be left as is in my case.

Original comment by nerij...@gmail.com on 23 May 2011 at 12:12

GoogleCodeExporter commented 8 years ago
I hope the attached works better.

Original comment by flyguy97 on 23 May 2011 at 5:32

Attachments:

GoogleCodeExporter commented 8 years ago
Seems to work OK in my case now, thanks!

BTW, this change of INSTALL file was incorrect:

-make
-make install PREFIX=/usr/local DESTDIR=my_destination_dir
+make PREFIX=/usr/local DESTDIR=my_destination_dir
+make install

make PREFIX does not work here, but make install PREFIX does.

Original comment by nerij...@gmail.com on 23 May 2011 at 7:47

GoogleCodeExporter commented 8 years ago
Thank you for noticing that. I will make the appropriate changes and push out a 
new release.

Original comment by flyguy97 on 24 May 2011 at 12:43

GoogleCodeExporter commented 8 years ago
sopcast player ı installed but it cant work help me pls ı did that u wrote 
here but it cant work pls help me 

Original comment by kraloyun...@gmail.com on 10 Mar 2012 at 10:23