Hi Bill, The OpenSRF install doesn't appear to be creating those symlinks, even with an `autoreconf -i`. In fact, OpenSRF doesn't appear to create anything under /openils/var/web. The web folder doesn't exist unless I also install Evergreen, at which time symlinks are created for the other JS files, but not for opensrf_ws_shared.js.
Warren On Mon, Mar 10, 2014 at 8:50 AM, Bill Erickson <[email protected]>wrote: > > > On Sun, Mar 9, 2014 at 9:09 PM, Warren A. Layton > <[email protected]>wrote: > >> Sorry -- I hit send too quickly. Here is the screenshot of Chrome's >> Javascript console with the error displayed, as promised. >> >> As I said the added symlink resolves this. >> >> Cheers, >> Warren >> >> >> On Sun, Mar 9, 2014 at 9:08 PM, Warren A. Layton <[email protected] >> > wrote: >> >>> Hi Bill, >>> >>> Just starting to go through the README.websockets file and noticed a >>> small typo. After copying the apache2.conf file to >>> /etc/apache2-websockets/, there are the following commented lines: >>> >>> # OPTIONAL: add these configuration variables to >>> # /etc/init.d/apache2-websockets/envvars and adjust as needed. >>> >>> I believe that the path in second line should be >>> "/etc/apache2-websockets/envvars" instead of >>> "/etc/init.d/apache2-websockets/envvars". >>> >>> I made one other little change in the description of the last step, too. >>> A diff is attached. >>> >> > Good catch. I've pushed your patch to the working branch. > > >> >>> I actually managed to see the alerts but I had to overcome one small >>> obstacle. Although the static content was displayed, the >>> opensrf_ws_shared.js file wasn't found (see attached screenshot). >>> >>> Simply adding a symlink with the following command did the trick: >>> `ln -s /openils/lib/javascript/opensrf_ws_shared.js >>> /openils/var/web/js/dojo/opensrf/opensrf_ws_shared.js` >>> >> > Hmm, the OpenSRF install should be doing this for you. I just confirmed > on my test server. Maybe try an "autoreconf -i" before configure/make? > > Thanks, Warren! > > -b > > -- > Bill Erickson > | Senior Software Developer > | phone: 877-OPEN-ILS (673-6457) > | email: [email protected] > | web: http://esilibrary.com > | Equinox Software, Inc. / The Open Source Experts > >
