Changes between Version 22 and Version 23 of howto/cpan2port
- Timestamp:
- Mar 1, 2019, 10:16:40 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/cpan2port
v22 v23 6 6 * Requires additional Perl modules (available as MacPorts perl ports: see step [#Step4:Getcpan2port Get cpan2port]) 7 7 * I assume you are building your modules in a standard location, so commands that will write files in standard locations are preceded with 'sudo'. 8 * If you are building file in directories you own, leave off the 'sudo' when using these commands.8 * If you are building files in directories you own, leave off the 'sudo' when using these commands. 9 9 10 10 … … 37 37 CPAN_USERID GBARR (Graham Barr <gbarr@pobox.com>) 38 38 CPAN_VERSION 2.30 39 **CPAN_FILE G/GB/GBARR/TimeDate-1.20.tar.gz**39 CPAN_FILE G/GB/GBARR/TimeDate-1.20.tar.gz 40 40 DSLIP_STATUS Rdpf? (released,developer,perl,functions,) 41 41 MANPAGE Date::Parse - Parse date strings into time values … … 44 44 }}} 45 45 46 Soyou want the TimeDate module.46 Looking at the CPAN_FILE line we see that you want the TimeDate module. 47 47 48 48 === Step 3: '''Check that port is not available''' === … … 121 121 {{{ 122 122 $ sudo port build 123 Warning: MacPorts running without privileges. You may be unable to complete certain actions (e.g. install).124 123 ---> Computing dependencies for p5-timedate 125 124 ---> Fetching p5-timedate … … 135 134 136 135 If you get an error similar to: 137 {{{ Error: p5-timedate depends on p5.28-timedate }}} 136 {{{ 137 Error: p5-timedate depends on p5.28-timedate 138 }}} 138 139 when trying to build, try the following command 139 {{{ sudo port build subport=p5.28-timedate }}} 140 {{{ 141 sudo port build subport=p5.28-timedate 142 }}} 140 143 141 144 === Step 8: '''Fix the Portfile''' ===