[Dock-fans] Dock 6.2 Installation

Scott Brozell sbrozell at scripps.edu
Wed Sep 3 01:46:45 PDT 2008


Hi,

On Fri, 29 Aug 2008, Imtiaz M. wrote:

> I am trying to install Dock 6.2 on SuSE 11.0 installed on (ACER Aspire 5630)
> and getting different errors as shown below.
> 
> Starting installation of
> DOCK v6.2
> at Fri Aug 29 09:45:22 BST 2008.
> 
> cd ../src && make install
> make[1]: Entering directory `/home/imtiaz/bin/dock6/src'
> cd dock && make install
> make[2]: Entering directory `/home/imtiaz/bin/dock6/src/dock'
> g++ -c  -O2 -o amber_typer.o  amber_typer.cpp
> amber_typer.cpp: In function 'char* white_line(char*)':
> amber_typer.cpp:15: error: 'strlen' was not declared in this scope
> amber_typer.cpp: In function 'int assign_node(ATOM_TYPE_NODE&, int)':
> amber_typer.cpp:66: error: 'strtok' was not declared in this scope
> amber_typer.cpp:66: error: 'strcpy' was not declared in this scope
> amber_typer.cpp:87: error: 'strncmp' was not declared in this scope
> amber_typer.cpp: In function 'int check_type(const char*, const char*)':
> amber_typer.cpp:125: error: 'strstr' was not declared in this scope
> amber_typer.cpp: In constructor 'ATOM_TYPE::ATOM_TYPE()':
> amber_typer.cpp:251: error: 'INT_MIN' was not declared in this scope

This was reported before:
http://blur.compbio.ucsf.edu/pipermail/dock-fans/2008-July/001672.html
easily found via
http://dock.compbio.ucsf.edu/DOCK_6/index.htm#searchdockfans
enter this search:
error: 'strlen' was not declared in this scope

There are several missing C header includes in files:
amber_typer.cpp conf_gen.cpp grid.cpp orient.cpp
score_chemgrid.cpp simplex.cpp sphere.cpp utils.cpp 

diff -r1.12 amber_typer.cpp
1a2,4
> #include <limits.h>
> #include <stdio.h>
> #include <string.h>

diff -r1.34 conf_gen.cpp
2a3
> #include <limits.h>

diff -r1.14 grid.cpp
7a8
> #include <stdio.h>

diff -r1.29 orient.cpp
2a3
> #include <stdio.h>

diff -r1.41 score_chemgrid.cpp
34a35
> #include <stdio.h>

diff -r1.35 simplex.cpp
1a2
> #include <stdlib.h>

diff -r1.7 sphere.cpp
2a3,4
> #include <stdio.h>
> #include <string.h>

diff -r1.14 utils.cpp
1a2
> #include <string.h>


If you find others then please report them.
My test platforms do not complain about missing headers.

thanks,
Scott




More information about the Dock-fans mailing list