Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Trouble installing LuaDist #221

Open
ghost opened this issue Dec 18, 2015 · 6 comments
Open

Trouble installing LuaDist #221

ghost opened this issue Dec 18, 2015 · 6 comments

Comments

@ghost
Copy link

ghost commented Dec 18, 2015

Windows7
cmake 3.4.1
mingw 32bit

C:\tmp\_bootstrap\_bootstrap\tmp\lua-git\src\lua-git\src\bit.c: In function 'barg':
C:\tmp\_bootstrap\_bootstrap\tmp\lua-git\src\lua-git\src\bit.c:90:2: error: #error "Unknown number type, check LUA_NUMBER_* in luaconf.h"
 #error "Unknown number type, check LUA_NUMBER_* in luaconf.h"

Terminal output:

-- Installing: C:/tmp/_bootstrap/_bootstrap/share/lua/doc/
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/lua/doc//contents.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/lua/doc//index.css
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/lua/doc//logo.gif
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/lua/doc//lua.1
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/lua/doc//lua.css
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/lua/doc//luac.1
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/lua/doc//manual.css
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/lua/doc//manual.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/lua/doc//osi-certified-72x60.png
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/lua/doc//readme.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/lua/etc/
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/lua/etc//lua.ico
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/lua/etc//lua_lang.ico
[ 14%] Completed 'lua'
[ 14%] Built target lua
Scanning dependencies of target srlua
[ 16%] Creating directories for 'srlua'
[ 17%] Performing download step (git clone) for 'srlua'
Cloning into 'srlua'...
Your branch is up-to-date with 'origin/master'.
Already on 'master'
[ 19%] No patch step for 'srlua'
[ 21%] Performing update step for 'srlua'
Current branch master is up to date.
[ 23%] Performing configure step for 'srlua'
loading initial cache file C:/tmp/_bootstrap/_bootstrap/tmp/config.cmake
-- The C compiler identification is GNU 4.8.1
-- Check for working C compiler: C:/MinGW/bin/gcc.exe
-- Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
DIST_NAME: srlua
DIST_VERSION: 5.2
DIST_LICENSE: MIT/X11
DIST_AUTHOR: Luiz Henrique de Figueiredo
DIST_MAINTAINER: Peter Drahoš
DIST_URL: http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/
DIST_DESC: A tool for building self-running Lua programs.
DIST_DEPENDS:
-- Found Lua: C:/tmp/_bootstrap/_bootstrap/lib/liblua.dll.a
-- Configuring done
-- Generating done
-- Build files have been written to: C:/tmp/_bootstrap/_bootstrap/tmp/srlua
[ 25%] Performing build step for 'srlua'
Scanning dependencies of target glue
[ 10%] Building C object CMakeFiles/glue.dir/glue.c.obj
[ 20%] Building RC object CMakeFiles/glue.dir/glue.rc.obj
[ 30%] Linking C executable glue.exe
[ 30%] Built target glue
Scanning dependencies of target srlua
[ 40%] Building C object CMakeFiles/srlua.dir/srlua.c.obj
[ 50%] Building RC object CMakeFiles/srlua.dir/srlua.rc.obj
[ 60%] Linking C executable srlua.exe
[ 60%] Built target srlua
Scanning dependencies of target wsrlua
[ 70%] Building C object CMakeFiles/wsrlua.dir/wmain.c.obj
[ 80%] Building C object CMakeFiles/wsrlua.dir/srlua.c.obj
[ 90%] Building RC object CMakeFiles/wsrlua.dir/srlua.rc.obj
[100%] Linking C executable wsrlua.exe
[100%] Built target wsrlua
[ 26%] Performing install step for 'srlua'
[ 30%] Built target glue
[ 60%] Built target srlua
[100%] Built target wsrlua
Install the project...
-- Install configuration: "MinSizeRel"
-- Installing: C:/tmp/_bootstrap/_bootstrap/bin/wsrlua.exe
-- Installing: C:/tmp/_bootstrap/_bootstrap/bin/glue.exe
-- Installing: C:/tmp/_bootstrap/_bootstrap/bin/srlua.exe
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/srlua/README.md
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/srlua/test/test.lua
[ 28%] Completed 'srlua'
[ 28%] Built target srlua
Scanning dependencies of target luafilesystem
[ 30%] Creating directories for 'luafilesystem'
[ 32%] Performing download step (git clone) for 'luafilesystem'
Cloning into 'luafilesystem'...
Your branch is up-to-date with 'origin/master'.
Already on 'master'
[ 33%] No patch step for 'luafilesystem'
[ 35%] Performing update step for 'luafilesystem'
Current branch master is up to date.
[ 37%] Performing configure step for 'luafilesystem'
loading initial cache file C:/tmp/_bootstrap/_bootstrap/tmp/config.cmake
-- The C compiler identification is GNU 4.8.1
-- Check for working C compiler: C:/MinGW/bin/gcc.exe
-- Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
DIST_NAME: luafilesystem
DIST_VERSION: 1.6.2
DIST_LICENSE: Kepler
DIST_AUTHOR: Roberto Ierusalimschy, André Carregal, Tomás Guisasola
DIST_MAINTAINER: Peter Drahoš
DIST_URL: http://www.keplerproject.org/luafilesystem/
DIST_DESC: File System Library for the Lua Programming Language
DIST_DEPENDS:
-- Found Lua: C:/tmp/_bootstrap/_bootstrap/lib/liblua.dll.a
-- Configuring done
-- Generating done
-- Build files have been written to: C:/tmp/_bootstrap/_bootstrap/tmp/luafilesystem
[ 39%] Performing build step for 'luafilesystem'
Scanning dependencies of target lfs
[ 50%] Building C object CMakeFiles/lfs.dir/src/lfs.c.obj
[100%] Linking C shared module lfs.dll
[100%] Built target lfs
[ 41%] Performing install step for 'luafilesystem'
[100%] Built target lfs
Install the project...
-- Install configuration: "MinSizeRel"
-- Installing: C:/tmp/_bootstrap/_bootstrap/lib/lua/lfs.dll
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luafilesystem/doc/
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luafilesystem/doc//us
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luafilesystem/doc//us/examples.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luafilesystem/doc//us/index.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luafilesystem/doc//us/license.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luafilesystem/doc//us/luafilesystem.png
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luafilesystem/doc//us/manual.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luafilesystem/test/
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luafilesystem/test//test.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luafilesystem/README
[ 42%] Completed 'luafilesystem'
[ 42%] Built target luafilesystem
Scanning dependencies of target luasocket
[ 44%] Creating directories for 'luasocket'
[ 46%] Performing download step (git clone) for 'luasocket'
Cloning into 'luasocket'...
Your branch is up-to-date with 'origin/master'.
Already on 'master'
[ 48%] No patch step for 'luasocket'
[ 50%] Performing update step for 'luasocket'
Current branch master is up to date.
[ 51%] Performing configure step for 'luasocket'
loading initial cache file C:/tmp/_bootstrap/_bootstrap/tmp/config.cmake
-- The C compiler identification is GNU 4.8.1
-- Check for working C compiler: C:/MinGW/bin/gcc.exe
-- Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
DIST_NAME: luasocket
DIST_VERSION: 3.0-rc1
DIST_LICENSE: MIT/X11
DIST_AUTHOR: Diego Nehab
DIST_MAINTAINER: Peter Drahoš
DIST_URL: http://luaforge.net/projects/luasocket/
DIST_DESC: Network support for the Lua language
DIST_DEPENDS:
-- Found Lua: C:/tmp/_bootstrap/_bootstrap/lib/liblua.dll.a (found version "5.3.2")
-- Configuring done
-- Generating done
-- Build files have been written to: C:/tmp/_bootstrap/_bootstrap/tmp/luasocket
[ 53%] Performing build step for 'luasocket'
Scanning dependencies of target mime_core
[  6%] Building C object CMakeFiles/mime_core.dir/src/mime.c.obj
[ 13%] Linking C shared module mime\core.dll
[ 13%] Built target mime_core
Scanning dependencies of target socket_core
[ 20%] Building C object CMakeFiles/socket_core.dir/src/luasocket.c.obj
[ 26%] Building C object CMakeFiles/socket_core.dir/src/timeout.c.obj
[ 33%] Building C object CMakeFiles/socket_core.dir/src/buffer.c.obj
[ 40%] Building C object CMakeFiles/socket_core.dir/src/io.c.obj
[ 46%] Building C object CMakeFiles/socket_core.dir/src/auxiliar.c.obj
[ 53%] Building C object CMakeFiles/socket_core.dir/src/options.c.obj
[ 60%] Building C object CMakeFiles/socket_core.dir/src/inet.c.obj
[ 66%] Building C object CMakeFiles/socket_core.dir/src/tcp.c.obj
[ 73%] Building C object CMakeFiles/socket_core.dir/src/udp.c.obj
[ 80%] Building C object CMakeFiles/socket_core.dir/src/except.c.obj
[ 86%] Building C object CMakeFiles/socket_core.dir/src/select.c.obj
[ 93%] Building C object CMakeFiles/socket_core.dir/src/wsocket.c.obj
[100%] Linking C shared module socket\core.dll
[100%] Built target socket_core
[ 55%] Performing install step for 'luasocket'
[ 13%] Built target mime_core
[100%] Built target socket_core
Install the project...
-- Install configuration: "MinSizeRel"
-- Installing: C:/tmp/_bootstrap/_bootstrap/lib/lua/socket/core.dll
-- Installing: C:/tmp/_bootstrap/_bootstrap/lib/lua/mime/core.dll
-- Installing: C:/tmp/_bootstrap/_bootstrap/lib/lua/ltn12.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/lib/lua/mime.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/lib/lua/socket.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/lib/lua/socket/ftp.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/lib/lua/socket/http.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/lib/lua/socket/smtp.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/lib/lua/socket/tp.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/lib/lua/socket/url.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/lib/lua/socket/headers.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/etc/
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/etc//b64.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/etc//check-links.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/etc//check-memory.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/etc//cookie.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/etc//dict.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/etc//dispatch.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/etc//eol.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/etc//forward.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/etc//get.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/etc//links
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/etc//lp.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/etc//qp.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/etc//README
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/etc//tftp.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test/
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//auth
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//auth/.htpasswd
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//auth/index.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//cgi
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//cgi/cat
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//cgi/cat-index-html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//cgi/env
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//cgi/query-string
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//cgi/redirect-loop
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//cgi/request-uri
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//dicttest.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//excepttest.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//find-connect-limit
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//ftptest.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//hello.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//httptest.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//index.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//ltn12test.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//luasocket.png
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//mimetest.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//README
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//smtptest.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//stufftest.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//tcp-getoptions
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//testclnt.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//testmesg.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//testsrvr.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//testsupport.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//test_bind.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//test_getaddrinfo.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//test_socket_error.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//tftptest.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//udp-zero-length-send
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//udp-zero-length-send-recv
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//udpconnectclnt.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//udpconnectsrvr.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//unixclnt.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//unixsrvr.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//upload.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//urltest.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//utestclnt.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/test//utestsrvr.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/example/
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/example//cddb.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/example//daytimeclnt.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/example//echoclnt.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/example//echosrvr.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/example//listener.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/example//lpr.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/example//mclisten.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/example//mcsend.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/example//README
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/example//talker.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/example//tinyirc.lua
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/doc/
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/doc//dns.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/doc//ftp.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/doc//http.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/doc//index.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/doc//installation.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/doc//introduction.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/doc//ltn12.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/doc//lua05.ppt
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/doc//luasocket.png
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/doc//mime.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/doc//reference.css
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/doc//reference.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/doc//smtp.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/doc//socket.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/doc//tcp.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/doc//udp.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/doc//url.html
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/README
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/NEW
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/luasocket/LICENSE
[ 57%] Completed 'luasocket'
[ 57%] Built target luasocket
Scanning dependencies of target zlib
[ 58%] Creating directories for 'zlib'
[ 60%] Performing download step (git clone) for 'zlib'
Cloning into 'zlib'...
Your branch is up-to-date with 'origin/master'.
Already on 'master'
[ 62%] No patch step for 'zlib'
[ 64%] Performing update step for 'zlib'
Current branch master is up to date.
[ 66%] Performing configure step for 'zlib'
loading initial cache file C:/tmp/_bootstrap/_bootstrap/tmp/config.cmake
-- The C compiler identification is GNU 4.8.1
-- Check for working C compiler: C:/MinGW/bin/gcc.exe
-- Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
DIST_NAME: zlib
DIST_VERSION: 1.2.6
DIST_LICENSE: zlib license
DIST_AUTHOR: Jean-loup Gailly and Mark Adler
DIST_MAINTAINER: Peter Kapec
DIST_URL: http://zlib.net
DIST_DESC: zlib is a general purpose data compression library.
DIST_DEPENDS:
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of off64_t
-- Check size of off64_t - done
-- Looking for fseeko
-- Looking for fseeko - not found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Configuring done
-- Generating done
-- Build files have been written to: C:/tmp/_bootstrap/_bootstrap/tmp/zlib
[ 67%] Performing build step for 'zlib'
Scanning dependencies of target z
[  4%] Building C object CMakeFiles/z.dir/adler32.c.obj
[  8%] Building C object CMakeFiles/z.dir/compress.c.obj
[ 12%] Building C object CMakeFiles/z.dir/crc32.c.obj
[ 16%] Building C object CMakeFiles/z.dir/deflate.c.obj
[ 20%] Building C object CMakeFiles/z.dir/gzclose.c.obj
[ 24%] Building C object CMakeFiles/z.dir/gzlib.c.obj
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\gzlib.c: In function 'gz_error':
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\gzlib.c:545:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
 }
 ^
