toreleading.blogg.se

Macports guide
Macports guide










  1. #MACPORTS GUIDE MAC OSX#
  2. #MACPORTS GUIDE INSTALL#
  3. #MACPORTS GUIDE UPDATE#
  4. #MACPORTS GUIDE CODE#
  5. #MACPORTS GUIDE DOWNLOAD#

You should examine your existing leaves before uninstalling any of them. You can use this to “clean up” unneeded ports even if you did not originally uninstall them with sudo port uninstall -follow-dependencies portname (which will do what you want, but only if you remember to use it every time you uninstall something). The leaves pseudo-portname expands to all the unrequested ports upon which no other installed port depends. An unrequested port is one that was only installed because some other port depends on it. One of the features of the new format is that it keeps track of “requested” versus “unrequested” port installations. You can convert a 1.9.x flat system to the sqlite format by upgrading to MacPorts 2.0 or by changing the portdbformat value in /opt/local/etc/macports/nf and then issuing a port command as root (e.g. The sqlite port DB format is the default for new installations old installations that were upgraded to 1.9.x will continue to use the flat format 1. MacPorts 1.9.0 added the sqlite portdbformat and MacPorts 2.0.0 dropped the old flat format.

#MACPORTS GUIDE INSTALL#

The sample file sets the paths of the xpdf and netpbm utilities to /sw/bin/ - assuming you installed them using the Fink package manager.To avoid accidentally cutting leaves that might be things you requested you should install the port_cutleaves package then run sudo port_cutleaves

#MACPORTS GUIDE CODE#

# edit the settings in phpconfig.inc to match your license code / paths

#MACPORTS GUIDE MAC OSX#

"/Users/joe/For Step 4 you will need to copy and edit the Mac OSX version of the phpconfig file: cd annotate/php

#MACPORTS GUIDE DOWNLOAD#

Having installed the dependencies, you can download the standard version of the Annotate server and unpack into your Apache DocumentRoot area, e.g. # This should say 'version 3.02' - if it says version 3.00 You can test that xpdf and netpbm have installed OK by typing: xpdf -? fink install netpbm10 netpbm10-shlibs netpbm-bin To get the Netpbm utilties (ppmtopng etc), use the command below (again this may take a while as it will fetch and compile all the utilities). You can then install Xpdf and all its dependencies using: (note this may take an hour or so, as there are a number of font and X11 libraries needed). and get fink to install from Source to get the latest versions.

macports guide

You also need to configure Fink to use the latest Source versions of packages, rather than the Binaries - this is because the binary versions tend to be out of date.

#MACPORTS GUIDE UPDATE#

# To complete the update you may be prompted to run: Having installed Fink, you should update it to the latest version - sample commands: fink selfupdate-rsync See the Fink download page to install the Fink package manager. The Fink project includes suitable packages configured for OSX - but you need to compile from source to get the up to date versions. Installing XPDF and Netpbm on Mac OSXĪnnotate requires the Xpdf set of utilities (version 3.02) and also Netpbm for converting image formats. You can check whether you have the correct version of your web server / php installed by storing a PHP test file 'phpinfo.php' containing the call: in your html document area and pointing your browser at it. Apple's bundled version of Apache stores config settings in /Private/etc/apache2/nf and has a default DocumentRoot of /Library/WebServer/Documents See an online guide like Enabling Apache + PHP on Leopard (external). # If you don't have curl installed ('which curl') you shouldĪs an alternative to using MacPorts - OSX Leopard comes with Apache and PHP5 installed but not enabled Tiger has an older Apache bundled, so you might prefer to use the MacPorts version. then edit /opt/local/apache2/nf to set DocumentRoot You will want to edit the settings in /opt/local/apache2/conf/nf, especially setting the DocumentRoot to an appropriate location. Once you have installed MacPorts you can enter commands like the ones below to install apache / php. Note you do not need to install MySQL to run an Annotate server. Guide to installing Apache / PHP using MacPorts. You can install Apache and PHP using MacPorts Install MacPorts - there are several help guides on the internet e.g. The Fink Project includes tools for installing these open source packages.

  • The Xpdf and Netpbm open source utilities.
  • macports guide

    Warning: the MAMP distribution is very easy to install, but has a shared library clash with the netpbm utilities so is not recommended for Annotate. OSX includes a bundled version of Apache, but you may wish to install a more recent version using MacPorts (Formerly known as Darwin ports).

  • The Mac Xcode developer tools, which includes utilities like a compiler and make tools.
  • Prerequisitesīefore you install Annotate, you need to have: You will also need to refer to the main server installation guide as this guide just covers the Mac OSX specifics. This chapter includes instructions for installing your own version of the Annotate server on Mac OSX.












    Macports guide