Changes

From Genome Analysis Wiki
Jump to navigationJump to search
no edit summary
Line 2: Line 2:     
The following are a list of compile errors that have been encountered with recommendations on what they mean and how to fix them.
 
The following are a list of compile errors that have been encountered with recommendations on what they mean and how to fix them.
  −
  −
==== Compile Error on first time building ====
  −
Record the error.
  −
  −
Try to recompile and see if that fixes the problem.  If it does fix the compile error, let me know what the original error was so I can fix the dependency so it compiles in the correct order.
  −
  −
'''NOTE: In the latest version (in development, after 0.1.4), I think I have this fixed.'''
  −
      
==== GenomeSequence.h:30:57: error: openssl/md5.h: No such file or directory ====
 
==== GenomeSequence.h:30:57: error: openssl/md5.h: No such file or directory ====
Line 25: Line 16:     
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'.
        Line 57: Line 44:  
</pre>
 
</pre>
 
Tend to occur if the library directory containing the file has not yet been compiled.  Either compile the entire library by typing make in statgen/ or statgen/lib or compile the subdirectories in the correct order.  lib/general is required for most other library directories.
 
Tend to occur if the library directory containing the file has not yet been compiled.  Either compile the entire library by typing make in statgen/ or statgen/lib or compile the subdirectories in the correct order.  lib/general is required for most other library directories.
 +
 +
 +
=== Old Errors That Should No Longer Exist ===
 +
==== Compile Error on first time building ====
 +
Record the error.
 +
 +
Try to recompile and see if that fixes the problem.  If it does fix the compile error, let me know what the original error was so I can fix the dependency so it compiles in the correct order.
 +
 +
'''NOTE: In the latest version (in development, after 0.1.4), I think I have this fixed.'''
 +
 +
 +
==== 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'.

Navigation menu