My intention is to generate distributable binaries - I am doing a ./configure - make - make install in my build machine, and I archived the content of the install directory (the one I gave a prefix to while doing ./configure and make install) and moved it to another machine under another user for testing. Upon testing, I see that the copied files still tries to access some files at a path which was at my build machine - and hence I get permissions denied error.
Previously I was thinking that it might be a tar issue while extracting, but thanks to Daniel Beck who helped me realize that it has nothing to do with the archiving process.
I do not have root/sudo privileges. The crux is - how do I build in one machine and use the install-files in many others without running into permissions related problems? What are the rules to create universally distributable tarballs?
Thanks.
ls -landls -lnoutput after extracting on the destination host? – Daniel Beck Nov 12 '11 at 17:58ls -lnoutput -drwxr-xr-x 2 10036 501 4096 Nov 11 04:52 binandls -lgivesdrwxr-xr-x 2 user_02 staff 4096 Nov 11 04:52 bin– Sayan Nov 12 '11 at 18:09user_02is denied access to? – Daniel Beck Nov 12 '11 at 18:11