pdb2ppm

Resource

FTP site
Web site
http://minerva.jaist.ac.jp:8080/hobby/palm/

Pre-requisite

Required: None
Optional: None

pdb2ppm-0.1

% wget http://minerva.jaist.ac.jp:8080/hobby/palm/pdb2ppm-0.1.tar.gz
% gtar zxvf pdb2ppm-0.1.tar.gz
% cd pdb2ppm-0.1
% cp pdb2ppm.c pdb2ppm.c.dist
% vi pdb2ppm.c
% diff pdb2ppm.c.dist pdb2ppm.c
17c17
< #include 
---
> /* #include  */
29c29,30
<     errx (1, "Usage: %s pdbfile > outfile.ppm", argv[0]);
---
>     /* errx (1, "Usage: %s pdbfile > outfile.ppm", argv[0]); */
>     printf ("Usage: %s pdbfile > outfile.ppm", argv[0]);
33c34,35
<     err (1, "opening file %s", argv[1]);
---
>     /* err (1, "opening file %s", argv[1]); */
>     printf ("opening file %s", argv[1]);
39c41,42
<     errx (1, "Error: %s is not Image file.", argv[1]);
---
>     /* errx (1, "Error: %s is not Image file.", argv[1]); */
>     printf ("Error: %s is not Image file.", argv[1]);
% make
% su
# cp pdb2ppm /usr/local/bin