From owner-freebsd-ports@freebsd.org Thu Jul 7 15:51:35 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3F16B754F0 for ; Thu, 7 Jul 2016 15:51:34 +0000 (UTC) (envelope-from mailinglists@toco-domains.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E115F1505 for ; Thu, 7 Jul 2016 15:51:34 +0000 (UTC) (envelope-from mailinglists@toco-domains.de) Received: by mailman.ysv.freebsd.org (Postfix) id E03CAB754EF; Thu, 7 Jul 2016 15:51:34 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DFE33B754EE for ; Thu, 7 Jul 2016 15:51:34 +0000 (UTC) (envelope-from mailinglists@toco-domains.de) Received: from toco-domains.de (mail.toco-domains.de [IPv6:2a01:4f8:150:50a5::6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ADE581503 for ; Thu, 7 Jul 2016 15:51:34 +0000 (UTC) (envelope-from mailinglists@toco-domains.de) Received: from [0.0.0.0] (mail.toco-domains.de [IPv6:2a01:4f8:150:50a5::6]) by toco-domains.de (Postfix) with ESMTPA id DC9901AAF017; Thu, 7 Jul 2016 17:51:32 +0200 (CEST) Subject: Re: Wxlua / Zbstudio To: Raymond Cheung , ports@FreeBSD.org References: From: Torsten Zuehlsdorff Message-ID: <2d3a2920-bb1c-c02f-8da4-9b585e5a4135@toco-domains.de> Date: Thu, 7 Jul 2016 17:51:32 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2016 15:51:35 -0000 Hello Raymond, > I'm a developer of Lua/torch. Currently, I use Ubuntu to write my codes. > However, Ubuntu has frequent updates and make my environment unstable. > > I tried to install Ghost BSD and compile wxlua and zbstudio but both > failed. Do you have any plan to port these two to FreeBSD? I started some work on an wxlua port. I got some small progress, but i'm hacking at this error: [ 7%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxstc_bind.cpp.o In file included from /usr/ports/x11-toolkits/wxlua/work/wxLua-2.8.12.3-src/modules/wxbind/src/wxgl_bind.cpp:19: In file included from /usr/ports/x11-toolkits/wxlua/work/wxLua-2.8.12.3-src/modules/wxbind/include/wxgl_bind.h:47: In file included from /usr/local/include/wx-3.0/wx/glcanvas.h:192: In file included from /usr/local/include/wx-3.0/wx/gtk/glcanvas.h:14: /usr/local/include/wx-3.0/wx/unix/glx11.h:13:10: fatal error: 'GL/glx.h' file not found #include Since i never wrote cmake ports before, i do not know how to tell cmake, that the file is there: $ ls -lah /usr/local/include/GL/glx.h -rw-r--r-- 1 root wheel 14K 3 Jun 16:18 /usr/local/include/GL/glx.h Any idea? Until now i can say i just works with lua 5.1. 5.2 fails because of missing compat-mode. 5.3 is untested. Makefile of port looks currently like this: === Start === PORTNAME= wxlua PORTVERSION= 2.8.12.3 CATEGORIES= x11-toolkits MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} DISTNAME= wxLua-${PORTVERSION}-src MAINTAINER= tz@FreeBSD.org COMMENT= Follows later RUN_DEPENDS= wxgtk30:x11-toolkits/wxgtk30 CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE=/usr/local/bin/wxgtk2u-3.0-config CMAKE_ARGS+= -DwxLua_LUA_INCLUDE_DIR=${LUA_INCDIR} CMAKE_ARGS+= -DwxLua_LUA_LIBRARY=${LUA_LIBDIR} CMAKE_ARGS+= -DwxLua_LUA_LIBRARY_USE_BUILTIN=FALSE CMAKE_BUILD_TYPE= Release USES= cmake:outsource lua:51 .include .include === End === Greetings, Torsten