Date: Fri, 06 Oct 2017 20:13:33 -0400 From: James Geering <j.geering@btinternet.com> To: Polytropon <freebsd@edvax.de> Cc: freebsd-questions@freebsd.org Subject: Re: Cannot .configure WindowMaker 0.95.8 - Xmu lib issues Message-ID: <1507335213.4246.18.camel@btinternet.com> In-Reply-To: <20171006213842.e0b5f82e.freebsd@edvax.de> References: <1507310201.4831.52.camel@btinternet.com> <20171006213842.e0b5f82e.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1507335213.4246.18.camel>