Created originally as part of PW3270 application.
You can download installation package for supported linux distributions in Open Build Service
-
Get lib3270 sources from git
git clone https://github.com/PerryWerneck/lib3270.git ./lib3270
-
Install the required libraries
- autoconf
- automake
- binutils
- coreutils
- gcc-c++
- gettext-devel
- m4
- pkgconfig
- openssl-devel
- 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 )
-
Configure and build
./autogen.sh make clean make all
-
First add the MinGW Repositories for your SuSE version from:
sudo zypper ar obs://windows:mingw:win32 mingw32 sudo zypper ar obs://windows:mingw:win64 mingw64 sudo zypper ref
-
Get lib3270 sources from git
git clone https://github.com/PerryWerneck/lib3270.git ./lib3270
-
Install cross compilers
./lib3270/win/install-cross.sh --all (for 32 and 64 bits)
-
Configure build
./lib3270/win/win-configure.sh --64 (for 64 bits)
-
Build
cd lib3270 make clean make all
-
Install and update MSYS2
- Download and install msys2
- Update msys:
pacman -Syu
Afther this close and reopen mingw shell.
-
Get lib3270 sources from git using the mingw shell
git clone https://github.com/PerryWerneck/lib3270.git ./lib3270
-
Run bundle script
cd lib3270 ./win/bundle.msys --pre-reqs --build
-
Install and update MSYS2
- Download and install msys2
- Update msys:
pacman -Syu
Afther this close and reopen mingw shell.
-
Update system path
- Add c:\msys64\usr\bin and c:\msys64\mingw64\bin to system path
-
Install devel packages using pacman on mingw shell
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.
-
Get lib3270 sources from git using the mingw shell
git clone https://github.com/PerryWerneck/lib3270.git ./lib3270
-
Build library using the mingw shell
cd lib3270 ./autogen.sh make all
-
Install
make install
Install
-
Install homebrew
-
Install dependencies
brew update brew install xz automake binutils coreutils curl gettext libtool openssl pkgconfig brew upgrade
-
Configure, build and install
export PKG_CONFIG_PATH="$(brew --prefix curl)/lib/pkgconfig:$(brew --prefix openssl)/lib/pkgconfig" ./autogen.sh --prefix="$(brew --cellar)/lib3270/5.4" --with-libiconv-prefix=$(brew --prefix gettext) make all && make install brew link lib3270
Uninstall
```shell
brew unlink lib3270
rm -fr "$(brew --cellar)/lib3270"
```
-
Install jhbuild
-
build
jhbuild --moduleset=https://raw.githubusercontent.com/PerryWerneck/lib3270/master/mac/lib3270.modules build lib3270