文章

vimrc配置

使用vim插件需要先安装Vundle

1
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

安装YouCompleteMe插件报错

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
1. 设置 .vimrc 插件
Plugin 'ycm-core/YouCompleteMe'

2. 插件安装
vim
:PluginInstall

vim 安装比较慢可以根据提示直接 git clone
git clone https://github.com/ycm-core/YouCompleteMe.git ~/.vim/bundle/

3. 设置 ~/.bash_profile
## 指定Python3版本
alias python="/opt/homebrew/bin/python3"
alias pip="/opt/homebrew/bin/pip3.10"

4. 编译安装
cd ~/.vim/bundle/YouCompleteMe
python install.py --all
默认 python3.9.x 编译失败

问题1
ERROR: Python headers are missing in /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers.

解决:
Python 版本编译不通过,需要重新安装Python3
brew reinstall python3
安装完后 确认更新版本后的 python3 的地址,设置 ~/.bash_profile
alias python="/opt/homebrew/bin/python3"
alias pip="/opt/homebrew/bin/pip3.10"

重新编译
python3 install.py --clangd-completer

问题2:
YouCompleteMe unavailable: requires Vim compiled with Python (3.8.0+) support.

解决:
根据 github 仓库READ.md
brew install cmake python go nodejs

问题3:
The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). YCM core library not detected; you need to compile YCM before using it. Follow the instructions in the documentation.

解决:
python3 install.py


问题4:
ycmd server SHUT DOWN

解决:
重新编译 YouCompleteMe
cd ~/.vim/bundle/YouCompleteMe
python3 install.py --clang-completer --racer-completer --system-libclang




注意 macOS默认vim 不支持Python

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
vim --version
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Mar  4 2023 14:02:05)
macOS version - arm64
Included patches: 1-1313
Compiled by root@apple.com
Normal version without GUI.  Features included (+) or not (-):
+acl               +file_in_path      +mouse_urxvt       -tag_any_white
-arabic            +find_in_path      +mouse_xterm       -tcl
+autocmd           +float             +multi_byte        +termguicolors
+autochdir         +folding           +multi_lang        +terminal
-autoservername    -footer            -mzscheme          +terminfo
-balloon_eval      +fork()            +netbeans_intg     +termresponse
-balloon_eval_term -gettext           +num64             +textobjects
-browse            -hangul_input      +packages          +textprop
++builtin_terms    +iconv             +path_extra        +timers
+byte_offset       +insert_expand     -perl              +title
+channel           +ipv6              +persistent_undo   -toolbar
+cindent           +job               +popupwin          +user_commands
-clientserver      +jumplist          +postscript        -vartabs
+clipboard         -keymap            +printer           +vertsplit
+cmdline_compl     +lambda            -profile           +vim9script
+cmdline_hist      -langmap           -python            +viminfo
+cmdline_info      +libcall           -python3           +virtualedit
+comments          +linebreak         +quickfix          +visual
+conceal           +lispindent        +reltime           +visualextra
+cryptv            +listcmds          -rightleft         +vreplace
+cscope            +localmap          -ruby              +wildignore
+cursorbind        -lua               +scrollbind        +wildmenu
+cursorshape       +menu              +signs             +windows
+dialog_con        +mksession         +smartindent       +writebackup
+diff              +modify_fname      -sodium            -X11
+digraphs          +mouse             -sound             -xfontset
-dnd               -mouseshape        +spell             -xim
-ebcdic            +mouse_dec         +startuptime       -xpm
-emacs_tags        -mouse_gpm         +statusline        -xsmp
+eval              -mouse_jsbterm     -sun_workshop      -xterm_clipboard
+ex_extra          +mouse_netterm     +syntax            -xterm_save
+extra_search      +mouse_sgr         +tag_binary        
-farsi             -mouse_sysmouse    -tag_old_static    
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X_UNIX  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1      
Linking: gcc   -L/usr/local/lib -o vim        -lm -lncurses  -liconv -framework Cocoa  



==========================================================
- : 代表不支持
+ : 代表支持

安装 brew install vim

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
安装依赖
brew install lua berkeley-db perl libyaml ruby
然后再安装: brew install vim


