compiling C programs
Posted by: markz
Posted on: 2007-01-31 23:04:00
Hi, I'm trying to compile/install various C scripts on my dreamhost account. Let's take for example Freetype 2. I start by running:
=======
./configure
=======
This completes without any apparent errors. Then I run:
=======
make
=======
Many lines fly by, and upon inspection it appears this also complete without errors. Then I run:
=======
make install
=======
This produces this error, which I have no idea how to circumvent:
=======
./builds/unix/mkinstalldirs /usr/local/lib
/usr/local/lib/pkgconfig
/usr/local/include/freetype2/freetype/config
/usr/local/include/freetype2/freetype/cache
/usr/local/bin
/usr/local/share/aclocal
mkdir -p -- /usr/local/lib/pkgconfig /usr/local/include/freetype2/freetype/config /usr/local/include/freetype2/freetype/cache /usr/local/bin /usr/local/share/aclocal
mkdir: cannot create directory `/usr/local/lib/pkgconfig': Permission denied
mkdir: cannot create directory `/usr/local/include/freetype2': Permission denied
mkdir: cannot create directory `/usr/local/include/freetype2': Permission denied
mkdir: cannot create directory `/usr/local/share/aclocal': Permission denied
make: *** [install] Error 1
=======
Any ideas? Many thanks in advance!