【求助】window下用nmake安装perl模块遇到问题
pengchy
|
1#
pengchy 发表于 2007-06-16 23:28
【求助】window下用nmake安装perl模块遇到问题
由于ppm仓库中没有所需要的模块,不得不从源码编译,所以就用到nmake,我是这样使用的。
在c:根目录下建立文件夹nmake,把由NMAKE.EXE产生的三个文件连同NMAKE.EXE一起放入文件夹nmake. 在环境变量PATH中加入c:\nmake\,从命令行界面进入要安装的模块目录下:
[Copy to clipboard] [ - ]
CODE:
G:\software\TFBS-0.5.0>perl Makefile.PL LIB=g:\TFBS
Do you have write access to a MySQL database server? [n] n Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lm Note (probably harmless): No library found for oldnames.lib Note (probably harmless): No library found for kernel32.lib Note (probably harmless): No library found for user32.lib Note (probably harmless): No library found for gdi32.lib Note (probably harmless): No library found for winspool.lib Note (probably harmless): No library found for comdlg32.lib Note (probably harmless): No library found for advapi32.lib Note (probably harmless): No library found for shell32.lib Note (probably harmless): No library found for ole32.lib Note (probably harmless): No library found for oleaut32.lib Note (probably harmless): No library found for netapi32.lib Note (probably harmless): No library found for uuid.lib Note (probably harmless): No library found for ws2_32.lib Note (probably harmless): No library found for mpr.lib Note (probably harmless): No library found for winmm.lib Note (probably harmless): No library found for version.lib Note (probably harmless): No library found for odbc32.lib Note (probably harmless): No library found for odbccp32.lib Note (probably harmless): No library found for msvcrt.lib Writing Makefile for TFBS::Ext::pwmsearch Writing Makefile for TFBS the next step
[Copy to clipboard] [ - ]
CODE:
G:\software\TFBS-0.5.0>nmake
Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. cp TFBS/Matrix/PFM.pm blib\lib\TFBS\Matrix\PFM.pm cp TFBS/Tools/SetOperations.pm blib\lib\TFBS\Tools\SetOperations.pm cp TFBS/PatternI.pm blib\lib\TFBS\PatternI.pm cp TFBS/PatternGen/YMF.pm blib\lib\TFBS\PatternGen\YMF.pm cp TFBS/DB/TRANSFAC.pm blib\lib\TFBS\DB\TRANSFAC.pm cp TFBS/PatternGen/Gibbs/Motif.pm blib\lib\TFBS\PatternGen\Gibbs\Motif.pm cp TFBS/Word/Consensus.pm blib\lib\TFBS\Word\Consensus.pm cp TFBS/DB.pm blib\lib\TFBS\DB.pm cp TFBS/SiteSet.pm blib\lib\TFBS\SiteSet.pm cp TFBS/DB/LocalTRANSFAC.pm blib\lib\TFBS\DB\LocalTRANSFAC.pm cp TFBS/PatternGen/AnnSpec.pm blib\lib\TFBS\PatternGen\AnnSpec.pm cp TFBS/Matrix/_Alignment.pm blib\lib\TFBS\Matrix\_Alignment.pm cp TFBS/PatternGen/Motif/Word.pm blib\lib\TFBS\PatternGen\Motif\Word.pm cp TFBS/PatternGen/MEME.pm blib\lib\TFBS\PatternGen\MEME.pm cp TFBS/PatternGen/Gibbs.pm blib\lib\TFBS\PatternGen\Gibbs.pm cp TFBS/PatternGen/Elph.pm blib\lib\TFBS\PatternGen\Elph.pm cp TFBS/DB/JASPAR4.pm blib\lib\TFBS\DB\JASPAR4.pm cp TFBS/PatternGenI.pm blib\lib\TFBS\PatternGenI.pm cp TFBS/Matrix/ICM.pm blib\lib\TFBS\Matrix\ICM.pm cp TFBS/PatternGen/YMF/Motif.pm blib\lib\TFBS\PatternGen\YMF\Motif.pm cp TFBS/SitePairSet.pm blib\lib\TFBS\SitePairSet.pm cp TFBS/PatternGen/Elph/Motif.pm blib\lib\TFBS\PatternGen\Elph\Motif.pm cp TFBS/_Iterator/_MatrixSetIterator.pm blib\lib\TFBS\_Iterator\_MatrixSetIterat or.pm cp TFBS/Site.pm blib\lib\TFBS\Site.pm cp TFBS/_Iterator.pm blib\lib\TFBS\_Iterator.pm cp TFBS/PatternGen/MEME/Motif.pm blib\lib\TFBS\PatternGen\MEME\Motif.pm cp TFBS/DB/FlatFileDir.pm blib\lib\TFBS\DB\FlatFileDir.pm cp TFBS/PatternGen.pm blib\lib\TFBS\PatternGen.pm cp TFBS/MatrixSet.pm blib\lib\TFBS\MatrixSet.pm cp TFBS/PatternGen/SimplePFM.pm blib\lib\TFBS\PatternGen\SimplePFM.pm cp TFBS/Word.pm blib\lib\TFBS\Word.pm cp TFBS/Matrix.pm blib\lib\TFBS\Matrix.pm cp TFBS/DB/JASPAR2.pm blib\lib\TFBS\DB\JASPAR2.pm cp TFBS/PatternGen/AnnSpec/Motif.pm blib\lib\TFBS\PatternGen\AnnSpec\Motif.pm cp TFBS/PatternGen/Motif/Matrix.pm blib\lib\TFBS\PatternGen\Motif\Matrix.pm cp TFBS/Matrix/PWM.pm blib\lib\TFBS\Matrix\PWM.pm cp TFBS/_Iterator/_SiteSetIterator.pm blib\lib\TFBS\_Iterator\_SiteSetIterator.p m cp TFBS/SitePair.pm blib\lib\TFBS\SitePair.pm NMAKE -f Makefile all -nologo cp pwmsearch.pm ..\blib\lib\TFBS\Ext\pwmsearch.pm cp lib/pwm_search.h ..\blib\lib\pwm_search.h cp lib/pwm_searchPFF.c ..\blib\lib\pwm_searchPFF.c C:\perl\bin\perl.exe C:\perl\lib\ExtUtils\xsubpp -typemap C:\perl\lib\E xtUtils\typemap pwmsearch.xs > pwmsearch.xsc && C:\perl\bin\perl.exe -MExtUtils ::Command -e mv pwmsearch.xsc pwmsearch.c Please specify prototyping behavior for pwmsearch.xs (see perlxs manual) cl -c -I. -I./lib -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONS OLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPL ICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DND EBUG -O1 -DVERSION=\"0.2\" -DXS_VERSION=\"0.2\" "-IC:\perl\lib\CORE" pwms earch.c 'cl' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 NMAKE : fatal error U1077: 'E:\WINDOWS\system32\cmd.exe' : return code '0x1' Stop. NMAKE : fatal error U1077: 'E:\WINDOWS\system32\cmd.exe' : return code '0x2' Stop. G:\software\TFBS-0.5.0>
[Copy to clipboard] [ - ]
CODE:
G:\software\TFBS-0.5.0>nmake test
Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. NMAKE -f Makefile all -nologo cl -c -I. -I./lib -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONS OLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPL ICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DND EBUG -O1 -DVERSION=\"0.2\" -DXS_VERSION=\"0.2\" "-IC:\perl\lib\CORE" pwms earch.c 'cl' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 NMAKE : fatal error U1077: 'E:\WINDOWS\system32\cmd.exe' : return code '0x1' Stop. NMAKE : fatal error U1077: 'E:\WINDOWS\system32\cmd.exe' : return code '0x2' Stop. the next step
[Copy to clipboard] [ - ]
CODE:
G:\software\TFBS-0.5.0>nmake install
Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. NMAKE -f Makefile all -nologo cl -c -I. -I./lib -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONS OLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPL ICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DND EBUG -O1 -DVERSION=\"0.2\" -DXS_VERSION=\"0.2\" "-IC:\perl\lib\CORE" pwms earch.c 'cl' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 NMAKE : fatal error U1077: 'E:\WINDOWS\system32\cmd.exe' : return code '0x1' Stop. NMAKE : fatal error U1077: 'E:\WINDOWS\system32\cmd.exe' : return code '0x2' Stop. 各位达人看看这是为什么?该怎么处理啊?急用这个模块,一直搞不定,快疯掉了。 thanks a billion!!! |