Commit 6c8d84b7837d12467129fc3ddfeb728253375a6b
1 parent
2fa1f836
Exists in
develop
Updating build instructions on README.md
Showing
1 changed file
with
8 additions
and
10 deletions
Show diff stats
README.md
| ... | ... | @@ -37,7 +37,7 @@ You can download installation package for supported distributions in Open Build |
| 37 | 37 | * dbus-1-devel |
| 38 | 38 | * xz |
| 39 | 39 | |
| 40 | -(This command can make it easy on SuSE: grep -i buildrequires rpm/lib3270.spec | cut -d: -f2 | sudo xargs zypper in ) | |
| 40 | + (This command can make it easy on SuSE: grep -i buildrequires rpm/lib3270.spec | cut -d: -f2 | sudo xargs zypper in ) | |
| 41 | 41 | |
| 42 | 42 | 3. Configure and build |
| 43 | 43 | |
| ... | ... | @@ -104,8 +104,9 @@ You can download installation package for supported distributions in Open Build |
| 104 | 104 | 3. Install devel packages using pacman on mingw shell |
| 105 | 105 | |
| 106 | 106 | ```shell |
| 107 | - pacman -S --needed mingw-w64-x86_64-gcc automake autoconf make git pkgconf mingw-w64-x86_64-gettext mingw-w64-x86_64-openssl libtool | |
| 107 | + pacman -S --needed zip dos2unix mingw-w64-x86_64-gcc automake autoconf make git pkgconf mingw-w64-x86_64-gettext gettext-devel mingw-w64-x86_64-openssl libtool | |
| 108 | 108 | ``` |
| 109 | + | |
| 109 | 110 | Afther this close and reopen mingw shell. |
| 110 | 111 | |
| 111 | 112 | 4. Get lib3270 sources from git using the mingw shell |
| ... | ... | @@ -139,18 +140,15 @@ Install |
| 139 | 140 | 2. Install dependencies |
| 140 | 141 | |
| 141 | 142 | ```shell |
| 142 | - brew install automake binutils coreutils curl gettext libtool openssl pkgconfig | |
| 143 | - ``` | |
| 144 | - | |
| 145 | -3. Use [open-keg](https://gist.github.com/andrebreves/5f36e78575e20162ed0a62bd27c4bcea) to make keg-only dependencies available during build process | |
| 146 | - | |
| 147 | - ```shell | |
| 148 | - open-keg curl openldap openssl | |
| 143 | + brew update | |
| 144 | + brew install xz automake binutils coreutils curl gettext libtool openssl pkgconfig | |
| 145 | + brew upgrade | |
| 149 | 146 | ``` |
| 150 | 147 | |
| 151 | -4. Configure, build and install (inside the [open-keg](https://gist.github.com/andrebreves/5f36e78575e20162ed0a62bd27c4bcea) shell opened above) | |
| 148 | +4. Configure, build and install | |
| 152 | 149 | |
| 153 | 150 | ```shell |
| 151 | + export PKG_CONFIG_PATH="$(brew --prefix curl)/lib/pkgconfig:$(brew --prefix openssl)/lib/pkgconfig" | |
| 154 | 152 | ./autogen.sh --prefix="$(brew --cellar)/lib3270/5.4" |
| 155 | 153 | make all && make install |
| 156 | 154 | brew link lib3270 | ... | ... |