Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

How to compile p7zip source with Mac OS X

Help
darktux1
2007-08-07
2013-05-28
  • darktux1
    darktux1
    2007-08-07

    Hi,

    I'm a new MacOSX user, and I would like to know the command line to compile the p7zip source for my computer.

    Thanks you in advance for your help.

    Bet regards,
    DarkTUX1 

     
    • darktux1
      darktux1
      2007-08-27

      It's resolved

      Best regards,
      DarkTUX1

       
  • JonaK
    JonaK
    2011-06-29

    How did you do it?

     
  • my p7zip
    my p7zip
    2011-07-01

    You should read the README file provided with the source of p7zip  …

     
  • JonaK
    JonaK
    2011-07-01

    What does "README" mean, "Change DEST_HOME"? How do I do this?

     
  • JonaK
    JonaK
    2011-07-01

    Would this mean change "/usr/local" to "/Users/USERNAME"?

     
  • my p7zip
    my p7zip
    2011-07-02

    What do you really want ?

    You question is : How to compile p7zip source with Mac OS X
    Not : how to install p7zip …

    What do you want to compile/install ?
    The console commands like 7za or 7z ?
    The GUI (alpha stage) p7zip ?

    On MacOSX :
    - I only use the GUI version
    - I don't install the console programs (so the Unix procedure is not tested on MacOSX)

    to compile p7zip GUI :

    cp makefile.macosx_32bits_asm  makefile.machine
       (MacOSX provides only a 32bits wxWidgets library)

    make app

    Now you have the program p7zip in the root of the p7zip source.

    Use the Finder to copy the p7zip GUI where you want …

     
  • JonaK
    JonaK
    2011-07-02

    Ohh… OK. Here is the output.

    new-host-2:p7zip_9.20.1 USER$ cp makefile.macosx_32bits_asm makefile.machine
    new-host-2:p7zip_9.20.1 USER$ make app
    mkdir -p bin
    mkdir -p bin/Codecs
    make -C CPP/7zip/Bundles/Format7zFree all
    make: Nothing to be done for `all'.
    make -C CPP/7zip/Compress/Rar         all
    make: Nothing to be done for `all'.
    cd bin ; rm -f Lang ; ln -s ../GUI/Lang .
    cd bin ; rm -f help ; ln -s ../GUI/help .
    make -C CPP/7zip/UI/FileManager       all
    make: *** No rule to make target `/usr/lib/wx/include/gtk2-unicode-release-2.8/wx/setup.h', needed by `wxFM.o'.  Stop.
    make: ***  Error 2
    new-host-2:p7zip_9.20.1 USER$

    What should I do?

     
  • my p7zip
    my p7zip
    2011-07-02

    make clean
    make depend
    make app

     
  • JonaK
    JonaK
    2011-07-02

    Awesome! That worked! Thanks!