## WeBWorK Problems

### littleneck.pl missing .... How do I install missing macros from git?

by Daniel An -
Number of replies: 3
Hello,

I upgraded the webwork and the problem libraries by 'git pull' in both webwork2 directory and libraries directory. Both are pointed to *master branch in git. I also did OPL-update and restarted the Apache server. After the upgrade, for some questions in the library I get the error:
Can't locate macro file |littleneck.pl| via path: |.|, |/opt/webwork/...What should I do?Thank you.

### Re: littleneck.pl missing .... How do I install missing macros from git?

by Daniel An -
I poked around and found that the littleneck.pl does exist in macros/Wiley/ directory. Somehow, WeBWork does not know that it should look into this directory. What should I do?

Thank you for any help.

### Re: littleneck.pl missing .... How do I install missing macros from git?

by Michael Gage -
There is a list of locations to look for macros in conf/defaults.config.

#
#  The macro file search path.  Each directory in this list is seached
#  (in this order) by loadMacros() when it looks for a .pl file.
#
$pg{directories}{macrosPath} = [ ".", # search the problem file's directory$courseDirs{macros},
$pg{directories}{macros}, "$courseDirs{templates}/Library/macros/Union",
"$courseDirs{templates}/Library/macros/Michigan", "$courseDirs{templates}/Library/macros/CollegeOfIdaho",
"$courseDirs{templates}/Library/macros/FortLewis", "$courseDirs{templates}/Library/macros/TCNJ",
"$courseDirs{templates}/Library/macros/NAU", "$courseDirs{templates}/Library/macros/Dartmouth",
"$courseDirs{templates}/Library/macros/WHFreeman", "$courseDirs{templates}/Library/macros/UMass-Amherst",
"$courseDirs{templates}/Library/macros/PCC", "$courseDirs{templates}/Library/macros/Alfred",
"$courseDirs{templates}/Library/macros/Wiley", "$courseDirs{templates}/Library/macros/UBC",
"\$courseDirs{templates}/Library/macros/Hope",
];

It appears that the Wiley directory is listed in the standard version of this file.