brew install lua berkeley-db perl libyaml ruby
===============安装成功结果如下================
......
......
......
You may also want luarocks:
  brew install luarocks
==> Summary
🍺  /opt/homebrew/Cellar/lua/5.4.4_1: 29 files, 794.9KB
==> Running `brew cleanup lua`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Pouring berkeley-db--18.1.40_1.arm64_ventura.bottle.tar.gz
==> Caveats
berkeley-db is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have berkeley-db first in your PATH, run:
  echo 'export PATH="/opt/homebrew/opt/berkeley-db/bin:$PATH"' >> /Users/FengYLBook/.bash_profile

For compilers to find berkeley-db you may need to set:
  export LDFLAGS="-L/opt/homebrew/opt/berkeley-db/lib"
  export CPPFLAGS="-I/opt/homebrew/opt/berkeley-db/include"

==> Summary
🍺  /opt/homebrew/Cellar/berkeley-db/18.1.40_1: 44 files, 6MB
==> Running `brew cleanup berkeley-db`...
==> Pouring perl--5.36.0.arm64_ventura.bottle.tar.gz
==> Caveats
By default non-brewed cpan modules are installed to the Cellar. If you wish
for your modules to persist across updates we recommend using `local::lib`.

You can set that up like this:
  PERL_MM_OPT="INSTALL_BASE=$HOME/perl5" cpan local::lib
  echo 'eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib=$HOME/perl5)"' >> /Users/FengYLBook/.bash_profile
==> Summary
🍺  /opt/homebrew/Cellar/perl/5.36.0: 2,490 files, 66.9MB
==> Running `brew cleanup perl`...
==> Pouring libyaml-0.2.5.arm64_ventura.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libyaml/0.2.5: 10 files, 351.2KB
==> Running `brew cleanup libyaml`...
==> Pouring ruby--3.1.2_1.arm64_ventura.bottle.tar.gz
==> Caveats
By default, binaries installed by gem will be placed into:
  /opt/homebrew/lib/ruby/gems/3.1.0/bin

You may want to add this to your PATH.

ruby is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have ruby first in your PATH, run:
  echo 'export PATH="/opt/homebrew/opt/ruby/bin:$PATH"' >> /Users/FengYLBook/.bash_profile

For compilers to find ruby you may need to set:
  export LDFLAGS="-L/opt/homebrew/opt/ruby/lib"
  export CPPFLAGS="-I/opt/homebrew/opt/ruby/include"

For pkg-config to find ruby you may need to set:
  export PKG_CONFIG_PATH="/opt/homebrew/opt/ruby/lib/pkgconfig"

==> Summary
🍺  /opt/homebrew/Cellar/ruby/3.1.2_1: 15,996 files, 42.8MB
==> Running `brew cleanup ruby`...
==> Caveats
==> lua
You may also want luarocks:
  brew install luarocks
==> berkeley-db
berkeley-db is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have berkeley-db first in your PATH, run:
  echo 'export PATH="/opt/homebrew/opt/berkeley-db/bin:$PATH"' >> /Users/FengYLBook/.bash_profile

For compilers to find berkeley-db you may need to set:
  export LDFLAGS="-L/opt/homebrew/opt/berkeley-db/lib"
  export CPPFLAGS="-I/opt/homebrew/opt/berkeley-db/include"

==> perl
By default non-brewed cpan modules are installed to the Cellar. If you wish
for your modules to persist across updates we recommend using `local::lib`.

You can set that up like this:
  PERL_MM_OPT="INSTALL_BASE=$HOME/perl5" cpan local::lib
  echo 'eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib=$HOME/perl5)"' >> /Users/FengYLBook/.bash_profile
==> ruby
By default, binaries installed by gem will be placed into:
  /opt/homebrew/lib/ruby/gems/3.1.0/bin

You may want to add this to your PATH.

ruby is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have ruby first in your PATH, run:
  echo 'export PATH="/opt/homebrew/opt/ruby/bin:$PATH"' >> /Users/FengYLBook/.bash_profile

