Frank McQuillan created MADLIB-1078:
---------------------------------------

             Summary: Ensure install check passes even if libxml not installed
                 Key: MADLIB-1078
                 URL: https://issues.apache.org/jira/browse/MADLIB-1078
             Project: Apache MADlib
          Issue Type: Task
          Components: Build System
            Reporter: Frank McQuillan
             Fix For: v1.11


Comments from Ed Espino on 1.10 RC-2 review on thread
https://mail-archives.apache.org/mod_mbox/incubator-madlib-user/201703.mbox/%3CCAHAuQDzarS7K4u-rOsLLhbwSHCyFn5cKSyjLinE%2BZ%3DjSpU59qw%40mail.gmail.com%3E

{code}
BUILD, INSTALL and INSTALL-CHECK

I was able to build the package and successfully ran MADlib
install-check against PostgreSQL 9.6.2.

Issue: There is no obvious reference to the PostgreSQL libxml
       dependency in dev documentation. The madpack install-check
       has failures (see below) if "--with-libxml" configure
       option is not specified for PostgreSQL.

       install-check errors encountered due to PostgreSQL
       configuration without "--with-libxml" option:

         psql:/tmp/madlib.0UIPlZ/pmml/test/table_to_pmml.sql_in.tmp:73: ERROR:  
unsupported XML feature
         DETAIL:  This functionality requires the server to be built with 
libxml support.
         HINT:  You need to rebuild PostgreSQL using --with-libxml.
         CONTEXT:  while creating return value
         PL/Python function "pmml"
{code}

Story

As a MADlib installer, I want IC tests that use lib-xml to be skipped, so that 
my install is clean and I do not have to wonder if there is a problem.

More:  if at PMML export is called that requires lib-xml, then it will fail 
with a run-time db error which is fine.  This is not a commonly used function.

Acceptance:

1) madpack install succeeds and IC passes even tho PG does not have libxml 
installed



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to