[ 28%] Building C object CMakeFiles/z.dir/gzread.c.obj
[ 32%] Building C object CMakeFiles/z.dir/gzwrite.c.obj
[ 36%] Building C object CMakeFiles/z.dir/inflate.c.obj
[ 40%] Building C object CMakeFiles/z.dir/infback.c.obj
[ 44%] Building C object CMakeFiles/z.dir/inftrees.c.obj
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\inftrees.c: In function 'inflate_table':
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\inftrees.c:306:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
 }
 ^
[ 48%] Building C object CMakeFiles/z.dir/inffast.c.obj
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\inffast.c: In function 'inflate_fast':
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\inffast.c:324:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
 }
 ^
[ 52%] Building C object CMakeFiles/z.dir/trees.c.obj
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\trees.c: In function '_tr_init':
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\trees.c:404:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
 }
 ^
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\trees.c: In function '_tr_stored_block':
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\trees.c:877:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
 }
 ^
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\trees.c: In function '_tr_flush_bits':
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\trees.c:886:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
 }
 ^
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\trees.c: In function '_tr_align':
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\trees.c:901:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
 }
 ^
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\trees.c: In function '_tr_flush_block':
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\trees.c:1002:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
 }
 ^
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\trees.c: In function '_tr_tally':
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\trees.c:1053:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
 }
 ^
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\trees.c: At top level:
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\trees.c:1224:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
 }
 ^
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\trees.c:1224:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
[ 56%] Building C object CMakeFiles/z.dir/uncompr.c.obj
[ 60%] Building C object CMakeFiles/z.dir/zutil.c.obj
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\zutil.c: In function 'zcalloc':
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\zutil.c:289:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
 }
 ^
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\zutil.c: In function 'zcfree':
C:\tmp\_bootstrap\_bootstrap\tmp\zlib\src\zlib\zutil.c:297:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
 }
 ^
