Difference between revisions of "LibStatGen Troubleshooting"

From Genome Analysis Wiki
Jump to navigationJump to search
Line 12: Line 12:
 
The package may be called something like: openssl-devel or libssl-dev (on ubuntu).
 
The package may be called something like: openssl-devel or libssl-dev (on ubuntu).
  
==== Validate.cpp:22:21: error: SamFile.h: No such file or directory ====
+
==== error: Sam[filename].h: No such file or directory or "'Sam[classname]' has not been declared" ====
 
This error and other, similar errors with "Sam....h: No such file or directory" or "'Sam...' has not been declared" typically means that the library build failed.  Check for a previous error in your compile.
 
This error and other, similar errors with "Sam....h: No such file or directory" or "'Sam...' has not been declared" typically means that the library build failed.  Check for a previous error in your compile.
  
 
A successful compile of the library will publish SamFile.h and all the other header files from the library into samtools/lib/include.  If one of the programs within the statgen repository fails to compile with one of these errors, then the library did not successfully publish the header files and did not successfully byild.
 
A successful compile of the library will publish SamFile.h and all the other header files from the library into samtools/lib/include.  If one of the programs within the statgen repository fails to compile with one of these errors, then the library did not successfully publish the header files and did not successfully byild.
 +
 +
==== make test produces messages like "ERROR: Missing required tag: LN." and "Can't modify the key tag, ID from pid to pid1" ====
 +
These messages are currently expected.  Some of the tests run by 'make test' test error conditions to make sure they are handled properly.  These error conditions print messages to the screen about the errors.  These messages are expected and are not a failure of 'make test'.

Revision as of 18:00, 24 January 2011

Possible Compile Errors

The following are a list of compile errors that have been encountered with recommendations on what they mean and how to fix them.


GenomeSequence.h:30:57: error: openssl/md5.h: No such file or directory

GenomeSequence requires md5 logic and makes calls to methods defined in md5.h which is found in the openssl library.

The header files are included in the development version of the package.

The package may be called something like: openssl-devel or libssl-dev (on ubuntu).

error: Sam[filename].h: No such file or directory or "'Sam[classname]' has not been declared"

This error and other, similar errors with "Sam....h: No such file or directory" or "'Sam...' has not been declared" typically means that the library build failed. Check for a previous error in your compile.

A successful compile of the library will publish SamFile.h and all the other header files from the library into samtools/lib/include. If one of the programs within the statgen repository fails to compile with one of these errors, then the library did not successfully publish the header files and did not successfully byild.

make test produces messages like "ERROR: Missing required tag: LN." and "Can't modify the key tag, ID from pid to pid1"

These messages are currently expected. Some of the tests run by 'make test' test error conditions to make sure they are handled properly. These error conditions print messages to the screen about the errors. These messages are expected and are not a failure of 'make test'.