From owner-freebsd-questions@FreeBSD.ORG Mon Jan 9 09:22:37 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 52D1216A41F for ; Mon, 9 Jan 2006 09:22:37 +0000 (GMT) (envelope-from bobself@charter.net) Received: from mxsf13.cluster1.charter.net (mxsf13.cluster1.charter.net [209.225.28.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id C52FA43D45 for ; Mon, 9 Jan 2006 09:22:36 +0000 (GMT) (envelope-from bobself@charter.net) Received: from mxip28a.cluster1.charter.net (mxip28a.cluster1.charter.net [209.225.28.187]) by mxsf13.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id k099MZGr027505 for ; Mon, 9 Jan 2006 04:22:35 -0500 Received: from 24-197-117-006.dhcp.spbg.sc.charter.com (HELO [192.168.1.101]) ([24.197.117.6]) by mxip28a.cluster1.charter.net with ESMTP; 09 Jan 2006 04:22:35 -0500 X-IronPort-AV: i="3.99,346,1131339600"; d="scan'208"; a="651458322:sNHT16214556" Message-ID: <43C22B59.4070709@charter.net> Date: Mon, 09 Jan 2006 04:22:33 -0500 From: bob self User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: JD Arnold References: <43BD511F.7010403@charter.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: how do you install wx-config in FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2006 09:22:37 -0000 JD Arnold wrote: > bob self wrote: > >> I'm running FreeBSD 6.0 and have installed >> wxgtk2-2.6.2_1 and wxgtk2-common-2.6.2. >> >> VLC runs fine so I know that wxwidges is installed correctly. But I >> want to install the wxsamples >> and compile them. I copied wxsamples manually and try to compile >> using a script from an older >> freebsd system but it wants wx-config and I can't find out how to get >> that installed using the >> ports. Which port would include that? > > > wx-config is in the wxWidgets port, only it is named using the version > of wxgtk: > > /usr/X11R6/bin/wxgtk2-2.6-config > > I guess maybe they don't want to overwrite any existing wx-config, but I > suppose it would be nice if the port installer checked for it, and if it > didn't exist, create it using a link. You should do that (as root): > > # cd /usr/X11R6/bin > # ln wx-gtk2-2.6-config wx-config > > You can find out whether it got intalled by the wxgtk port by using > pkg_info: > > # pkg_info -xL wxgtk | grep bin > > would should show where the -config and the wxrc got installed. > > BTW, I talk about the pkg_info option in a recent post on my blog. Thanks > to Dru from OnLamp.com for showing me this very cool option, something > I've > always wondered about, as sometimes it can be very mysterious as to > what and > where a port might install stuff. > I did find setup.h in /usr/X11R6/include/wx-2.6/gtk2-ansi-release-2.6 I installed wxgtk2 using portupgrade but no configuration screen came up. What is the procedure to configure wxgtk2 if you use portupgrade? I see that my setup.h has #define wxUSE_MEDIACTRL 0 which is not what I want, so I need to reconfigure it but haven't been able to find out how to do that. Bob