<br>Hello! <br><br>Modifiying Makefile as previously explained only fixes the "Operation not permitted" (ignored) errors. However, the 'make MULTI=1 install' still doesn't create any symlink automatically, so you have to create them by hand as explained on the CLFS book. I confused that because it was the behaviour I was expecting, just as busybox does. But I just have read "MULTI" documentation file, and it explains this is the proper way to do it. So, the book it's ok.<br>
<br>Best regards,<br> -- Ivan<br><br><div class="gmail_quote">2011/4/12 Angel Ivan Castell Rovira <span dir="ltr"><<a href="mailto:al004140@gmail.com">al004140@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>Hello Mr. Andrew.<br><br>Yes, file {CLFS}/usr/bin/dropbearmulti is successfully created. However, none of the symlinks (dropbear dbclient dropbearkey dropbearconvert scp) that should point to the dropbearmulti binary is created. So, you have to create them by hand. To do it easily, I have modified Makefile to install everything as 'clfs' user:group, and once it is installed on the roofs-final, user:group are also changed to root. <br>
<div><div></div><div class="h5">
<br><br><br><div class="gmail_quote">2011/4/12 Andrew Bradford <span dir="ltr"><<a href="mailto:bradfa@gmail.com" target="_blank">bradfa@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>On Tue, Apr 12, 2011 at 6:18 AM, Angel Ivan Castell Rovira<br>
<<a href="mailto:al004140@gmail.com" target="_blank">al004140@gmail.com</a>> wrote:<br>
> clfs@devnull:~/sources/dropbear-0.52$ make MULTI=1 PROGRAMS="dropbear<br>
> dbclient dropbearkey dropbearconvert scp" install DESTDIR=${CLFS}/usr<br>
> install -d -m 755 /home/clfs/usr/usr/bin<br>
> install -m 755 dropbearmulti /home/clfs/usr/usr/bin<br>
> chown root /home/clfs/usr/usr/bin/dropbearmulti<br>
> chown: changing ownership of `/home/clfs/usr/usr/bin/dropbearmulti':<br>
> Operation not permitted<br>
> make: [inst_dropbearmulti] Error 1 (ignored)<br>
> chgrp 0 /home/clfs/usr/usr/bin/dropbearmulti<br>
> chgrp: changing group of `/home/clfs/usr/usr/bin/dropbearmulti':<br>
> Operation not permitted<br>
> make: [inst_dropbearmulti] Error 1 (ignored)<br>
><br>
> 'clfs' user is not allowed to change ownership/group of the binaries<br>
> instaled as 'root', so Makefile can't execute fine lines like:<br>
><br>
> chown root $(DESTDIR)$(bindir)/dropbearmulti$(EXEEXT)<br>
> chown root $(DESTDIR)$(sbindir)/dropbear$(EXEEXT)<br>
<br>
</div>Does Dropbear install but show these errors? Or do the errors stop<br>
installation?<br>
>From your short log, it looks like it just complains but continues.<br>
<br>
It makes sense that the 'clfs' user can't chown things to root.<br>
You'll change the ownership of everything to be owned by root later in<br>
the book in the "Changing Ownership" section (provided you're using a<br>
book from the past 2 weeks or so).<br>
<br>
Dropbear probably shouldn't be trying to chown things to root in their<br>
install script... but that might be fixed with a more up-to-date<br>
Dropbear package (I'm not that familiar with Dropbear, yet).<br>
<br>
-Andrew<br>
_______________________________________________<br>
Clfs-support mailing list<br>
<a href="mailto:Clfs-support@lists.cross-lfs.org" target="_blank">Clfs-support@lists.cross-lfs.org</a><br>
<a href="http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org" target="_blank">http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org</a><br>
</blockquote></div><br>
</div></div></blockquote></div>