Difference between revisions of "RT Maintenance"

From Pumping Station One
Jump to navigation Jump to search
Line 8: Line 8:
 
     sudo /usr/bin/perl -MCPAN -e shell
 
     sudo /usr/bin/perl -MCPAN -e shell
 
     cd /home/PS1/hef/rt-4.2.3
 
     cd /home/PS1/hef/rt-4.2.3
 +
    # run make fixdeps in tmux or screen, it takes a _really_ long time
 
     sudo make fixdeps
 
     sudo make fixdeps
  

Revision as of 05:50, 7 July 2014

rebuild perl

Sometimes perl gets broken on the rt system

   rm -rf /usr/bin/vendor_perl
   rm -rf /usr/bin/site_perl
   rm -rf /usr/share/perl5/site_perl
   sudo /usr/bin/perl -MCPAN -e shell
   cd /home/PS1/hef/rt-4.2.3
   # run make fixdeps in tmux or screen, it takes a _really_ long time
   sudo make fixdeps


about perl libs

Since rt is not installed via pacman or the aur, I find it's better to just use cpan to manage perl dependencies.

I found that running make fixdeps with cpan's sudo config cause way to many interuptions. Eventually I got lazy and just run make fixdeps as sudo root.