mdluna has asked for the wisdom of the Perl Monks concerning the following question:
Dear All:
I'm trying to install module MATH::GLPK::SOLVE by using the 'gcc' compiler along with 'dmake'utiliy and can't figure out how to fix dmake: Error code 129. It seems the 'link' command is not valid.
Please shed some light. I'm running Win7 with perl 5, version 14, subversion 2 (v5.14.2) built for MSWin32-x64-multi-thread and I prefer to use gcc as opposed to Visual Studio 2008.
D:\installs\GLPK Linear Programming\Math-GLPK-Solve-0.07>dmake cp Solve.pm blib\lib\Math\GLPK\Solve.pm cp demo.pl blib\lib\Math\GLPK\demo.pl cp Solve.pod blib\lib\Math\GLPK\Solve.pod gcc -c -IC:/gnuwin32/src -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRIC +T -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE +-DPERL_IMPLICIT_CONTE XT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DHASATTRIBUTE -fno-strict-aliasin +g -mms-bitfields -O2 -DVERSION=\"0.07\" -DXS_VERSION=\"0.07 +\" "-IC:\Perl64\lib\ CORE" GLPK_wrap.c GLPK_wrap.c: In function 'SWIG_Perl_ConvertPtr': GLPK_wrap.c:710:15: warning: cast to pointer from integer of different + size [-Wint-to-pointer-cast] GLPK_wrap.c: In function 'SWIG_Perl_GetModule': GLPK_wrap.c:907:22: warning: cast to pointer from integer of different + size [-Wint-to-pointer-cast] GLPK_wrap.c: In function 'SWIG_Perl_SetModule': GLPK_wrap.c:920:3: warning: cast from pointer to integer of different +size [-Wpointer-to-int-cast] Running Mkbootstrap for Math::GLPK::Solve () C:\Perl64\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 Solve.bs C:\Perl64\bin\perl.exe -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Math::GLPK::Solve\", 'DLBASE' => 'Solve' +, 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' +=> []);" dlltool --def Solve.def --output-exp dll.exp link -o blib\arch\auto\Math\GLPK\Solve\Solve.dll -Wl,--base-file -Wl,d +ll.base -mdll -L"C:\Perl64\lib\CORE" GLPK_wrap.o C:\Perl64\lib\CORE +\perl514.lib C:\MinGW \lib\libkernel32.a C:\MinGW\lib\libuser32.a C:\MinGW\lib\libgdi32.a C: +\MinGW\lib\libwinspool.a C:\MinGW\lib\libcomdlg32.a C:\MinGW\lib\liba +dvapi32.a C:\MinGW\li b\libshell32.a C:\MinGW\lib\libole32.a C:\MinGW\lib\liboleaut32.a C:\M +inGW\lib\libnetapi32.a C:\MinGW\lib\libuuid.a C:\MinGW\lib\libws2_32. +a C:\MinGW\lib\libmpr .a C:\MinGW\lib\libwinmm.a C:\MinGW\lib\libversion.a C:\MinGW\lib\libo +dbc32.a C:\MinGW\lib\libodbccp32.a C:\MinGW\lib\libcomctl32.a C:\MinG +W\lib\libmsvcrt.a dll .exp 'link' is not recognized as an internal or external command, operable program or batch file. dmake: Error code 129, while making 'blib\arch\auto\Math\GLPK\Solve\S +olve.dll'
Thanks for your advise.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can't install Perl module with dmake utility
by davido (Cardinal) on Feb 15, 2012 at 07:26 UTC | |
|
Re: Can't install Perl module with dmake utility
by VinsWorldcom (Prior) on Feb 15, 2012 at 13:59 UTC |