shana / paint-mono

Automatically exported from code.google.com/p/paint-mono
Other
22 stars 13 forks source link

make[2]: *** [pre-install-local-hook] Error 1 #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
> What steps will reproduce the problem?
1. ./configure
2. make
3. sudo make install

> What is the expected output? What do you see instead?
Excpected behavior is make install without errors, but actual behavior is
like this:

cp PaintDotNet.Strings*.resources /usr/local/lib/paintdotnet
cp ../bin/*/PaintDotNet.Strings.3.resources /usr/local/lib/paintdotnet
cp: will not overwrite just-created
`/usr/local/lib/paintdotnet/PaintDotNet.Strings.3.resources' with
`../bin/Release/PaintDotNet.Strings.3.resources'
make[2]: *** [pre-install-local-hook] Error 1
make[2]: Leaving directory
`/home/xmlich02/workspace/paint-mono/paint-mono-3.0.63-svn/Resources.mui'
make[1]: *** [install-local] Error 2
make[1]: Leaving directory
`/home/xmlich02/workspace/paint-mono/paint-mono-3.0.63-svn/Resources.mui'
make: *** [install-recursive] Error 1

> What version of the product are you using? On what operating system?
I am using svn version revision 63 on ubuntu 8.10

> Please provide any additional information below.

Here is my patch:
$ svn diff ./Resources.mui/custom-hooks.make 
Index: Resources.mui/custom-hooks.make
===================================================================
--- Resources.mui/custom-hooks.make (revision 63)
+++ Resources.mui/custom-hooks.make (working copy)
@@ -1,4 +1,4 @@
 pre-install-local-hook:
    mkdir -p $(DESTDIR)$(prefix)/lib/$(PACKAGE)
    cp PaintDotNet.Strings*.resources $(DESTDIR)$(prefix)/lib/$(PACKAGE)
-   cp ../bin/*/PaintDotNet.Strings.3.resources
$(DESTDIR)$(prefix)/lib/$(PACKAGE)
+#  cp ../bin/*/PaintDotNet.Strings.3.resources
$(DESTDIR)$(prefix)/lib/$(PACKAGE)

Original issue reported on code.google.com by iml...@fit.vutbr.cz on 22 Jan 2009 at 11:35