pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/52624: Can't compile net/nmap from pkgsrc with lua support



The following reply was made to PR pkg/52624; it has been noted by GNATS.

From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: pkg/52624: Can't compile net/nmap from pkgsrc with lua support
Date: Wed, 18 Oct 2017 22:42:43 +0200

 On Mon, Oct 16, 2017 at 03:05:00AM +0000, patrick.mackey%vodafone.com@localhost wrote:
 > >Number:         52624
 > >Category:       pkg
 > >Synopsis:       Can't compile net/nmap from pkgsrc with lua support
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    pkg-manager
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Mon Oct 16 03:05:00 +0000 2017
 > >Originator:     Patrick Mackey
 > >Release:        7.1
 > >Organization:
 > Vodafone NZ
 > >Environment:
 > NetBSD vdosrv 7.1 NetBSD 7.1 (GENERIC.201703111743Z) amd64
 > 
 > >Description:
 > I'm trying to build net/nmap with lua scripting support by setting "PKG_OPTIONS.nmap = inet6 lua" in /etc/mk.conf
 > 
 > I have lua52-5.2.4nb1 installed
 > 
 > 
 > 
 > I'm getting the following error:
 > ###############################
 > gmake[1]: Entering directory '/storage/obj/net/nmap/work/nmap-7.60/liblua'
 > gcc -O2 -Wall -Wextra -DLUA_COMPAT_5_2  -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/lua-5.2 -I/usr/include -I/usr/pkg/include -Wall   -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I/usr/pkg/include -I./liblua -I/usr/pkg/include -I./libdnet-stripped/include -I./libssh2/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/lua-5.2 -I/usr/include -I/usr/pkg/include -I/usr/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"https://nmap.org\"; -DNMAP_PLATFORM=\"x86_64--netbsd\" -DNMAPDATADIR=\"/usr/pkg/share/nmap\" -D_FORTIFY_SOURCE=2  -c -o lapi.o lapi.c
 > In file included from lua.h:16:0,
 >                  from lapi.c:16:
 > luaconf.h:566:2: error: #error "Compiler does not support 'long long'. Use option '-DLUA_32BITS'   or '-DLUA_C89_NUMBERS' (see file 'luaconf.h' for details)"
 >  #error "Compiler does not support 'long long'. Use option '-DLUA_32BITS' \
 >   ^
 
 This looks like it's building the included copy of lua. It should use
 the installed one. Can you find out why it doesn't?
  Thomas
 


Home | Main Index | Thread Index | Old Index