We first need to download and save the PennCNV package as zip file from a web browser to local hard drive, and use a unzipping software to unzip the files. In this section we describe the method for running PennCNV under Cygwin. You can access the webpage describing this procedure on using PennCNV Plug-in. If you really like to use Windows, and if you do not want to use command line, you can alternatively try to use PennCNV inside BeadStudio software by the Universal CNV adapter. But if you do not have anything more challenging to do or if you just want to kill some time, then feel free to play the compilation game below. There is no need for compilation or any other complication. IMPORTANT NOTES: My recommendation to Windows users is that you just do these two things: (1) Install 32-bit Perl 5.8.8 from here. These two methods are described in the following two sections. There are two ways to use PennCNV in a Windows system: either install Cygwin and use PennCNV under Cygwin shell, or install ActivePerl and use PennCNV in a regular Windows command shell. See more instructions at the end of this page. You may want to use "perlbrew install perl-thread -multi". Perlbrew defaults the installation to non-threaded and non-multi perl versions. To solve this issue, you can use perlbrew to install a lower version of Perl and run PennCNV on top of that without re-compilation. If other types of error message are issued (such as floating point exception), we need to compile the program, see the compilation section below.įor Solaris, change "gcc" to "cc" in the Makefile, since normally one can create shared libraries with c compiler provided by Solaris, but not gcc itself.ĪDDITIONAL NOTES: If you have problem installing PennCNV in your operating system, it is perhaps due to incompatibility with the latest version of Perl 5.14/5.18 in some systems. If an error message like bad interpreter: No such file or directory is shown, it indicates that Perl is installed in a different directory: try running perl. It will show the program usage information, indicating the successful installation of the program. My guess is that the libperl.a itself is not compiled with -fPIC so there is really just no other way except to install another perl yourself (you can either do it manually as I illustrated below, or use perlbrew). If you see an error message such as "/usr/bin/ld: /opt/perl/lib/5.26.0/x86_64-linux-thread-multi/CORE/libperl.a(op.o): relocation R_X86_64_32S against PL_opargs can not be used when making a shared object recompile with -fPIC", the best solution is just to install a new Perl such as 5.14.2, as explained below in "compilation from source" section. opt/perl/lib/5.26.0/x86_64-linux-thread-multi/CORE/handy.h:111:34: error: bool undeclared (first use in this function)", then just do a sed -i -e '/#undef bool/d' khmm_wrap.c to remove this statement. If you see an error message such as "khmm_wrap.c: In functionSWIG_AsCharPtrAndSize: If there is no error message, the installation is done! Next, enter the kext/ directory, optionally make change to the Makefile, and type make. We will see the new directory, enter this directory, and we will see several Perl programs (file name in the *.pl format), as well as a kext/, lib/, docs/ and example/ subdirectory.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |