Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Compiling dynamics mobile ip daemon for pfsense 1.2.3

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 2 Posters 2.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sammy2ooo
      last edited by

      Hello guys

      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?

      http://sourceforge.net/projects/dynamics/
      http://sourceforge.net/projects/dynamics/files/
      http://dynamics.sourceforge.net/

      Cheers!!

      1 Reply Last reply Reply Quote 0
      • S
        sammy2ooo
        last edited by

        Hm okay, got a little further…

        this did the trick for the gmp library

        pkg_add -r libgmp

        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

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          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.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • S
            sammy2ooo
            last edited by

            Thanks for your reply jimp. But there is a compiler

            gcc –version

            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.

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              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.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • S
                sammy2ooo
                last edited by

                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...

                1 Reply Last reply Reply Quote 0
                • S
                  sammy2ooo
                  last edited by

                  :) 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...

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    …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.

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.