For compilers to find ruby you may need to set:
  export LDFLAGS="-L/opt/homebrew/opt/ruby/lib"
  export CPPFLAGS="-I/opt/homebrew/opt/ruby/include"

For pkg-config to find ruby you may need to set:
  export PKG_CONFIG_PATH="/opt/homebrew/opt/ruby/lib/pkgconfig"

==================================================================


# 根据指示执行这些命令
=============================================================
PERL_MM_OPT="INSTALL_BASE=$HOME/perl5" cpan local::lib
Loading internal logger. Log::Log4perl recommended for better logging

CPAN.pm requires configuration, but most of it can be done automatically.
If you answer 'no' below, you will enter an interactive dialog for each
configuration option instead.

Would you like to configure as much as possible automatically? [yes]   echo 'eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib=$HOME/perl5)"' >> /Users/FengYLBook/.bash_profile
CPAN build and cache directory? [/Users/FengYLBook/.cpan] 
Download target directory? [/Users/FengYLBook/.cpan/sources] 
Directory where the build process takes place? [/Users/FengYLBook/.cpan/build] 
Store and re-use state information about distributions between
CPAN.pm sessions? [no] 
Directory where to store default options/environment/dialogs for
building modules that need some customization? [/Users/FengYLBook/.cpan/prefs] 
Always commit changes to config variables to disk? [no] 
Cache size for build directory (in MB)? [100] 
Let the index expire after how many days? [1] 
Perform cache scanning ('atstart', 'atexit' or 'never')? [atstart] 
Remove build directory after a successful install? (yes/no)? [no] 
Cache metadata (yes/no)? [yes] 
Use CPAN::SQLite if available? (yes/no)? [no] 
Policy on building prerequisites (follow, ask or ignore)? [follow] 
Policy on installing 'build_requires' modules (yes, no, ask/yes,
ask/no)? [yes] 
Include recommended modules? [yes] 
Include suggested modules? [no] 
Always try to check and verify signatures if a SIGNATURE file is in
the package and Module::Signature is installed (yes/no)? [no] 
Generate test reports if CPAN::Reporter is installed (yes/no)? [no] 
Do you want to rely on the test report history (yes/no)? [no] 
Which YAML implementation would you prefer? [YAML] 
Do you want to enable code deserialisation (yes/no)? [no] 
Where is your make program? [/usr/bin/make] 
Where is your bzip2 program? [/usr/bin/bzip2] 
Where is your gzip program? [/usr/bin/gzip] 
Where is your tar program? [/usr/bin/tar] 
Where is your unzip program? [/usr/bin/unzip] 
Where is your gpg program? [] 
Where is your patch program? [/usr/bin/patch] 
Where is your applypatch program? [] 
Where is your wget program? [/opt/homebrew/bin/wget] 
What is your favorite pager program? [/usr/bin/less] 
What is your favorite shell? [/bin/bash] 
Use the external tar program instead of Archive::Tar? [yes] 
Tar command verbosity level (none or v or vv)? [none] 
Verbosity level for loading modules (none or v)? [none] 
Verbosity level for PERL5LIB changes (none or v)? [none] 
Do you want to turn this message off? [no] 
In case you can choose between running a Makefile.PL or a Build.PL,
which installer would you prefer (EUMM or MB or RAND)? [MB] 
Parameters for the 'perl Makefile.PL' command? [] 
Your choice: [] 
or some such. Your choice: [/usr/bin/make] 
Your choice: [] 
Parameters for the 'perl Build.PL' command? [] 
Your choice: [] 
or some such. Your choice: [./Build] 
Your choice: [] 
Do you want to allow installing distros that are not indexed as the
highest distro-version for all contained modules (yes, no, ask/yes,
ask/no)? [ask/no] 
Do you want to allow installing distros with decreasing module
versions compared to what you have installed (yes, no, ask/yes,
ask/no)? [ask/no] 
Do you want to use prompt defaults (yes/no)? [no] 
Timeout for inactivity during {Makefile,Build}.PL? [0] 
Timeout for parsing module versions? [15] 
Do you want to halt on failure (yes/no)? [no] 
Your ftp_proxy? [] 
Your http_proxy? [http://127.0.0.1:7890] 
Your no_proxy? [] 
Your proxy user id? [] 
Shall we always set the FTP_PASSIVE environment variable when dealing
with ftp download (yes/no)? [yes] 
Preferred method for determining the current working directory? [cwd] 
Do you want the command number in the prompt (yes/no)? [yes] 
Do you want to turn ornaments on? [yes] 
Do you want to turn on colored output? [no] 
Your terminal expects ISO-8859-1 (yes/no)? [yes] 
File to save your history? [/Users/FengYLBook/.cpan/histfile] 
Number of lines to save? [100] 
Always try to show upload date with 'd' and 'm' command (yes/no)? [no] 
Show all individual modules that have no $VERSION? [no] 
Show all individual modules that have a $VERSION of zero? [no] 
If no urllist has been chosen yet, would you prefer CPAN.pm to connect
to the built-in default sites without asking? (yes/no)? [yes] 
Do you want to turn the pushy_https behaviour on? [yes] 

Would you like me to automatically choose some CPAN mirror
sites for you? (This means connecting to the Internet) [yes] 

Proxy authentication needed!
 (Note: to permanently configure username and password run
   o conf proxy_user your_username
   o conf proxy_pass your_password
     )
Username:  
Password:  
--2023-08-23 18:52:46--  https://cpan.org/MIRRORED.BY
正在连接 127.0.0.1:7890... 已连接。
已发出 Proxy 请求,正在等待回应... 200 OK
长度:1904 (1.9K)
正在保存至: “/Users/FengYLBook/.cpan/sources/MIRRORED.BY.tmp32658”

/Users/FengYLBook/.cpan/sources/MIRRORED.BY.tmp32658 100%[======================================================================================================================>]   1.86K  --.-KB/s  用时 0s      

2023-08-23 18:52:47 (8.22 MB/s) - 已保存 “/Users/FengYLBook/.cpan/sources/MIRRORED.BY.tmp32658” [1904/1904])


