From owner-freebsd-questions@FreeBSD.ORG Tue May 27 07:55:37 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 151CA37B401 for ; Tue, 27 May 2003 07:55:37 -0700 (PDT) Received: from cicero1.cybercity.dk (cicero1.cybercity.dk [212.242.40.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7580143F85 for ; Tue, 27 May 2003 07:55:36 -0700 (PDT) (envelope-from db@traceroute.dk) Received: from user3.cybercity.dk (fxp0.user3.ip.cybercity.dk [212.242.41.36]) by cicero1.cybercity.dk (Postfix) with ESMTP id AFA2C10CEAC for ; Tue, 27 May 2003 16:55:34 +0200 (CEST) Received: from main (port132.ds1-arsy.adsl.cybercity.dk [212.242.239.73]) by user3.cybercity.dk (Postfix) with SMTP id 90AF393CF0 for ; Tue, 27 May 2003 16:55:26 +0200 (CEST) Date: Tue, 27 May 2003 17:01:29 +0200 From: Socketd To: questions@freebsd.org Message-Id: <20030527170129.1d170c3a.db@traceroute.dk> X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: /usr/ports/x11-toolkits/wxgtk-devel build problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2003 14:55:37 -0000 Hi again :-) I want to compile wxGTK (wxWindows) with static libs, so I write software that will be able to run without the users having to have wxWindows installed. So I wrote a wxWindows newsgroup and they said: "You must rebuild wxWindows to create a static library. ./configure --your options --enable-shared=no make" But freebsd doesn't have configure and using "--enable-shared=no" didn't work with FreeBSD's make. So I extracted wxGTK, copied it to /usr/ports/x11-toolkits/wxgtk-devel/work and ran the configure script with the right options (I think) and returned to FreeBSD's make, but now I get this error message: In file included from include/wx/memory.h:20, from include/wx/object.h:25, from include/wx/event.h:20, from ./src/generic/accel.cpp:34: include/wx/string.h: In method `bool wxString::IsSameAs(__wchar_t, bool = true) const': include/wx/string.h:646: implicit declaration of function `int towupper(...)' ./src/generic/accel.cpp: In method `wxAcceleratorTable::wxAcceleratorTable(int, const wxAcceleratorEntry *)': ./src/generic/accel.cpp:98: implicit declaration of function `int iswlower(...)'gmake: *** [accel.o] Error 1 *** Error code 2 So how do you pass options to configure from freebsd's make? Btw please cc to me as I am not on the list. br socketd