This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: help with installing gcc in os x please.


so this is where it's gone wrong i think, at the make install stage.

while in the objdir folder i type make install (forgetting about my pword idea). this is the entire output of that:

[Ben-Ds-Computer:~/gcc/objdir] bend% make install
/bin/sh ../gccfolder/mkinstalldirs /usr/local /usr/local
(cd intl && make all)
make[2]: Nothing to be done for `all'.
for file in cc1 ; do \
if [ -f $file ] ; then \
rm -f /usr/local/lib/gcc-lib/powerpc-apple-darwin6.2/3.2.1/$file; \
/bin/sh /Users/bend/gcc/gccfolder/install-sh -c $file /usr/local/lib/gcc-lib/powerpc-apple-darwin6.2/3.2.1/$file; \
else true; \
fi; \
done
mkdir: /usr/local/lib: Permission denied
mkdir: /usr/local/lib/gcc-lib: No such file or directory
mkdir: /usr/local/lib/gcc-lib/powerpc-apple-darwin6.2: No such file or directory
mkdir: /usr/local/lib/gcc-lib/powerpc-apple-darwin6.2/3.2.1: No such file or directory
cp: /usr/local/lib/gcc-lib/powerpc-apple-darwin6.2/3.2.1/_inst.1796_: No such file or directory
make[1]: *** [install-common] Error 1
make: *** [install-gcc] Error 2
[Ben-Ds-Computer:~/gcc/objdir] bend% cd gcc
[Ben-Ds-Computer:~/gcc/objdir/gcc] bend% make install
(cd intl && make all)
make[1]: Nothing to be done for `all'.
for file in cc1 ; do \
if [ -f $file ] ; then \
rm -f /usr/local/lib/gcc-lib/powerpc-apple-darwin6.2/3.2.1/$file; \
/usr/bin/install -c $file /usr/local/lib/gcc-lib/powerpc-apple-darwin6.2/3.2.1/$file; \
else true; \
fi; \
done
/usr/bin/install: /usr/local/lib/gcc-lib/powerpc-apple-darwin6.2/3.2.1/cc1: No such file or directory
make: *** [install-common] Error 71
[Ben-Ds-Computer:~/gcc/objdir/gcc] bend%


that's that's the error i got to start with, and because of the 'permission denied' bit in that, and the fact that you have to input a password in os x whenever you want to install anything i arrived at the pword thing ('password' didn't work and i've seen pword used in conjuction with command line stuff somewhere else so i tried it and it seemed to work) so i thought i'd cracked the problem but now it looks like i hadn't.

maybe the problem goes back even further than the make install, to the make bootstrap bit? i really have no idea.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]