[paulr@radon asterisk-1.4.15]$ ./configure --prefix=/export/installed/asterisk-1.4.15
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
....
configure: Package configured for:
configure: OS type : linux-gnu
configure: Host CPU : i686
[paulr@radon asterisk-1.4.15]$ make
menuselect/menuselect --check-deps menuselect.makeopts
Generating embedded module rules ...
make[1]: Nothing to be done for `all'.
...
make[1]: Nothing to be done for `all'.
+--------- Asterisk Build Complete ---------+
+ Asterisk has successfully been built, and +
+ can be installed by running: +
+ +
+ make install +
+-------------------------------------------+
[paulr@radon asterisk-1.4.15]$ make install
menuselect/menuselect --check-deps menuselect.makeopts
Generating embedded module rules ...
make[1]: Nothing to be done for `all'.
....
make[1]: Nothing to be done for `all'.
if [ x`/usr/bin/id -un` = xroot ]; then CFLAGS=" -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -include /export/downloads/asterisk/asterisk-1.4.15/include/asterisk/autoconfig.h -march=i686 " sh build_tools/mkpkgconfig /usr/lib/pkgconfig; fi
mkdir -p /var/lib/asterisk/static-http
mkdir: cannot create directory `/var/lib/asterisk': Permission denied
make: *** [datafiles] Error 1