From 6c8d84b7837d12467129fc3ddfeb728253375a6b Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Tue, 25 Apr 2023 08:14:14 -0300 Subject: [PATCH] Updating build instructions on README.md --- README.md | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index be47d5b..78e7200 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ You can download installation package for supported distributions in Open Build * dbus-1-devel * xz -(This command can make it easy on SuSE: grep -i buildrequires rpm/lib3270.spec | cut -d: -f2 | sudo xargs zypper in ) + (This command can make it easy on SuSE: grep -i buildrequires rpm/lib3270.spec | cut -d: -f2 | sudo xargs zypper in ) 3. Configure and build @@ -104,8 +104,9 @@ You can download installation package for supported distributions in Open Build 3. Install devel packages using pacman on mingw shell ```shell - pacman -S --needed mingw-w64-x86_64-gcc automake autoconf make git pkgconf mingw-w64-x86_64-gettext mingw-w64-x86_64-openssl libtool + 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 ``` + Afther this close and reopen mingw shell. 4. Get lib3270 sources from git using the mingw shell @@ -139,18 +140,15 @@ Install 2. Install dependencies ```shell - brew install automake binutils coreutils curl gettext libtool openssl pkgconfig - ``` - -3. Use [open-keg](https://gist.github.com/andrebreves/5f36e78575e20162ed0a62bd27c4bcea) to make keg-only dependencies available during build process - - ```shell - open-keg curl openldap openssl + brew update + brew install xz automake binutils coreutils curl gettext libtool openssl pkgconfig + brew upgrade ``` -4. Configure, build and install (inside the [open-keg](https://gist.github.com/andrebreves/5f36e78575e20162ed0a62bd27c4bcea) shell opened above) +4. Configure, build and install ```shell + export PKG_CONFIG_PATH="$(brew --prefix curl)/lib/pkgconfig:$(brew --prefix openssl)/lib/pkgconfig" ./autogen.sh --prefix="$(brew --cellar)/lib3270/5.4" make all && make install brew link lib3270 -- libgit2 0.21.2