Tuesday, June 15, 2010

Drush Make on Windows

Here is a compilation of information (from posts I've found), that when combined got me drush make to work on my windows box.  Windows 7 has some issues with permissions, but I'm looking into that.

Needed to run:

  1. Once GnuWin32 is installed, rename the copy of tar.exe to something else (tar-old.exe). Tar.exe is old and doesn't do the required things for drush_make.  There's more info on tar.exe on the GnuWin32 site (http://gnuwin32.sourceforge.net/packages/gtar.htm)
  2. Copy bsdtar.exe to tar.exe
  3. run the drush make command: drush -v -d make standard.make Test
Here is the standard.make (example):

; This file was auto-generated by drush_make
core = 6.x

projects[] = "drupal"
; Modules
projects[] = "admin_menu"
projects[] = "dhtml_menu"
projects[] = "porterstemmer"
projects[] = "token"

4 comments:

  1. My Windows 7 issue:
    I changed my TMP and TEMP environemnt settings to something other than C:\Users\\AppData\Local\Temp

    :P

    ReplyDelete
  2. Did you ever resolve your windows 7 permissions issues with the drush make file? I find that make file executes correctly and the directories are made. However I'm unable to run them in my browser until I CHMOD 777 the entire drupal directory. Then I have to CHMOD any additional modules I download to the directory using drush there on after. Meanwhile, if it's a non drush make installation, I don't run into any permissions errors.

    ReplyDelete
  3. The Windows 7 issue was resolved based on my previous post.

    ReplyDelete
  4. For a good how-to on installing Drush
    http://drupal.org/node/594744

    ReplyDelete