On 8/7/12 2:14 PM, Felipe Godinez wrote: > Thanks, I found the log. It was where you said the first time. It seems that > I have a permission issue. here is what the log says: > > gcc version 4.2.1 (Apple Inc. build 5666) (dot 3) > configure:5308: $? = 0 > configure:5297: gcc -V >&5 > gcc-4.2: argument to `-V' is missing > configure:5308: $? = 1 > configure:5297: gcc -qversion >&5 > i686-apple-darwin10-gcc-4.2.1: no input files > configure:5308: $? = 1 > configure:5328: checking whether the C compiler works > configure:5350: gcc -Os conftest.c >&5 >>>>> here>>> > cc1: error: /usr/local/include: Permission denied > configure:5354: $? = 1 > configure:5392: result: no > configure: failed program was: > | /* confdefs.h */ > | #define PACKAGE_NAME "Berkeley DB" > | #define PACKAGE_TARNAME "db-5.1.29" > | #define PACKAGE_VERSION "5.1.29" > | #define PACKAGE_STRING "Berkeley DB 5.1.29" > | #define PACKAGE_BUGREPORT "Oracle Technology Network Berkeley DB forum" > | #define PACKAGE_URL "" > | #define HAVE_UPGRADE_SUPPORT 1 > > Where would I set the permission settings? > > -Felipe > >
I'd recommend moving /usr/local out of the way while you do the build: sudo mv /usr/local /usr/local.moved and then restoring it: sudo mv /usr/local.moved /usr/local This reduces the possibility of your build picking up stuff that isn't provided by Fink or Apple. On my own 10.6 system, I'm showing the following for the ownership and permissions of /usr/local: $ ls -ld /usr/local drwxr-xr-x 10 root wheel 340 May 24 2011 /usr/local So you could use sudo chmod -R 755 /usr/local sudo chown -R root:wheel /usr/local to set those. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners