User Tools

Site Tools


docs:tips_n_tricks:max_os_x:macports_install.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docs:tips_n_tricks:max_os_x:macports_install.html [02.10.2015 12:59 CEST] – [References] peterdocs:tips_n_tricks:max_os_x:macports_install.html [06.10.2015 07:34 CEST] (current) – [Install MacPorts to custom location] peter
Line 2: Line 2:
  
   * [[https://guide.macports.org/#installing.xcode.mavericks|Install XCode]]   * [[https://guide.macports.org/#installing.xcode.mavericks|Install XCode]]
-  * run ''xcode-select --install'' (maybe as root)((There was an issue when running it as non-//root// related to accepting the licence - don't remember the details :-/\\ According to the [[https://www.macports.org/install.php|MacPorts Quickstart]] Guide you should run ''xcodebuild -license'' - maybe that helps (too).))+  * run ''xcode-select --install'' (maybe as root)((There was an issue when running ''./configure'' related to accepting the licence which could be solved by running some command (''xcode-select --install''?) as //root//  - don't remember the details :-/\\ According to the [[https://www.macports.org/install.php|MacPorts Quickstart]] Guide you should run ''xcodebuild -license'' - maybe that helps (too).))
   * Download [[http://downloads.sourceforge.net/project/macports/MacPorts/2.3.4/MacPorts-2.3.4.tar.gz|MacPorts-2.3.4.tar.gz]]   * Download [[http://downloads.sourceforge.net/project/macports/MacPorts/2.3.4/MacPorts-2.3.4.tar.gz|MacPorts-2.3.4.tar.gz]]
  
Line 13: Line 13:
   sudo make install   sudo make install
   echo "-x11 +no_x11 +quartz" >> /opt/macports/etc/macports/variants.conf   echo "-x11 +no_x11 +quartz" >> /opt/macports/etc/macports/variants.conf
-  PATH=/opt/macports/bin:$PATH" sudo port -v selfupdate+  PATH="/opt/macports/bin:$PATH" sudo port -v selfupdate 
 +  PATH="/opt/macports/bin:$PATH" sudo port install zsh rcs pwgen wget unzip tinyca2 cvs \ 
 +                                                   pstree rdesktop lynx pidgin xsel 
 +   
 (For some paranoid reasons, I prefer to __not__ have ''/opt/macports/bin'' in my //default PATH//) (For some paranoid reasons, I prefer to __not__ have ''/opt/macports/bin'' in my //default PATH//)
 +
 +  PATH="/opt/macports/bin:$PATH" sudo port install jpilot
 +
 +fails unfortunately:
 +
 +The file ''/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_palm_jpilot/jpilot/work/jpilot-1.8.2/config.log'' contains
 +
 +  :
 +  configure:4633: checking for perl
 +  configure:4651: found /opt/macports/bin/perl
 +  configure:4663: result: /opt/macports/bin/perl
 +  configure:4674: checking for perl >= 5.8.1
 +  configure:4681: result: 5.16.3
 +  configure:4685: checking for XML::Parser
 +  configure:4691: error: XML::Parser perl module is required for intltool
 +  :
 +
 +Other XML parsers where installed already:
 +
 +
 +  ~ # /opt/macports/bin/port installed '*xml*parser' 
 +  The following ports are currently installed:
 +    p5.22-xml-parser @2.440.0_0 (active)
 +  ~ # /opt/macports/bin/port installed 'perl*'
 +  The following ports are currently installed:
 +    perl5 @5.16.3_0+perl5_16 (active)
 +    perl5.16 @5.16.3_1 (active)
 +    perl5.22 @5.22.0_0 (active)
 +  ~ #
 +
 +The problem was solved by 
 +
 +  ~ # /opt/macports/bin/port install 'p5.16-xml-parser'
 ===== References ===== ===== References =====
  
docs/tips_n_tricks/max_os_x/macports_install.html.1443783587.txt.gz · Last modified: 02.10.2015 12:59 CEST by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki