Am Freitag 19 Juni 2009 14:22:17 schrieb Ludovic Rousseau: > Hello, > > The SCA Makefile [1] uses "make install prefix=foobar" when installing > a software. I think the syntax is not correct and should be "make > install DESTDIR=foobar" to install the software in foobar directory > instead of the default /
make install prefix=foo was used quite often when makefiles had support for prefix, but not for DESTDIR. if all makefiles support DESTDIR properly, that would nicer. but I would not go as far as calling the prefix= way incorrect. > Installing in / (/Library/OpenSC/ in fact) fails unless when running as > root. well,maybe some directories don't have the right permissions? I always create a new directory on my systems, chown it to my user, install into that directory tree and then run a recursive chown to switch all files back to root:root after installation (and also use chmod to remove all group write and other write permissions). but some people still simply use "sudo make install" and I guess it works fine for them. Regards, Andreas _______________________________________________ opensc-devel mailing list [email protected] http://www.opensc-project.org/mailman/listinfo/opensc-devel
