Changes between Version 20 and Version 21 of howto/cpan2port
- Timestamp:
- Mar 1, 2019, 10:02:55 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/cpan2port
v20 v21 5 5 * Audience: Perl users 6 6 * Requires additional Perl modules (available as MacPorts perl ports: see step [#Step4:Getcpan2port Get cpan2port]) 7 * I assume you are building your modules in a standard location, so commands that will write files in standard locations are preceded with 'sudu'. 8 * If you are building file in directories you own, leave off the 'sudo' when using these commands. 9 7 10 8 11 … … 16 19 You can either step through the questions, or let it auto-configure. 17 20 {{{ 18 $ cpan21 $ sudo cpan 19 22 CPAN is the world-wide archive of perl resources. It consists of about 20 23 [...] … … 34 37 CPAN_USERID GBARR (Graham Barr <gbarr@pobox.com>) 35 38 CPAN_VERSION 2.30 36 CPAN_FILE G/GB/GBARR/TimeDate-1.20.tar.gz39 **CPAN_FILE G/GB/GBARR/TimeDate-1.20.tar.gz** 37 40 DSLIP_STATUS Rdpf? (released,developer,perl,functions,) 38 41 MANPAGE Date::Parse - Parse date strings into time values … … 117 120 118 121 {{{ 119 $ port build122 $ sudo port build 120 123 Warning: MacPorts running without privileges. You may be unable to complete certain actions (e.g. install). 121 124 ---> Computing dependencies for p5-timedate … … 130 133 ---> Building p5-timedate 131 134 }}} 135 136 If you get an error similar to: 137 {{{ Error: p5-timedate depends on p5.28-timedate }}} 138 when trying to build, try the following command 139 {{{ sudo port build subport=p5.28-timedate }}} 132 140 133 141 === Step 8: '''Fix the Portfile''' === … … 163 171 {{{ 164 172 $ cd ~/macports/perl/p5-timedate 165 $ port build173 $ sudo port build 166 174 }}} 167 175