Subject: | compile failed on Win 7 x64 |
Hi, it's me again :)
If I try to install Prima 1.28 here on Windows 7 Professional x64, I
cannot compile. Again, this a something I don't know anything about, so I
attached the log.
I tried to do as said by the Makefile.PL, running C:
\PROGRA~2\MICROS~1.0\VC\BIN\nmake.exe and by using dmake, because, as far
as I know, nmake does not work with 64bit OS.
hth, Alex
Subject: | prima.dmake.log.txt |
C:\zwischen\Prima\Prima-1.28>dmake
Creating directories...
C:\Perl\bin\perl.exe -I. utils/gencls.pl --inc --h --tml Types.cls include/gener
ic
C:\Perl\bin\perl.exe -I. utils/gencls.pl --inc --h --tml Object.cls include/gene
ric
C:\Perl\bin\perl.exe -I. utils/gencls.pl --inc --h --tml Component.cls include/g
eneric
C:\Perl\bin\perl.exe -I. utils/gencls.pl --inc --h --tml AbstractMenu.cls includ
e/generic
C:\Perl\bin\perl.exe -I. utils/gencls.pl --inc --h --tml Drawable.cls include/ge
neric
C:\Perl\bin\perl.exe -I. utils/gencls.pl --inc --h --tml Image.cls include/gener
ic
C:\Perl\bin\perl.exe -I. utils/gencls.pl --inc --h --tml Menu.cls include/generi
c
C:\Perl\bin\perl.exe -I. utils/gencls.pl --inc --h --tml Widget.cls include/gene
ric
cl -nologo -GF -W3 -MD -Zi -Ox -GL -Wp64 -fp:precise -W3 -WX -nologo -MD -Zi -Ox
-GL -Wp64 -fp:precise -D_CRT_SECURE_NO_DEPRECATE -c -Iinclude -Iinclude\generic
-IC:\Perl\lib\CORE -IC:\Perl\site\lib\Prima\codecs\win32\include -DHAVE_CONFIG_
H=1 -FoAbstractMenu.obj AbstractMenu.c
cl : Befehlszeile warning D9035 : Die Option "Wp64" ist veraltet und wird in ein
er der nächsten Versionen entfernt.
cl : Befehlszeile warning D9035 : Die Option "Wp64" ist veraltet und wird in ein
er der nächsten Versionen entfernt.
AbstractMenu.c
C:\Perl\lib\CORE\sys/socket.h(34) : error C2220: Warnung wird als Fehler interpr
etiert, es wurde keine object-Datei generiert.
C:\Perl\lib\CORE\sys/socket.h(34) : warning C4005: 'ENOTSOCK': Makro-Neudefiniti
on
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\errno.h(1
20): Siehe vorherige Definition von 'ENOTSOCK'
C:\zwischen\Prima\Prima-1.28\include\apricot.h(341) : fatal error C1189: #error
: "Cannot find adequate integer type"
dmake: Error code 130, while making 'AbstractMenu.obj'
C:\zwischen\Prima\Prima-1.28>
Subject: | prima.nmake.log.txt |
C:\zwischen\Prima\Prima-1.28>perl Makefile.PL
Setting up working environment.
Determining compiler type... Microsoft Visual C++
Version: 1.28
Checking if can compile... yes
Checking if can link... yes
Checking for library oldnames.lib... yes
Checking for library kernel32.lib... yes
Checking for library user32.lib... yes
Checking for library gdi32.lib... yes
Checking for library winspool.lib... yes
Checking for library comdlg32.lib... yes
Checking for library advapi32.lib... yes
Checking for library shell32.lib... yes
Checking for library ole32.lib... yes
Checking for library oleaut32.lib... yes
Checking for library netapi32.lib... yes
Checking for library uuid.lib... yes
Checking for library ws2_32.lib... yes
Checking for library mpr.lib... yes
Checking for library winmm.lib... yes
Checking for library version.lib... yes
Checking for library odbc32.lib... yes
Checking for library odbccp32.lib... yes
Checking for library comctl32.lib... yes
Checking for library bufferoverflowU.lib... no
Checking for library msvcrt.lib... yes
Checking for X11 headers...no
Checking for perl library... yes, in C:\Perl\lib\CORE
Checking for presence of io.h... yes
Checking for presence of unistd.h... no
Checking for presence of strings.h... no
Checking for presence of sys/types.h... yes
Checking for presence of type int8_t... no
Checking for presence of sys/bitypes.h... no
Checking for presence of sys/inttypes.h... no
Checking for presence of stdint.h... yes
Checking for presence of type int8_t... yes
Checking for presence of type int16_t... yes
Checking for presence of type int32_t... yes
Checking for presence of type uint8_t... no
Checking for presence of type uint8_t... yes
Checking for presence of type uint16_t... yes
Checking for presence of type uint32_t... yes
Checking for presence of type uint64_t... yes
Checking for presence of type u_int8_t... no
Checking for presence of type u_int8_t... no
Checking for presence of string.h... yes
Checking for function strcasecmp... no
Checking for function strncasecmp... no
Checking for function strcasestr... no
Checking for presence of stdio.h... yes
Checking for function snprintf... no
Checking for function _snprintf... yes
Checking for presence of stdlib.h... yes
Checking for function reallocf... no
Checking for function bzero... no
Checking for presence of type BOOLEAN... yes
Checking for inline... __inline
Creating include/generic/config.h
Checking for Prima::codecs::win32... yes
Checking for prigraph library... no
Checking for jpeg library... yes
Checking for png library... yes
Checking for tiff library... yes
Checking for ungif library... yes
Checking for X11 library... yes
Checking for Xpm library... yes
Enumerating POD files
Creating Prima::Config.pm
Creating img/codecs.c
Finding dependencies for AbstractMenu.cls...
Finding dependencies for AccelTable.cls...
Finding dependencies for Application.cls...
Finding dependencies for Clipboard.cls...
Finding dependencies for Component.cls...
Finding dependencies for DeviceBitmap.cls...
Finding dependencies for Drawable.cls...
Finding dependencies for File.cls...
Finding dependencies for Icon.cls...
Finding dependencies for Image.cls...
Finding dependencies for Menu.cls...
Finding dependencies for Object.cls...
Finding dependencies for Popup.cls...
Finding dependencies for Printer.cls...
Finding dependencies for Timer.cls...
Finding dependencies for Types.cls...
Finding dependencies for Utils.cls...
Finding dependencies for Widget.cls...
Finding dependencies for Window.cls...
Finding dependencies for AbstractMenu.c...
Finding dependencies for AccelTable.c...
Finding dependencies for Application.c...
Finding dependencies for Clipboard.c...
Finding dependencies for Component.c...
Finding dependencies for DeviceBitmap.c...
Finding dependencies for Drawable.c...
Finding dependencies for File.c...
Finding dependencies for Icon.c...
Finding dependencies for Image.c...
Finding dependencies for Menu.c...
Finding dependencies for Object.c...
Finding dependencies for Popup.c...
Finding dependencies for primguts.c...
Finding dependencies for Printer.c...
Finding dependencies for Timer.c...
Finding dependencies for Utils.c...
Finding dependencies for Widget.c...
Finding dependencies for Widget_geometry.c...
Finding dependencies for Window.c...
Finding dependencies for img/bc_color.c...
Finding dependencies for img/bc_const.c...
Finding dependencies for img/bc_extra.c...
Finding dependencies for img/codec_bmp.c...
Finding dependencies for img/codec_jpeg.c...
Finding dependencies for img/codec_png.c...
Finding dependencies for img/codec_tiff.c...
Finding dependencies for img/codec_ungif.c...
Finding dependencies for img/codec_X11.c...
Finding dependencies for img/codec_Xpm.c...
Finding dependencies for img/codecs.c...
Finding dependencies for img/conv.c...
Finding dependencies for img/ic_conv.c...
Finding dependencies for img/img.c...
Finding dependencies for img/imgscale.c...
Finding dependencies for img/imgtype.c...
Finding dependencies for img/put.c...
Finding dependencies for win32/apc.c...
Finding dependencies for win32/clip.c...
Finding dependencies for win32/cursor.c...
Finding dependencies for win32/dev.c...
Finding dependencies for win32/files.c...
Finding dependencies for win32/global.c...
Finding dependencies for win32/gp.c...
Finding dependencies for win32/misc.c...
Finding dependencies for win32/stock.c...
Finding dependencies for win32/timers.c...
Writing Makefile...
All done. Now you can run C:\PROGRA~2\MICROS~1.0\VC\BIN\nmake.exe.
*** Warning (probably harmless): `bufferoverflowU.lib' library not found
C:\zwischen\Prima\Prima-1.28>C:\PROGRA~2\MICROS~1.0\VC\BIN\nmake.exe
Microsoft (R) Program Maintenance Utility, Version 10.00.30319.01
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
Creating directories...
C:\Perl\bin\perl.exe -I. utils/gencls.pl --inc --h --tml Types.cls inclu
de/generic
C:\Perl\bin\perl.exe -I. utils/gencls.pl --inc --h --tml Object.cls incl
ude/generic
C:\Perl\bin\perl.exe -I. utils/gencls.pl --inc --h --tml Component.cls i
nclude/generic
C:\Perl\bin\perl.exe -I. utils/gencls.pl --inc --h --tml AbstractMenu.cl
s include/generic
C:\Perl\bin\perl.exe -I. utils/gencls.pl --inc --h --tml Drawable.cls in
clude/generic
C:\Perl\bin\perl.exe -I. utils/gencls.pl --inc --h --tml Image.cls inclu
de/generic
C:\Perl\bin\perl.exe -I. utils/gencls.pl --inc --h --tml Menu.cls includ
e/generic
C:\Perl\bin\perl.exe -I. utils/gencls.pl --inc --h --tml Widget.cls incl
ude/generic
cl -nologo -GF -W3 -MD -Zi -Ox -GL -Wp64 -fp:precise -W3 -WX -nologo -MD
-Zi -Ox -GL -Wp64 -fp:precise -D_CRT_SECURE_NO_DEPRECATE -c -Iinclude -Iinclude
\generic -IC:\Perl\lib\CORE -IC:\Perl\site\lib\Prima\codecs\win32\include -DHAVE
_CONFIG_H=1 -FoAbstractMenu.obj AbstractMenu.c
cl : Befehlszeile warning D9035 : Die Option "Wp64" ist veraltet und wird in ein
er der nächsten Versionen entfernt.
cl : Befehlszeile warning D9035 : Die Option "Wp64" ist veraltet und wird in ein
er der nächsten Versionen entfernt.
AbstractMenu.c
C:\Perl\lib\CORE\sys/socket.h(34) : error C2220: Warnung wird als Fehler interpr
etiert, es wurde keine object-Datei generiert.
C:\Perl\lib\CORE\sys/socket.h(34) : warning C4005: 'ENOTSOCK': Makro-Neudefiniti
on
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\errno.h(1
20): Siehe vorherige Definition von 'ENOTSOCK'
C:\zwischen\Prima\Prima-1.28\include\apricot.h(341) : fatal error C1189: #error
: "Cannot find adequate integer type"
NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio 10.0
\VC\BIN\cl.EXE"": Rückgabe-Code "0x2"
Stop.
C:\zwischen\Prima\Prima-1.28