[ 64%] Building RC object CMakeFiles/z.dir/win32/zlib1.rc.obj
[ 68%] Linking C shared library libz.dll
[ 68%] Built target z
Scanning dependencies of target example
[ 72%] Building C object CMakeFiles/example.dir/test/example.c.obj
[ 76%] Linking C executable example.exe
[ 76%] Built target example
Scanning dependencies of target example64
[ 80%] Building C object CMakeFiles/example64.dir/test/example.c.obj
[ 84%] Linking C executable example64.exe
[ 84%] Built target example64
Scanning dependencies of target minigzip
[ 88%] Building C object CMakeFiles/minigzip.dir/test/minigzip.c.obj
[ 92%] Linking C executable minigzip.exe
[ 92%] Built target minigzip
Scanning dependencies of target minigzip64
[ 96%] Building C object CMakeFiles/minigzip64.dir/test/minigzip.c.obj
[100%] Linking C executable minigzip64.exe
[100%] Built target minigzip64
[ 69%] Performing install step for 'zlib'
[ 68%] Built target z
[ 76%] Built target example
[ 84%] Built target example64
[ 92%] Built target minigzip
[100%] Built target minigzip64
Install the project...
-- Install configuration: "MinSizeRel"
-- Installing: C:/tmp/_bootstrap/_bootstrap/lib/libz.dll.a
-- Installing: C:/tmp/_bootstrap/_bootstrap/bin/libz.dll
-- Installing: C:/tmp/_bootstrap/_bootstrap/include/zconf.h
-- Installing: C:/tmp/_bootstrap/_bootstrap/include/zlib.h
-- Installing: C:/tmp/_bootstrap/_bootstrap/share/zlib/doc/man/man3/zlib.3
[ 71%] Completed 'zlib'
[ 71%] Built target zlib
Scanning dependencies of target lua-git
[ 73%] Creating directories for 'lua-git'
[ 75%] Performing download step (git clone) for 'lua-git'
Cloning into 'lua-git'...
Your branch is up-to-date with 'origin/master'.
Already on 'master'
[ 76%] No patch step for 'lua-git'
[ 78%] Performing update step for 'lua-git'
Current branch master is up to date.
[ 80%] Performing configure step for 'lua-git'
loading initial cache file C:/tmp/_bootstrap/_bootstrap/tmp/config.cmake
-- The C compiler identification is GNU 4.8.1
-- Check for working C compiler: C:/MinGW/bin/gcc.exe
-- Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
DIST_NAME: lua-git
DIST_VERSION: 0.5
DIST_LICENSE: MIT/X11
DIST_AUTHOR: Michal Kottman
DIST_MAINTAINER: Michal Kottman
DIST_URL: https://github.com/mkottman/lua-git
DIST_DESC: A library to access Git repositories and its objects (files, commits) in Lua
DIST_DEPENDS:
-- Found ZLIB: C:/tmp/_bootstrap/_bootstrap/lib/libz.dll.a (found version "1.2.6")
-- Found Lua: C:/tmp/_bootstrap/_bootstrap/lib/liblua.dll.a (found version "5.3.2")
-- Configuring done
-- Generating done
-- Build files have been written to: C:/tmp/_bootstrap/_bootstrap/tmp/lua-git
[ 82%] Performing build step for 'lua-git'
Scanning dependencies of target git_core
[ 20%] Building C object CMakeFiles/git_core.dir/src/bit.c.obj
C:\tmp\_bootstrap\_bootstrap\tmp\lua-git\src\lua-git\src\bit.c: In function 'barg':
C:\tmp\_bootstrap\_bootstrap\tmp\lua-git\src\lua-git\src\bit.c:90:2: error: #error "Unknown number type, check LUA_NUMBER_* in luaconf.h"
 #error "Unknown number type, check LUA_NUMBER_* in luaconf.h"
  ^
