diff --git a/README.md b/README.md index 9ad6b0a..304177b 100644 --- a/README.md +++ b/README.md @@ -87,21 +87,25 @@ If the tests all pass, no message is displayed. 1. Clone this repository from GitHub. -1. To run embedPy without Internet access, download the kdb+ [C API header file](https://raw.githubusercontent.com/KxSystems/kdb/master/c/c/k.h) and place it in the build directory. +2. To run embedPy without Internet access, download the kdb+ [C API header file](https://raw.githubusercontent.com/KxSystems/kdb/master/c/c/k.h) and place it in the build directory. -1. Build the interface and run the [tests](#test-script). +3. Build the interface and run the [tests](#test-script). ```bash $ make p.so && q test.q ``` -1. Install: put `p.q` and `p.k` in `$QHOME` and `p.so` in `$QHOME/{l64,l32,m64}`. +4. Install: put `p.q` and `p.k` in `$QHOME` and `p.so` in `$QHOME/{l64,l32,m64}`. -**Note** +**Notes** -For ease of install on 32-bit Arm and linux it is suggested that a new user should use a miniconda version of python specific to the architecture being used, `for example rpi for raspberry pi`. This is not an explicit requirement but makes install of embedPy and python packages more seamless. +* For ease of install on 32-bit Arm and linux it is suggested that a new user should use a miniconda version of python specific to the architecture being used, `for example rpi for raspberry pi`. This is not an explicit requirement but makes install of embedPy and python packages more seamless. +* Installation of embedPy on a 32-bit arm system may also necessitate the addition of the `libpython` shared object to an access point available to embedPy. For example if Python is located within `/usr/lib/arm-linux-gnueabihf/` which may not be accessible then creating a symlink to `/usr/lib` will allow the shared object to be located. + ```bash + ln -s /usr/lib /usr/lib/arm-linux-gnueabihf + ``` ### Install with Conda diff --git a/makefile b/makefile index f735f74..c21effa 100644 --- a/makefile +++ b/makefile @@ -8,10 +8,10 @@ ifeq ($(UNAME_S),Linux) OSFLAG = l LDFLAGS = -fPIC -shared ifeq ($(UNAME_M),armv7l) - CFLAGS += $(filter-out -Wwrite-strings,$(CFLAGS)) + CFLAGS := $(filter-out -Wwrite-strings,$(CFLAGS)) else ifeq ($(UNAME_M),armv6l) - CFLAGS += $(filter-out -Wwrite-strings,$(CFLAGS)) + CFLAGS := $(filter-out -Wwrite-strings,$(CFLAGS)) endif endif else ifeq ($(UNAME_S),Darwin)