Compiling and Installing pblat
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to decompress the pblat installation package:
tar -zxvf pblat-2.1.tar.gz
- Run the following command to switch to the directory that contains decompressed files:
cd pblat-2.1/
- Run the following commands to modify the Makefile file:
- Open Makefile.
vi Makefile
- Press i to enter the insert mode and modify the file as follows:
MACHTYPE=aarch64 CC=gcc
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open Makefile.
- Run the following commands to modify the htmshell.c file:
- Open htmshell.c.
vi lib/htmshell.c
- Run the following command to locate line 714:
:714
- Press i to enter the insert mode and modify line 714 of the file.
if (format != NULL)
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open htmshell.c.
- Run the following command to compile pblat:
make -j16
- Run the following command to move the executable program of pblat to the planned path:
cp pblat /path/to/PBLAT
- Run the following command to add environment variables:
export PATH=/path/to/PBLAT:$PATH
Parent topic: pblat 2.1 Porting Guide (CentOS 7.6)