Michal Marek
On 11.2.2011 16:51, Sascha Manns wrote:
Hi Michal,
Michal Marek
wrote at Friday 11 February 2011: On 10.2.2011 22:41, Sascha Manns wrote:
Now i have just this Problem: + make DESTDIR=/usr/src/packages/BUILDROOT/fltk-flu-2.14-6.1.i386 install === installing FLU === Installing binaries in /usr/bin... cp: cannot create regular file `/usr/bin/flu-config': Permission de nied
But that i don't understand. I've set %{buildroot} and flu-config is a binary and should placed in %{_bindir}.
You need to patch the Makefile to understand DESTDIR.
Thanks for spending time :-) The Problem i see is, that the Makefile is created by the configure Script. But the Configure Script is self written by the Author, no "normal" configure.
Have you an idea, what i must change to make it runable?
In general, the commands in the Makefile need to be changed from
install somebinary /usr/bin/somebinary
to
install somebinary $(DESTDIR)/usr/bin/somebinary
Often the Makefile is generated by configure from Makefile.in, in that case you need to make the changes there. Otherwise, try to find out what generates such commands and add the $(DESTDIR) there. A part of the Problem is solved. If i use configure --prefix=%{_prefix} i got the Permission denied Issue. If i use configure --prefix=%{buildroot}%{_prefix} i got: file-contains-buildroot (Badness: 10000) /usr/bin/flu-config
I've pasted the configure there: http://susepaste.org/27212307 Any ideas? -- Sincerely Yours Sascha Manns open-slx Community & Support Agent openSUSE Membership Comitee openSUSE Marketing Team Blog: http://saigkill.wordpress.com German Community Portal: http://community.open-slx.de -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org