Cary Lewis
2016-07-03 02:48:07 UTC
I am trying to compile postfix on a DNS-325 which runs linux and has a standard gcc toolchain:
-bash-4.3# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/mnt/HD/HD_a2/ffp/bin/../libexec/gcc/arm-ffp-linux-uclibcgnueabi/4.6.2/lto-wrapper
Target: arm-ffp-linux-uclibcgnueabi
Configured with: ../gcc-4.6.2/configure --prefix=/ffp --with-local-prefix=/ffp --build=arm-ffp-linux-uclibcgnueabi --host=arm-ffp-linux-uclibcgnueabi --disable-nls --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit --enable-c99 --enable-long-long --enable-threads=posix --disable-multilib --with-system-zlib --enable-checking=release --with-float=soft
Thread model: posix
gcc version 4.6.2 (GCC)
-bash-4.3# uname -a
Linux dlink-039D6F 2.6.31.8 #8 Tue Jun 26 11:38:41 CST 2012 armv5tel GNU/Linux
Usually to compile a program from scratch, I just need to specify something like:
sh ./configure --prefix=/ffp
The DNS-325's hard drive is mounted under such that /ffp is the standard prefix.
My question is how to compile / install postfix such that /ffp is the root directory and not /?
-bash-4.3# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/mnt/HD/HD_a2/ffp/bin/../libexec/gcc/arm-ffp-linux-uclibcgnueabi/4.6.2/lto-wrapper
Target: arm-ffp-linux-uclibcgnueabi
Configured with: ../gcc-4.6.2/configure --prefix=/ffp --with-local-prefix=/ffp --build=arm-ffp-linux-uclibcgnueabi --host=arm-ffp-linux-uclibcgnueabi --disable-nls --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit --enable-c99 --enable-long-long --enable-threads=posix --disable-multilib --with-system-zlib --enable-checking=release --with-float=soft
Thread model: posix
gcc version 4.6.2 (GCC)
-bash-4.3# uname -a
Linux dlink-039D6F 2.6.31.8 #8 Tue Jun 26 11:38:41 CST 2012 armv5tel GNU/Linux
Usually to compile a program from scratch, I just need to specify something like:
sh ./configure --prefix=/ffp
The DNS-325's hard drive is mounted under such that /ffp is the standard prefix.
My question is how to compile / install postfix such that /ffp is the root directory and not /?