Front page | perl.perl5.porters |
Postings from March 2008
[perl #51562] Problem and "solution" for building 5.10.0 with win32+mingw+dmake
Thread Next
From:
Kjetil Skotheim
Date:
March 9, 2008 12:56
Subject:
[perl #51562] Problem and "solution" for building 5.10.0 with win32+mingw+dmake
Message ID:
rt-3.6.HEAD-25460-1205082887-399.51562-75-0@perl.org
# New Ticket Created by "Kjetil Skotheim"
# Please include the string: [perl #51562]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=51562 >
This is a bug report for perl from kjetilsk@usit.uio.no,
generated with the help of perlbug 1.36 running under perl 5.10.0.
-----------------------------------------------------------------
[Please enter your report here]
Problem and "solution" for building perl-5.10.0 with Win32+MinGW+dmake
' ' ' ' ' ' ' ' ' ' ' ' Problem: ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '
C:\download\perl-5.10.0\win32> dmake -f makefile.mk
.
.
.
.
.
..\miniperl.exe -I..\lib ..\mkppport
'cd"' is not recognized as an internal or external command,
operable program or batch file.
'cd"' is not recognized as an internal or external command,
operable program or batch file.
WARNING: no such directory: \ext\Time\HiRes
WARNING: no such directory: \ext\Win32API\File
xcopy /f /r /i /d /y ..\*.h ..\lib\CORE\*.*
0 File(s) copied
..\miniperl.exe -I..\lib buildext.pl dmake -S perldll.def ..\ext --dynamic
'cd"' is not recognized as an internal or external command,
operable program or batch file.
\..\miniperl.exe \..\win32\bin\pl2bat.pl \..\win32\bin\pl2bat.pl
'\..\miniperl.exe' is not recognized as an internal or external command,
operable program or batch file.
'cd"' is not recognized as an internal or external command,
operable program or batch file.
Cannot cd to
dmake: Error code 130, while making 'Extensions'
C:\download\perl-5.10.0\win32>
As you can see the problem started in mkppport with:
'cd"' is not recognized...
' ' ' ' ' ' ' ' ' ' ' ' A solution, sort of: ' ' ' ' ' ' ' ' ' ' ' ' ' ' '
' ' '
The complaint about 'cd"' came from sub _os2_cwd in lib/Cwd.pm
What is it doing in _os2_cwd?
I changed:
*_NT_cwd = defined &Win32::GetCwd ? \&_win32_cwd : \&_os2_cwd;
To:
*_NT_cwd = \&_win32_cwd;
On line 681 in lib/Cwd.pm
I understand that this is not a correct solition for the os2-folks, but it
got me through all three stages:
dmake -f makefile.mk
dmake -f makefile.mk test (with some minor fails)
dmake -f makefile.mk install
I did not have the same problem building 5.8.8 on the same computer using
the same tools (mingw+dmake) yesterday.
Keep up the good work! Perl is fantastic!
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=install
severity=critical
---
Site configuration information for perl 5.10.0:
Configured by Tarzan at Sun Mar 9 16:32:06 2008.
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing
-DPERL_MSVCRT_READFIX',
optimize='-s -O2',
cppflags='-DWIN32'
ccversion='', gccversion='3.4.5', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long long',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='g++', ldflags ='-s -L"u:\perl510\lib\CORE" -L"C:\MinGW\lib"'
libpth=C:\MinGW\lib
libs=-lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool
-lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid
-lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32
perllibs=-lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool
-lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid
-lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32
libc=-lmsvcrt, so=dll, useshrplib=true, libperl=libperl510.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-mdll -s -L"u:\perl510\lib\CORE"
-L"C:\MinGW\lib"'
Locally applied patches:
---
@INC for perl 5.10.0:
u:/perl510/lib
u:/perl510/site/lib
.
---
Environment for perl 5.10.0:
HOME (unset)
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=C:\MinGW\bin;C:\Program Files\ActiveState Perl Dev Kit
7.1\bin;C:\Program Files\ActiveState Komodo IDE
4.2\;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Network Associates\PGPNT;C:\Program
Files\QuickTime\QTSystem\;C:\Program Files\Microsoft Network Monitor
3\;C:\MinGW\bin;C:\Program Files\ActiveState Perl Dev Kit
7.1\bin;C:\Program Files\ActiveState Komodo IDE
4.2\;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Network Associates\PGPNT;C:\Program
Files\QuickTime\QTSystem\;C:\Program Files\Microsoft Network Monitor
3\;C:\PROGRA~1\COMMON~1\MUVEET~1\030625
PERL5DB=BEGIN { require 'perl5db.pl'; }
PERL_BADLANG (unset)
SHELL (unset)
Thread Next
-
[perl #51562] Problem and "solution" for building 5.10.0 with win32+mingw+dmake
by Kjetil Skotheim