Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions stream_engine_meos.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
package main

/*
#cgo CFLAGS: -I/usr/local/include
#cgo LDFLAGS: -lmeos
#cgo pkg-config: meos
#include <stdlib.h>
#include <meos.h>
*/
Expand Down
4 changes: 4 additions & 0 deletions tutorial-stream/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ in-process engine live in one tier (each named cluster engine still requires its
MFAPI_DSN=<dsn> LD_LIBRARY_PATH=/usr/local/lib ./mfapi
```

The build reads MEOS's own `meos.pc`, so a libmeos installed somewhere other
than `/usr/local` is named once, by pointing `PKG_CONFIG_PATH` at the
prefix's `lib/pkgconfig` and `LD_LIBRARY_PATH` at its `lib`.

The default (cgo-free) build serves every other endpoint but reports the
streaming engine as not built (`501`). Point the notebook at another host with
the `MFAPI_HOST` environment variable.
Expand Down
Loading