Proxy authentication needed!
 (Note: to permanently configure username and password run
   o conf proxy_user your_username
   o conf proxy_pass your_password
     )
Username:  
Warning: Term::ReadKey seems not to be available, your password will be echoed to the terminal!
Password:  



Trying with
    /opt/homebrew/bin/wget -O "/Users/FengYLBook/.cpan/sources/authors/01mailrc.txt.gz.tmp32658"
to get
    https://cpan.org/authors/01mailrc.txt.gz
--2023-08-23 18:52:48--  https://cpan.org/authors/01mailrc.txt.gz
正在连接 127.0.0.1:7890... 已连接。
已发出 Proxy 请求,正在等待回应... 200 OK
长度:266321 (260K) [application/x-gzip]
正在保存至: “/Users/FengYLBook/.cpan/sources/authors/01mailrc.txt.gz.tmp32658”

/Users/FengYLBook/.cpan/sources/authors/01mailrc.txt 100%[======================================================================================================================>] 260.08K   532KB/s  用时 0.5s    

2023-08-23 18:52:50 (532 KB/s) - 已保存 “/Users/FengYLBook/.cpan/sources/authors/01mailrc.txt.gz.tmp32658” [266321/266321])

Reading '/Users/FengYLBook/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE

Proxy authentication needed!
 (Note: to permanently configure username and password run
   o conf proxy_user your_username
   o conf proxy_pass your_password
     )
Username:  
Warning: Term::ReadKey seems not to be available, your password will be echoed to the terminal!
Password:  



Trying with
    /opt/homebrew/bin/wget -O "/Users/FengYLBook/.cpan/sources/modules/02packages.details.txt.gz.tmp32658"
to get
    https://cpan.org/modules/02packages.details.txt.gz
--2023-08-23 18:52:50--  https://cpan.org/modules/02packages.details.txt.gz
正在连接 127.0.0.1:7890... 已连接。
已发出 Proxy 请求,正在等待回应... 200 OK
长度:2500551 (2.4M) [application/x-gzip]
正在保存至: “/Users/FengYLBook/.cpan/sources/modules/02packages.details.txt.gz.tmp32658”

