On Monday, January 13, 2003, at 09:27 AM, Michel Alexandre Salim wrote:
Thanks, but I don't think you understand what I meant. I am trying to install with a .pkg using PackageMaker. The paragraph of mine above is pointing to a problem I had when I tried to use PackageMaker to install to more than one location.On Mon, 2003-01-13 at 14:30, Jared wrote: [snip]I tried something like that before, where I made my root "/" and then made myself a tree with usr/sbin/hotwayd and etc/xinetd.d/hotwayd as files to be installed. Well, it ended up wiping out my symlink of /etc and replacing it with an actual directory, /etc/ with only one file in it (xinetd.d) and one file inside that. Luckily, it was unable to wipe out /usr because I mistakenly forgot to give it root privileges (difference between root and admin wasn't clear at the time). Do you think if I had given it root privileges that it would have installed *in* /etc and *in* /usr or would it have gone overboard and trashed /usr as well?Well-behaved Unix apps are passed their final install location using ./configure --prefix (so you can have, say, ./configure --prefix=/usr/local or /sw for example) but for installation and/or packaging the install target is then overriden, so the installation is done using e.g. 'make install DESTDIR=/tmp/package' . Best way is to examine the configure and Makefile scripts, and there are tons of RPM spec and Fink info files you can examine to see how other packagers do things.
If I'm mistaken and you're answer applies to my situation, please explain further because then I'm just confused.
-Jared
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel
