[OPEN-ILS-DEV] OpenSRF Makefile, source, bourne shell, bash, dash

Jason Etheridge phasefx at gmail.com
Mon Nov 26 11:12:24 EST 2007


This came up before
(http://list.georgialibraries.org/pipermail/open-ils-dev/2007-July/001451.html),
but I was installing OpenSRF on Kubuntu and got this error:

CFLAGS=-D_LARGEFILE64_SOURCE make verbose
source install.conf && make -C src all
/bin/sh: source: not found
make: *** [verbose] Error 127

"source" is an built-in shell command, and my /bin/sh was symlinked to
dash, which doesn't have "source".

Bash, of course, does have source.  Would it be more portable for us
to change "source" to "." everywhere we use it?

So instead of "source install.conf", for example, we could use ". install.conf"

-- 
Jason Etheridge
 | VP, Community Support and Advocacy
 | Equinox Software, Inc. / The Evergreen Experts
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  jason at esilibrary.com
 | web:  http://www.esilibrary.com


More information about the Open-ils-dev mailing list