develooper Front page | perl.perl5.porters | Postings from May 2013

dmake can't find config.h, and collector throws error when trying to compile perl-static.exe (perl-5.18.0 / mingw / 32b)

Thread Next
From:
R. S.
Date:
May 27, 2013 22:19
Subject:
dmake can't find config.h, and collector throws error when trying to compile perl-static.exe (perl-5.18.0 / mingw / 32b)
Message ID:
BLU0-SMTP3348D84EFCC5A6F1CA20B0CC3960@phx.gbl
dmake: http://code.google.com/a/apache-extras.org/p/dmake/downloads/detail?name=dmake-win32-4.12.zip&can=1&q=

compiler: http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.0/32-bit/threads-posix/sjlj/x32-4.8.0-release-posix-sjlj-rev2.7z 

perl: http://www.cpan.org/src/5.0/perl-5.18.0.tar.gz 

first what dmake puts out: 
dmake -f makefile.mk
====================== 
del /f config.h
Can not find D:\perl\win32\config.h.
copy config_H.gc config.h
Number of copied files:         1.


and in the end 
d:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../i686-w64-
+mingw32/bin/ld.exe: ..\libperl518s.a(perllib.o): bad reloc address 0x
+0 in section `.data'
collect2.exe: error: ld returned 1 exit status
dmake:  Warning: -- Found file corresponding to virtual target [..\uud
+map.h].
dmake:  Error code 129, while making '..\perl-static.exe'


my makefile.mk diff 
24,25c24,25
< INST_DRV    *= d:
< INST_TOP    *= $(INST_DRV)\perl_compiled
---
> INST_DRV    *= c:
> INST_TOP    *= $(INST_DRV)\perl
171c171
< BUILD_STATIC    *= define
---
> #BUILD_STATIC    *= define
180c180
< ALL_STATIC    *= define
---
> #ALL_STATIC    *= define
190c190
< CCHOME        *= d:\mingw32
---
> CCHOME        *= C:\MinGW


here you have complete raw compilation log : http://pastebin.com/raw.php?i=V3yqTAmJ


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About