From owner-freebsd-questions@freebsd.org Sat Oct 7 00:17:37 2017 Return-Path: Delivered-To: freebsd-questions@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 4CD57E44E62 for ; Sat, 7 Oct 2017 00:17:37 +0000 (UTC) (envelope-from j.geering@btinternet.com) Received: from rgout0805.bt.lon5.cpcloud.co.uk (rgout0805.bt.lon5.cpcloud.co.uk [65.20.0.152]) by mx1.freebsd.org (Postfix) with ESMTP id D14B87530F for ; Sat, 7 Oct 2017 00:17:36 +0000 (UTC) (envelope-from j.geering@btinternet.com) X-OWM-Source-IP: 45.25.168.118 (US) X-OWM-Env-Sender: j.geering@btinternet.com Received: from minerva.attlocal.net (45.25.168.118) by rgout08.bt.lon5.cpcloud.co.uk (9.0.019.13-1) (authenticated as j.geering@btinternet.com) id 58BFF08016296576; Sat, 7 Oct 2017 01:13:34 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com; s=btcpcloud; t=1507335457; bh=8MoPFjKxTvofVdDNBH2g0k/qst4h/AEWHkGHB3Kzg/0=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References:X-Mailer:Mime-Version; b=FOS4+dlgQz9ElbrTBhLOzXvialydesoZ6aGtgfzFYeqMJw/jQu5SFcmfQetwUhK6Tq4RNt7LLAp2sEZiBZY32miFvfIgvGgKglvGwjnLJUA6TZeuVBcPq/nRINoVUGSvkCyHzC3VwnnFYUSP44C7lxhmOT6aWuLCHsYADD8HT9k= Message-ID: <1507335213.4246.18.camel@btinternet.com> Subject: Re: Cannot .configure WindowMaker 0.95.8 - Xmu lib issues From: James Geering To: Polytropon Cc: freebsd-questions@freebsd.org Date: Fri, 06 Oct 2017 20:13:33 -0400 In-Reply-To: <20171006213842.e0b5f82e.freebsd@edvax.de> References: <1507310201.4831.52.camel@btinternet.com> <20171006213842.e0b5f82e.freebsd@edvax.de> X-Mailer: Evolution 3.12.11 (3.12.11-22.el7) Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Oct 2017 00:17:37 -0000 Thank you for all your replies; I'm slowly getting the idea. Yes, I hadn't realised that when I download the source from another site (of general target) that the various scripts are, likely not targeted at freeBSD. I will try and do a latest portsnap etc and see where I get with that! I have attempted to provide a quick summary of the various answers from you very helpful experts. Many many thanks! Bernt The lib file is in /usr/local/lib. Mine is libXmu.so.6.2.0 Marco You should only build and install software by ports or pkg in FreeBSD. So the port needs an update. I've filed a bugreport in june for the upgrade of x11-wm/windowmaker to 0.95.8 but unfortunately this hasn't been committed yet. Windowmaker 0.95.8 runs fine here though. Edgar My first step would be to look in the porta tree and see what patches are being applied for it to build on freebsd. You may have to do the same. Then do ./configure --help and see what options you may need to set. Such as where to find the Xmu library. Then repeat as necessary because there will probably be more. > Oh I see; yes of course because following this concept one knows the > software from a third party has been 'ported' to the freeBSD platform > using the various libraries that are synchronised to that port version > -- right?? Marco Correct. Dependent libraries are build and installed too, see below. > I still have the side-question though, which is why do I not have the > libXmu.so.* library in my file-system. When I install it using ports: > % pkg install libXmu> > it installs but the libXmu is nowhere to be found? I really feel like > I'm missing a conceptual understanding here? I could be wrong but shouldn't this be done as root? - > I'm missing a conceptual understanding here? Sorry I meant as root Regarding libXmu: this library is a dependency of windowmaker so when windowmaker is build and installed via ports, libXmu will be build and installed also (if it doesn't exist on your system yet). Nice site to check on things like this is www.freshports.org. > Out of interested I wanted to try the more recent WindowMaker 0.95.8 > and downloaded the source from http://windowmaker.org/. I followed the > how-to of extract and configure steps but am having problems with .configure > step. Polytropon This is not the standard way of installing software from source on FreeBSD. If possible, use the ports collection. You can use svn to get the lasted version (or portsnap, if the snapshot version is sufficient). > The script stops with the information:- > > "checking for Xmu library... configure: error: library Xmu not found" > > however, Xmu library seems to be installed as reported by cd'ing to > /usr/local/ports/x11-toolkits/libXmu/ and issuing "make install clean". > The command reports the library is already installed. Also I find the > *.h > at /usr/local/include/X11/Xmu. However I cannot find a .lib file - > should > I be able to, and if so why does ports think it is installed. The library files are /usr/local/lib/libXmu.so (symlinked to the correct version) and /usr/local/lib/libXmu.a. > Clearly, I am misunderstanding what the error message is telling me. Maybe the configure script is Linux-centric and cannot properly deal with the locations where FreeBSD locates the libraries? Keep in mind this kind of software is being developed primarily with Linux in mind, so don't expect portability. ;-)