CMakeFiles\git_core.dir\build.make:62: recipe for target 'CMakeFiles/git_core.dir/src/bit.c.obj' failed
mingw32-make.exe[6]: *** [CMakeFiles/git_core.dir/src/bit.c.obj] Error 1
CMakeFiles\Makefile2:66: recipe for target 'CMakeFiles/git_core.dir/all' failed
mingw32-make.exe[5]: *** [CMakeFiles/git_core.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
mingw32-make.exe[4]: *** [all] Error 2
CMakeFiles\lua-git.dir\build.make:110: recipe for target 'lua-git/src/lua-git-stamp/lua-git-build' failed
mingw32-make.exe[3]: *** [lua-git/src/lua-git-stamp/lua-git-build] Error 2
CMakeFiles\Makefile2:135: recipe for target 'CMakeFiles/lua-git.dir/all' failed
mingw32-make.exe[2]: *** [CMakeFiles/lua-git.dir/all] Error 2
CMakeFiles\Makefile2:73: recipe for target 'CMakeFiles/install.dir/rule' failed
mingw32-make.exe[1]: *** [CMakeFiles/install.dir/rule] Error 2
Makefile:117: recipe for target 'install' failed
mingw32-make.exe: *** [install] Error 2
## Bootstrap done, building LuaDist using LuaDist
'C:\tmp\_bootstrap\_bootstrap\bin\luadist.exe' is not recognized as an internal or external command,
operable program or batch file.
## LuaDist is now built and can be found in C:\tmp\_bootstrap\_install

C:\tmp\_bootstrap>
@drahosp
Copy link
Member

drahosp commented Dec 18, 2015

Thanks for reporting. The issue is with luadist/lua master branch being updated to 5.3.2 while the bootstrap process requires lua 5.2 in master. I'll try to push a fix asap.

@ghost
Copy link
Author

ghost commented Dec 18, 2015

Dakujem Peto :)
is it ssl (https) included? I have to do some https requests to fetch web pages.

