Porting to OS/2: Install perl, m4 and autotools(autoconf, automake, libtool)
Many open source projects use autotools to support cross platforms. So it would be better to install autotools. By the way, autotools(autoconf and automake) requires perl // and m4 //(2014/09/08). Therefore, we should install perl first.
Unzip all the zips to x:\, or a sub directory of x:\, where you want to install.
And set env vars before using perl.
And perl 5.8.0 is shipped with an older version of pdksh. So rename it to sh.exe.sav or remove it. It is x:\perl\bin\5.8.0\sh.exe.
To check if perl is installed correctly, use testperl.cmd in x:\perl\bin\5.8.0.
// ----- 2014/09/08
Unzip this and copy m4-1.4.17\usr to x:\usr.
// -----
Now install autotools.
Unfortunately, this distribution has a hard-coded absolute path of perl. So you should build your own installation.
It has configure.cmd and gmake.cmd to build it. Consequently, It will be installed into x:\usr.
// ----- 2016/01/04
You can get newer versions of autoconf from hobbes.
// -----
Like autoconf, you should build your own installation.
// ----- 2016/01/04
You can get newer versions of automake from hobbes.
// -----
Unzip and copy its usr directory to x:\usr.
// ----- 2016/01/04
You can get newer versions of libtool from hobbes.
// -----
perl
Unzip all the zips to x:\, or a sub directory of x:\, where you want to install.
- unzip *.zip -d x:\
And set env vars before using perl.
1 2 3 4 5 6 7 8 | rem plenv.cmd set PATH=x:\Perl\bin\5.8.0;%PATH% set BEGINLIBPATH=x:\Perl\lib;%BEGINLIBPATH% SET PERLLIB_PREFIX=L:/Perl/lib;x:\Perl\lib SET PERL_LIBPATH=L:/Perl/lib;x:\Perl\lib SET PERL_BADFREE=0 SET PERL_BADLANG=0 SET PERL_SH_DIR=x:\bin |
And perl 5.8.0 is shipped with an older version of pdksh. So rename it to sh.exe.sav or remove it. It is x:\perl\bin\5.8.0\sh.exe.
To check if perl is installed correctly, use testperl.cmd in x:\perl\bin\5.8.0.
// ----- 2014/09/08
m4
Unzip this and copy m4-1.4.17\usr to x:\usr.
- unzip m4-1.4.17.zip
- xcopy /s/e/v/h/t/r m4-1.4.17\usr x:\usr\
// -----
Now install autotools.
autoconf
Unfortunately, this distribution has a hard-coded absolute path of perl. So you should build your own installation.
- unzip autoconf-2.69.zip
- cd autoconf-2.69
- unzip autoconf-2.69-src.zip
- cd autoconf-2.69
- configure
- gmake install
It has configure.cmd and gmake.cmd to build it. Consequently, It will be installed into x:\usr.
// ----- 2016/01/04
You can get newer versions of autoconf from hobbes.
// -----
automake
Like autoconf, you should build your own installation.
- unzip automake-1.13.1.zip
- cd automake-1.13.1
- unzip automake-1.13.1-src.zip
- sh ./configure --prefix=/usr
- make install
// ----- 2016/01/04
You can get newer versions of automake from hobbes.
// -----
libtool
Unzip and copy its usr directory to x:\usr.
- unzip libtool-2.4.2.zip
- xcopy /s/e/v/h/t/r libtool-2.4.2\usr x:\usr\
// ----- 2016/01/04
You can get newer versions of libtool from hobbes.
// -----
댓글
댓글 쓰기