title: Perl5.12 not installing via Macports
body: <p>When trying to install Imagemagick via Macports, I keep getting an error when it goes to build the perl5.12 dependancy. It says: <code>Error: Status 1 encountered during processing.</code></p>
  
  <p>I’ve tried updating Macports, installing/building perl5.12 independently, uninstalling and reinstalling perl5.12 to no avail. Here’s what error part of the log says:</p>
  
  <pre><code>Making x2p stuff
  :info:build ./perl -f -Ilib pod/buildtoc --build-toc -q
  :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5.12/perl5.12/work/perl-5.12.3/x2p'
  :info:build You haven't done a "make depend" yet!
  :info:build make[1]: *** [hash.o] Error 1
  :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5.12/perl5.12/work/perl-5.12.3/x2p'
  :info:build make: *** [translators] Error 2
  :info:build make: *** Waiting for unfinished jobs....
  :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5.12/perl5.12/work/perl-5.12.3'
  :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5.12/perl5.12/work/perl-5.12.3" &amp;&amp; /usr/bin/make -j2 -w all " returned error 2
  :error:build Target org.macports.build returned: shell command failed (see log for details)
  :debug:build Backtrace: shell command failed (see log for details)
      while executing
  "command_exec build"
      (procedure "portbuild::build_main" line 8)
      invoked from within
  "$procedure $targetname"
  :info:build Warning: the following items did not execute (for perl5.12): org.macports.activate org.macports.build org.macports.destroot org.macports.install
  :error:build Failed to install perl5.12
  :debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
      while executing
  "open [file join $dir tclIndex]"
  :notice:build Log for perl5.12 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5.12/perl5.12/main.log
  </code></pre>
  
  <p><a href="http://z17.me/1Dfm+" rel="nofollow">Here’s the whole log.</a></p>
  
  <p>Does anybody know what’s going on or what I’m doing wrong?</p>