Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Carton を既存の環境に入れるまで入れてから

A3fa7c92c26f1170762202d574c19e20?s=47 soh335
February 22, 2014
140

Carton を既存の環境に入れるまで入れてから

A3fa7c92c26f1170762202d574c19e20?s=128

soh335

February 22, 2014
Tweet

Transcript

  1. $BSUPOΛطଘͷ؀ڥʹೖΕΔ·Ͱ ೖΕ͔ͯΒ TPI ZPLPIBNBQN

  2. DBSUPOԽ͢Δඞ༻͕͋ͬͨ ֤αʔόͰNPEVMFͷWFSTJPO͕৯͍ҧͬͯΔ Մೳੑ͕͋ͬͨ αʔόҠߦͱ͔͋ͬͨ

  3. QSFQBSFGPSDBSUPO

  4. ݱঢ়ͷDQBOpMF͔ΒDBSUPOԽΛࢼΈΔ ݹ͍WFSTJPOΛ࢖ͬͯΔNPEVMF͸௥ैग़དྷ ͦ͏͔ௐ΂Δ DQBOpMFͳ͍ͱೖͬͯΔNPEVMF͔Βੜ੒ͨ͠ ΓͰΊΜͲͦ͘͞͏ͩ

  5. DBSUPOJOTUBMM DBSUPOJOTUBMMͰTOBQTIPU࡞ͬͯEFQMPZ TFSWFSతͳͱ͜ΖͰDBSUPOJOTUBMMŠ EFQMPZNFOUͯ͠MPDBMશ෦ࢃ͘ TOBQTIPU࡞Δ؀ڥͱEFQMPZ͞ΕΔ؀ڥ͕ಉ͡ ํ͕ྑ͍ͱ͸ࢥ͍·͢ɻ

  6. *NBHFSQSPCMFN

  7. *NBHFSΛJOTUBMM͢Δͱɺ΋͠ *NBHFS'JMF 1/(c(*'c+1&( ΋JOTUBMMग़དྷΔ Α͏Ͱ͋Ε͹ೖΕΔɻೖΒͳ͍Α͏ͳΒೖΕͳ ͍ɻ DQBON*NBHFS'JMF1/(Έ͍ͨͳ͜ͱ΋ग़དྷ Δ

  8. requires ‘Imager’; requires ‘Imager::File::PNG’;

  9. requires ‘Imager’; requires ‘Imager::File::PNG’; MJCQOH͕͋Δ৔߹ *NBHFSΛJOTUBMMͨ࣌͠఺Ͱ *NBHFS'JMF1/(΋JOTUBMM͞Ε Δ *NBHFS'JMF1/(͸طʹ͋Δ ͷͰ໌ࣔతʹೖΕͨ͜ͱʹ͸ͳΒͳ͍

    VQUPEBUF  DQBOpMFTOBQTIPUʹه࿥͞Εͣ DBSUPODIFDL͕௨Βͳ͍
  10. requires ‘Imager’; requires ‘Imager::File::PNG’; MJCQOH͕ͳ͍৔߹ *NBHFSΛJOTUBMMͨ࣌͠఺Ͱ ͸*NBHFS'JMF1/(͸JOTUBMM͞ Εͳ͍ MJCQOH͕ͳ͍ͷͰ*NBHFS'JMF1/(͸ JOTUBMMग़དྷͣFSSPSʹͳΔ

  11. requires ‘Imager’;

  12. requires ‘Imager’; *NBHFSΛJOTUBMMͨ࣌͠఺Ͱ *NBHFS'JMF1/(΋JOTUBMM͞Ε Δ MJCQOH͕͋Δ৔߹

  13. requires ‘Imager’; *NBHFS'JMF1/(͕࢖͑Δ ͔Ͳ͏͔͸DBSUPO͚ͩͰ͸൑அ ͕͚ͭΒΕͳ͍ MJCQOH͕ͳ͍৔߹ *NBHFSΛJOTUBMMͨ࣌͠఺Ͱ ͸*NBHFS'JMF1/(͸JOTUBMM͞ Εͳ͍

  14. *NBHFS'JMF1/(͕DBSUPOʹه࿥͞Εͯ DBSUPODIFDLग़དྷΔͷ͕͍͍͚Ͳʜ MJCQOHͱ͔͸ͪΌΜͱೖΔΑ͏ʹαʔόߏங͞Ε ͯΔલఏͱͯ͠requires ‘Imager::File::PNG’͸ ॻ͔ͳ͍΄͏͕ྑ͍ʜ  use_ok ‘Imager::File::PNG’ IUUQTPIIBUFOBCMPHDPNFOUSZ

    
  15. 5JNF1JFDF.Z42- QSPCMFN

  16. requires 'Time::Piece', '>= 1.21'; requires 'Time::Piece::MySQL';

  17. # carton snapshot format: version 1.0 DISTRIBUTIONS Time-Piece-1.23 pathname: R/RJ/RJBS/Time-Piece-1.23.tar.gz

    provides: Time::Piece 1.23 Time::Seconds 1.23 requirements: Exporter 5.57 ExtUtils::MakeMaker 0 Time-Piece-MySQL-0.06 pathname: K/KA/KASEI/Time-Piece-MySQL-0.06.tar.gz provides: Time::Piece 0.06 Time::Piece::MySQL 0.06 requirements: ExtUtils::MakeMaker 0 Test::More 0.47 Time::Piece 1.03
  18. $ carton install —deployment Installing modules using /path/to/cpanfile (deployment mode)

    Found Time::Piece 0.06 which doesn't satisfy 1.21. ! Installing the dependencies failed: Installed version (1.20_01) of Time::Piece is not in range '1.21' ! Bailing out the installation for /path/to/. Installing modules failed
  19. GBJMʜʜ

  20. None
  21. None
  22. ࡞ऀͷਓʹͳ͓ͯ͠΋Β͍͔ͬͯ͘͠ͳ͍͔ͳ ʜ  5FTU.PDL-81Ͱ΋ಉ͡໰୊͕͋ͬͨΈ͍ͨ IUUQTIJCBZVIBUFOBCMPHDPNFOUSZ  IUUQTPIIBUFOBCMPHDPNFOUSZ 

  23. TFUVQDBSUPO

  24. GBUQBDL YT͕ೖΔ͚Ͳ໰୊͸ͳ͍͚Ͳ.͙ Β͍͋Δ  HMPCBMʹDQBON$BSUPO DQBONPEVMFCPPUTUSBQ IUUQ XFCMPHCVMLOFXTOFUQPTU NJZBHBXBDQBONPEVMFCPPUTUSBQ 

    IUUQTIJCBZVIBUFOBCMPHDPNFOUSZ 
  25. *TDBSUPOSFBEZ

  26. $*ͰQBTT͢ΔΑ͏ʹ ࣾ಺ͷϦΫΤετ͚ͩDBSUPO͍ΕͨTFSWFSʹ ޲͚Δ Ұ෦ͷTFSWFSΛDBSUPOͰಈ͔ͯ͠֎͔ΒͷϦ ΫΤετΛগͳΊʹ౰ͯͯΈΔ MPH NFNPSZ DQVFUDʜ XPSLFSͱ͔΋

  27. LBHFతͳ΋ͷ͕͋Ε͹ָͳͷ͔ͳʁ HMPCBMͳ΋ͷ΋ݟΔͷͰ࠷ѱNPEVMF͕ݟ͔ͭ Βͳ͍͍ͬͯ͏Τϥʔ͸ͳ͍͸ͣʜ

  28. BGUFSJOTUBMMFE

  29. DBSUPOFYFDŠʜ`TDPTU

  30. ͱ͋ΔαʔόͰDBSUPO͍Ε͔ͯΒDQVෛՙ͕ มΘͬͨ αʔό؂ࢹͷҝʹසൟʹىಈ͞ΕΔεΫϦϓτ ΛDBSUPOFYFDŠ͍ͯ͠Δͷ͕ݪҼͩͬͨ

  31. None
  32. ͚ͩ͜͜ൈ͖ग़ͨ͠TIFMM TDSJQU͚ͩ༻ҙʜ

  33. DBSUPOXJUI$*

  34. IUUQXXXTPOHNVKQSJKJ FOUSZ DBSUPOIUNM

  35. $ ( branch A ) carton install ! $ (

    branch B ) echo “requires ‘Teng’;” > cpanfile $ ( branch B ) carton install # Teng installed to ./local/lib/perl5 # cpanfile.snapshot is updated ! $ ( branch A ) carton install # cpanfile.snapshot is updated
  36. DBSUPOTOBQTIPU͸MPDBMMJCQFSMBSDNFUBҎԼ ͔Β࡞ΒΕΔ "CSBODIͰrequires ‘Teng’; carton install #CSBODIʹ੾Γସ͑DBSUPOJOTUBMM͢ΔͱTOBQTIPU ʹ5FOHͱґଘNPEVMF͕ه࿥͞Εͯ͠·͏ ࣗಈԽ͢Δʹ͸MPDBMΛαϥʹ͢Δ͔͠ͳ͍͔ͳʁ΋͏ ͪΐͬͱDBSUPOJOTUBMM͕ૣ͘ͳΕ͹αϥʹ͢Δͷ΋

    ؾ͕ͻ͚ͳ͍͸ͣʜʜ