/Users/FengYLBook/.cpan/sources/modules/02packages.d 100%[======================================================================================================================>]   2.38M  1.64MB/s  用时 1.5s    

2023-08-23 18:52:52 (1.64 MB/s) - 已保存 “/Users/FengYLBook/.cpan/sources/modules/02packages.details.txt.gz.tmp32658” [2500551/2500551])

Reading '/Users/FengYLBook/.cpan/sources/modules/02packages.details.txt.gz'
  Database was generated on Wed, 23 Aug 2023 03:54:02 GMT
  HTTP::Date not available
..............
  New CPAN.pm version (v2.36) available.
  [Currently running version is v2.33]
  You might want to try
    install CPAN
    reload cpan
  to both upgrade CPAN.pm and run the new version without leaving
  the current session.


..............................................................DONE

Proxy authentication needed!
 (Note: to permanently configure username and password run
   o conf proxy_user your_username
   o conf proxy_pass your_password
     )
Username:  
Warning: Term::ReadKey seems not to be available, your password will be echoed to the terminal!
Password:  



Trying with
    /opt/homebrew/bin/wget -O "/Users/FengYLBook/.cpan/sources/modules/03modlist.data.gz.tmp32658"
to get
    https://cpan.org/modules/03modlist.data.gz
--2023-08-23 18:52:57--  https://cpan.org/modules/03modlist.data.gz
正在连接 127.0.0.1:7890... 已连接。
已发出 Proxy 请求,正在等待回应... 200 OK
长度:248 [application/x-gzip]
正在保存至: “/Users/FengYLBook/.cpan/sources/modules/03modlist.data.gz.tmp32658”

/Users/FengYLBook/.cpan/sources/modules/03modlist.da 100%[======================================================================================================================>]     248  --.-KB/s  用时 0s      

2023-08-23 18:52:57 (23.7 MB/s) - 已保存 “/Users/FengYLBook/.cpan/sources/modules/03modlist.data.gz.tmp32658” [248/248])

Reading '/Users/FengYLBook/.cpan/sources/modules/03modlist.data.gz'
DONE
Writing /Users/FengYLBook/.cpan/Metadata
Running install for module 'local::lib'

Proxy authentication needed!
 (Note: to permanently configure username and password run
   o conf proxy_user your_username
   o conf proxy_pass your_password
     )
Username:  
Warning: Term::ReadKey seems not to be available, your password will be echoed to the terminal!
Password:  



Trying with
    /opt/homebrew/bin/wget -O "/Users/FengYLBook/.cpan/sources/authors/id/H/HA/HAARG/local-lib-2.000029.tar.gz.tmp32658"
to get
    https://cpan.org/authors/id/H/HA/HAARG/local-lib-2.000029.tar.gz
--2023-08-23 18:52:57--  https://cpan.org/authors/id/H/HA/HAARG/local-lib-2.000029.tar.gz
正在连接 127.0.0.1:7890... 已连接。
已发出 Proxy 请求,正在等待回应... 200 OK
长度:63789 (62K) [application/x-gzip]
正在保存至: “/Users/FengYLBook/.cpan/sources/authors/id/H/HA/HAARG/local-lib-2.000029.tar.gz.tmp32658”

/Users/FengYLBook/.cpan/sources/authors/id/H/HA/HAAR 100%[======================================================================================================================>]  62.29K  --.-KB/s  用时 0.1s    

2023-08-23 18:52:57 (602 KB/s) - 已保存 “/Users/FengYLBook/.cpan/sources/authors/id/H/HA/HAARG/local-lib-2.000029.tar.gz.tmp32658” [63789/63789])


Proxy authentication needed!
 (Note: to permanently configure username and password run
   o conf proxy_user your_username
   o conf proxy_pass your_password
     )
Username:  
Warning: Term::ReadKey seems not to be available, your password will be echoed to the terminal!
Password:  



Trying with
    /opt/homebrew/bin/wget -O "/Users/FengYLBook/.cpan/sources/authors/id/H/HA/HAARG/CHECKSUMS.tmp32658"
to get
    https://cpan.org/authors/id/H/HA/HAARG/CHECKSUMS
--2023-08-23 18:52:57--  https://cpan.org/authors/id/H/HA/HAARG/CHECKSUMS
正在连接 127.0.0.1:7890... 已连接。
已发出 Proxy 请求,正在等待回应... 200 OK
长度:239642 (234K)
正在保存至: “/Users/FengYLBook/.cpan/sources/authors/id/H/HA/HAARG/CHECKSUMS.tmp32658”

/Users/FengYLBook/.cpan/sources/authors/id/H/HA/HAAR 100%[======================================================================================================================>] 234.03K  1.14MB/s  用时 0.2s    

2023-08-23 18:52:58 (1.14 MB/s) - 已保存 “/Users/FengYLBook/.cpan/sources/authors/id/H/HA/HAARG/CHECKSUMS.tmp32658” [239642/239642])

Checksum for /Users/FengYLBook/.cpan/sources/authors/id/H/HA/HAARG/local-lib-2.000029.tar.gz ok
'YAML' not installed, will not store persistent state
Configuring H/HA/HAARG/local-lib-2.000029.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for local::lib
Writing MYMETA.yml and MYMETA.json
  HAARG/local-lib-2.000029.tar.gz
  /opt/homebrew/Cellar/perl/5.36.0/bin/perl Makefile.PL -- OK
Running make for H/HA/HAARG/local-lib-2.000029.tar.gz
cp lib/POD2/DE/local/lib.pod blib/lib/POD2/DE/local/lib.pod
cp lib/POD2/PT_BR/local/lib.pod blib/lib/POD2/PT_BR/local/lib.pod
cp lib/lib/core/only.pm blib/lib/lib/core/only.pm
cp lib/local/lib.pm blib/lib/local/lib.pm
Manifying 4 pod documents
  HAARG/local-lib-2.000029.tar.gz
  /usr/bin/make -- OK
The current configuration of allow_installing_outdated_dists is 'ask/no', but for this option we would need 'CPAN::DistnameInfo' installed. Please install 'CPAN::DistnameInfo' as soon as possible. As long as we are not equipped with 'CPAN::DistnameInfo' this option does not take effect
Running make test for HAARG/local-lib-2.000029.tar.gz
PERL_DL_NONLAZY=1 "/opt/homebrew/Cellar/perl/5.36.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/bad_variables.t ...... ok   
t/carp-mismatch.t ...... ok   
t/classmethod.t ........ ok   
t/de-dup.t ............. ok   
t/lib-core-only.t ...... ok   
t/pipeline.t ........... ok   
t/shell.t .............. ok       
t/stackable.t .......... ok     
t/subroutine-in-inc.t .. ok   
t/taint-mode.t ......... ok   
All tests successful.
Files=10, Tests=245,  2 wallclock secs ( 0.03 usr  0.02 sys +  0.90 cusr  0.99 csys =  1.94 CPU)
Result: PASS
  HAARG/local-lib-2.000029.tar.gz
  /usr/bin/make test -- OK
Running make install for HAARG/local-lib-2.000029.tar.gz
Manifying 4 pod documents
Installing /Users/FengYLBook/perl5/lib/perl5/POD2/PT_BR/local/lib.pod
Installing /Users/FengYLBook/perl5/lib/perl5/POD2/DE/local/lib.pod
Installing /Users/FengYLBook/perl5/lib/perl5/local/lib.pm
Installing /Users/FengYLBook/perl5/lib/perl5/lib/core/only.pm
Installing /Users/FengYLBook/perl5/man/man3/POD2::PT_BR::local::lib.3
Installing /Users/FengYLBook/perl5/man/man3/lib::core::only.3
Installing /Users/FengYLBook/perl5/man/man3/POD2::DE::local::lib.3
Installing /Users/FengYLBook/perl5/man/man3/local::lib.3
Appending installation info to /Users/FengYLBook/perl5/lib/perl5/darwin-thread-multi-2level/perllocal.pod
  HAARG/local-lib-2.000029.tar.gz
  /usr/bin/make install  -- OK

本文由作者按照 CC BY 4.0 进行授权