[Crossfire-wiki] [Crossfire DokuWiki] page changed: dev:check

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Wed Apr 17 22:45:37 CDT 2013


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2013/04/17 22:45
User        : kbulgrien
Edit Summary: Add an alternative to setting a per-user LD_LIBRARY_PATH.

@@ -22,18 +22,23 @@
    if ! which checkmk; then \
      echo -e "\nexport PATH=\"\$\{PATH\}:/usr/local/bin\""; \
    fi >>~/.bash_profile
    . ~/.bash_profile</code>
-   - As needed, modify the user environment to establish the location of the ''check.pc'' file.  In BASH, following is viable:<code>
+   - As needed, modify the user environment to establish the location of the ''check'' resources.  In BASH, following is viable:<code>
    if pkg-config --uninstalled check; then \
      echo -e "\nexport PKG_CONFIG_PATH=\"\$\{PKG_CONFIG_PATH\}:/usr/local/lib/pkgconfig\""; \
      echo -e "export LD_LIBRARY_PATH=\"\$\{LD_LIBRARY_PATH\}:/usr/local/lib\"\n"; \
    fi >>~/.bash_profile
    . ~/.bash_profile</code>
+   - As needed, and in lieu of defining a per-user ''LD_LIBRARY_PATH'', the following may be viable for certain operating environments:<code>
+   if [ -d /etc/ld.so.conf.d ]; then \
+     sudo echo "/usr/local/lib" >/etc/ld.so.conf.d/check.conf; \
+     sudo ldconfig -v | grep check; \
+   fi</code>
  
  ===== Verification =====
  
  If the check framework is installed correctly, the server ''./configure'' or ''autogen.sh'' output should include:<code>
    configure:     Will process unit testing?           yes (will generate report)
    configure:       (run make; make -k check)
    configure:</code>
  


IP-Address  : 70.254.43.42
Old Revision: http://wiki.metalforge.net/doku.php/dev:check?rev=1366253274
New Revision: http://wiki.metalforge.net/doku.php/dev:check

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/



More information about the crossfire-wiki mailing list