@drahosp
Copy link
Member

drahosp commented Dec 18, 2015

The bootstrap process does not install OpenSSL needed for https support. You need to install 'luasec' module after the bootstrap.

@ghost
Copy link
Author

ghost commented Dec 18, 2015

Bootstrap process is working but when I tried to install luasec I got the following error

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\>c:\work\lua\bin\luadist.exe c:\lua53 install lua luasec
Finding out available versions of lua...
Getting lua-5.3.2 (source)...
Finding out available versions of luasec...
Getting luasec-0.4 (source)...
Finding out available versions of luasocket...
Getting luasocket-2.0.2 (source)...
 - trying another candidate due to: Error getting dependency of 'luasec-0.4': Error getting dependency of 'luasocket-2.0.2': Package 'lua ~>5.1' needed, but selected at version '5.3.2'.
Getting luasec-scm (source)...
Finding out available versions of luasocket...
Getting luasocket-2.0.2 (source)...
 - trying another candidate due to: Error getting dependency of 'luasocket-2.0.2': Package 'lua ~>5.1' needed, but selected at version '5.3.2'.
Getting luasocket-2.0.2 (source)...
Cannot install package 'luasec': Error getting dependency of 'luasec-0.4': Error getting dependency of 'luasocket-2.0.2': Package 'lua ~>5.1' needed, but selected at version '5.3.2'.

@charlieflowers
Copy link

Is there any fix for this yet?

More importantly -- is there a simple way I can work around it? I actually have lua 5.3.2 installed elsewhere on my machine, in addition to Lua 5.2.4 which _bootstrap created.

Thanks.

@drahosp
Copy link
Member

drahosp commented Mar 15, 2016

@charlieflowers sorry, this would require update of quite a few modules to support lua-5.3. Sadly we do not have the manpower to manually update the required modules anymore.

All our efforts are currently focused on integrating with LuaRocks rockspec-based modules in the LuaDist2 project. This will significantly reduce the maintenance for the project and is the only way we can manage to support lua-5.3 and future releases.

For now LuaDist is stuck with lua-5.2 so you will need to install it as: luadist.exe c:\lua52 install lua-5.2 luasec

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants