Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by rsk82 (Initiate)
on May 27, 2013 at 18:36 UTC ( #1035448=perlquestion: print w/ replies, xml ) Need Help??
rsk82 has asked for the wisdom of the Perl Monks concerning the following question:

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

Comment on dmake can't find config.h, and collector throws error when trying to compile perl-static.exe (perl-5.18.0 / mingw / 32b)
Select or Download Code
Re: dmake can't find config.h, and collector throws error when trying to compile perl-static.exe (perl-5.18.0 / mingw / 32b)
by Anonymous Monk on May 28, 2013 at 04:30 UTC

      I've tried this config:

      compiler: http://sourceforge.net/projects/perlmingw/files/Compiler%20f +or%2032%20bit%20Windows/mingw-w32-for-perl-20130519-4.6.4.7z perl: http://www.cpan.org/src/5.0/perl-5.18.0.tar.gz dmake: http://code.google.com/a/apache-extras.org/p/dmake/downloads/de +tail?name=dmake-win32-4.12.zip&can=2&q= path: C:\WINDOWS\system32;C:\WINDOWS;d:\dmake;d:\mingw32\bin;d:\perl-5 +.18.0;d:\perl-5.18.0\win32 system: windows xp 32b

      Result is the same - failure, raw log: http://pastebin.com/raw.php?i=hLXaeH81 Second. I've downloaded http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Automated%20Builds/mingw-w32-bin_x86_64-linux_20130528.tar.bz2 from the second project and this seem to be no compiled version, do I have to compile it myself in another gcc or what ? No exe files inside.

        ... from the second project and this seem to be no compiled version, do I have to compile it myself in another gcc or what ? No exe files inside.

        yes, kind of why strawberryperl/citrusperl/perlmingw provide binaries

        Here is idea, strawberryperl 5.18.0 comes with mingw compiler it was compiled with, so try that :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1035448]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2014-07-12 02:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (238 votes), past polls