To make sure that you have installed all packages that you need for building MonetDB, do this in the top-level directory of MonetDB (all on one line): sudo apt-get install -y $(sed -n '/Build-Depends: */{s///;s/ *([^)]*)//g;s/, */ /g;p;}' */debian/control | tr -s ' ' '\012' | sort -u | grep -v monetdb) What this does is install all packages that are mentioned as Build-Depends in the Debian (and Ubuntu) configuration files. Leave out the -y if you want interaction (i.e. apt-get asking you whether you want to install those packages). On 2010-11-30 01:56, Stefan Manegold wrote:
Hi Rob,
I'm everything but a Ubuntu expert, but on other Linux flavors like Fedora and Debian, to use libxml2 for development, in addition to a libxml2 package, also a libxml2-dev or libxml2-devel package needs to be installed that among others provides the xml2-config script and the header files that configure is looking for.
Hence, could you please check, whether such libxml2-dev(el) package also exists for Ubuntu, and if so, whether it is installed on your machine?
Alternatively, you could consider installing the prebuilt binary packages as available from http://dev.monetdb.org/downloads/deb/ instead of compiling MonetDB yourself.
Stefan
On Mon, Nov 29, 2010 at 11:54:04PM +0000, Rob Fynes wrote:
Hello,
Apologies if this is the improper place to be asking this. I'm a new user to MonetDB, and I'm having trouble installing MonetDB/XQuery on Ubuntu 10.04 32-bit. Actually, the installation did seem to succeed (running the auto install script from the super source tarball) and I can start MServer, but with the error:
# MonetDB Server v4.40.2 # based on GDK v1.40.2 # not released # Copyright (c) 1993-July 2008, CWI. All rights reserved. # Copyright (c) August 2008-2010, MonetDB B.V.. All rights reserved. # Compiled for i686-pc-linux-gnu/32bit with 32bit OIDs; dynamically linked. # Detected 3.919 GiB (4208013312 bytes) main-memory. # Visit http://monetdb.cwi.nl/ for further information. !ERROR: moduleClient: module(pathfinder) load error.
The problem, its seems anyway, is during the configuration of pathfinder:
... ... checking for signal.h... yes checking return type of signal handlers... (cached) void checking for strings.h... (cached) yes checking for strcasecmp... yes checking for xml2-config.32... no checking for xml2-32-config... no checking for xml2-config... no checking for libxml/parser.h... no configure: error: in `/home/rob/MonetDB': configure: error: The libxml2 XML parsing library and/or include files were not found or you have requested to not use it. This is required dependence, core components like the XML Schema import functionality depends on it. See `config.log' for more details.
I do have libxml2 installed (by default with Lucid). I've run the pathfinder configure script a few times, with the option --with-libxml2=*some variations*, but I'm not really confident about what I'm doing. I was wondering if anyone could point me in the right direction. Thanks.
-Rob
------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- Sjoerd Mullender