7za under mac os X

Help
osXer
2004-10-31
2013-05-28
  • osXer
    osXer
    2004-10-31

    I have to ba able to open .7z files, I hope I'm trying the right tool here.

    tried compiling the makefile for bsd under mac os X, no binary is generated, I get the following errors after g++ cooks for a bit:

    ld: can't locate file for: -lc_r
    make[1]: *** [test_emul] Error 1
    make: *** [all] Error 2

    are there changes I have to make to get this to compile correctly?

    thanks...

     
    • my space
      my space
      2004-11-01

      Yes, replace in makefile.machine
      "LOCAL_LIBS=-lc_r"
      by
      "LOCAL_LIBS="

      You can compile p7zip 4.10 on a Mac OS X 10.3,
      but if you have a Mac OS X 10.1 or 10.2, you
      need to fix two files :(

       
    • osXer
      osXer
      2004-11-02

      great, that worked!

      question, what's the proper way to alias it so i can launch the app without typing the whole command line? I'm used to hp/ux, that was configured so if you typed a local executable name, it would launch. not so. how do I configure? where's the bash file?

       
      • my space
        my space
        2004-11-02

        > great, that worked!
        Cool :)

        > question, what's the proper way to alias it so i can launch the app without
        > typing the whole command line? I'm used to hp/ux, that was configured so if
        > you typed a local executable name, it would launch. not so. how do I configure?
        > where's the bash file?

        I don't have a Mac OS X machine.
        I try 7za on Mac OS X provided by the sourceforge compile farm.
        These Mac OS X has the fink package that provide a lot of Unix tool.

        In this environment, the shell is a bash (echo $SHELL)
        And I have a .bash_profile.

        If you don't know where are your config files, you can try
        to put 7za in a directory that is declared in the "PATH".