-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 3/2/10 12:49 PM, Pranay Airan wrote: > so i figured out the way to resolve this problem. i am putting our own > _structs.h into /sw/include folder and it is compiling from there, but > now i am facing a new problem when i am running fink -m > --build-as-nobody rebuild cilk > Upto make it is working fine but at time of make install it is giving > error PERMISSION DENIED because it requires sudo access *how to give > sudo access to make install in .info file?*
You don't. The fact that you're installing files somewhere where you don't have permission is an indication that your package isn't compliant with our policies. Fink packages should _ONLY_ install in the package root directory. How about showing the output of the 'make install' step? Maybe we can see what's going wrong. > > When i am trying out to run as sudo fink -m --build-as-nobody i am > getting following error > > *Can't locate Fink/Services.pm in @INC (@INC contains: > /Library/Perl/Updates/5.8.8 > /System/Library/Perl/5.8.8/darwin-thread-multi-2level > /System/Library/Perl/5.8.8 > /Library/Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/5.8.8 > /Library/Perl /Network/Library/Perl/5.8.8/darwin-thread-multi-2level > /Network/Library/Perl/5.8.8 /Network/Library/Perl > /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level > /System/Library/Perl/Extras/5.8.8 /Library/Perl/5.8.6 > /Library/Perl/5.8.1 .) at /var/tmp/tmp.1.ewQn2i line 2.* > * > * > * > * As Martin said, something in the environment in which you're running Fink isn't correct. You should be able to do everything that you're trying to accomplish from the account of an administrative user (not root) which has the Fink environment properly set up. And don't use "sudo fink ..." fink knows to use 'sudo' when needed. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuNdBAACgkQB8UpO3rKjQ9XBQCfdWP8M5Jn4dFQ588thAg0dPam RwoAnReM1C6UAEtJ+I8CReGfRjoKZ3ym =wmSs -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel