Compiling dynamics mobile ip daemon for pfsense 1.2.3
I would like to run dynamics mobile ip daemon on my pfSense 1.2.3 box. Unfortunately I can't compile it, because gmp/gmp2 is missing. Are you guys aware of freebsd (*.tgz) dynamics package or gmp(2) package?
Hm okay, got a little further…
this did the trick for the gmp library
But 'configure' still complains about the missing libs….
# ./configure –libdir=/usr/local/lib
loading cache ./config.cache
checking host system type… i386-unknown-freebsd7.2
checking target system type... i386-unknown-freebsd7.2
checking build system type... i386-unknown-freebsd7.2
checking for main in -lgmp… no
checking for main in -lgmp2... no
configure: error: Cannot find gmp or gmp2 library
# ls -l /usr/local/lib/gmp
-rw-r–r-- 1 root wheel 492974 Apr 14 2009 /usr/local/lib/libgmp.a
-rwxr-xr-x 1 root wheel 779 Apr 14 2009 /usr/local/lib/libgmp.la
lrwxr-xr-x 1 root wheel 11 Apr 14 2009 /usr/local/lib/libgmp.so -> libgmp.so.7
-rwxr-xr-x 1 root wheel 251017 Apr 14 2009 /usr/local/lib/libgmp.so.7
-rw-r--r-- 1 root wheel 28596 Apr 14 2009 /usr/local/lib/libgmpxx.a
-rwxr-xr-x 1 root wheel 818 Apr 14 2009 /usr/local/lib/libgmpxx.la
lrwxr-xr-x 1 root wheel 13 Apr 14 2009 /usr/local/lib/libgmpxx.so -> libgmpxx.so.4
-rwxr-xr-x 1 root wheel 22150 Apr 14 2009 /usr/local/lib/libgmpxx.so.4
There is no compiler on pfSense, you'll need to make this package or binary on a full FreeBSD 7.2 box or VM and then move over only the files you need.
Thanks for your reply jimp. But there is a compiler
gcc (GCC) 4.2.1 20070719 [FreeBSD]
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The binary may be there (though it shouldn't be) but none of the headers, libraries, sources, etc, that are all needed for actually using it are there.
Hm okay, but 'configure's output clearly states out that it can't find the gmp libs… AHH while typeing it cames clear... i am not missing the gmp lib itself, but the gmp devel package...
:) okay you are right… make and etc. are missing too.... i really should setup a 7.2 fbsd box... puuh anyways a firewall is not a development system...
…which is why it's not supposed to have a compiler... :-)
Not sure how the gcc binary ended up in the release image, it really shouldn't be there.