Want to install mc on my pfsense box, all ok but….



  • Ok i want to install mc to my pfsense box…I migrating my pkg2ng base and almost install all prerequisites to mc package, thats my pkg info:

    ca_root_nss-3.17.2             The root certificate bundle from the Mozilla Project
    curl-7.38.0_2                  Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers
    gettext-0.18.3.1_1             GNU gettext package
    glib-2.36.3_4                  Some useful routines of C programming (current stable version)
    indexinfo-0.2                  Utility to regenerate the GNU info page index
    kbproto-1.0.6                  KB extension headers
    libX11-1.6.2_2,1               X11 library
    libXau-1.0.8_2                 Authentication Protocol library for X11
    libXdmcp-1.1.1_2               X Display Manager Control Protocol library
    libXext-1.3.2_2,1              X11 Extension library
    libffi-3.0.13_2                Foreign Function Interface
    libiconv-1.14_4                Character set conversion library
    libidn-1.29                    Internationalized Domain Names command line tool
    libpthread-stubs-0.3_6         This library provides weak aliases for pthread functions
    libslang2-2.2.4_6              Routines for rapid alpha-numeric terminal applications development
    libssh2-1.4.3_4,2              Library implementing the SSH2 protocol
    libxcb-1.10_2                  The X protocol C-language Binding (XCB) library
    libxml2-2.9.2_1                XML parser library for GNOME
    mc-4.8.13_1                    Midnight Commander, a free Norton Commander Clone
    pcre-8.35_1                    Perl Compatible Regular Expressions library
    perl5-5.16.3_11                Practical Extraction and Report Language
    pkg-1.3.8_3                    Package manager
    png-1.5.19                     Library for manipulating PNG images
    python27-2.7.8_5               Interpreted object-oriented programming language
    wget-1.15_2                    Retrieve files from the Net via HTTP(S) and FTP
    xextproto-7.3.0                XExt extension headers
    xproto-7.0.26                  X11 protocol headers
    
    

    But when i get to installing perl5 it's giving me high five with this:

    [1/1] Reinstalling perl5-5.16.3_11: 100%
    makewhatis: not found
    makewhatis: not found
    cd: /usr/include: No such file or directory
    pkg: POST-INSTALL script failed
    
    

    So, i must beeing f$cked off with that question, cause i know that pfsense is not intended for doing these sweet "make" tools available for me and even though I can ruine everything, still mc is installed but "mc" command never gonna happens to show up on my console so the system is shows me that I am a big a$$hat "mc: Command not found."
    Once I tried to install mc on my 2.1.5 but it ruine some libraries so nvm. The question is, can I somehow install perl5 without getting these errors + run mc package properly? Or i have no chances and must give up?  ::)


  • Rebel Alliance Developer Netgate

    Don't do that. Really, don't do that.

    It's not likely to work much of the time for a program that large/complex and odds are it will pull in libraries that may conflict with versions we include already.

    You should never need to mess with pkg2ng either unless you upgraded from an older version where you also manually added packages which is asking for even more trouble.

    Don't treat the firewall like a shell box. If you want to browse the filesystem, connect via scp from a system that can display the files how you want.