Skip to content

Add moar instructions #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2025
Merged
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
23 changes: 21 additions & 2 deletions INTERNALS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
## Build
# Build

## Prerequisites

### MAC OS X

Install the following tools:

```
brew install autoconf automake libtool re2c bison libiconv
```

Add the following to your `~/.bash_profile` or `~/.zshrc`:

```sh
export PATH="$(brew --prefix bison)/bin:$(brew --prefix libiconv)/bin:$PATH"
export LDFLAGS="$LDFLAGS -L$(brew --prefix bison)/lib -L$(brew --prefix libiconv)/lib"
```

Create a new shell session to load the new environment variables.

### Building PHP

Expand Down Expand Up @@ -35,7 +54,7 @@ must be set to adjust the rpath to `$ORIGIN` in the build output.
RUSTFLAGS="-C link-args=-Wl,-rpath,\$ORIGIN" npm run build
```

## Various learnings
# Various learnings

### php://input

Expand Down
Loading