[OPEN-ILS-DEV] problems with 1.2.2.0 upgrade (marcdumper?)

Dan Scott denials at gmail.com
Mon May 12 13:27:38 EDT 2008


2008/5/12 John Fink <john.fink at gmail.com>:
> Hey folks,
>
> Trying to go through with the 1.2.2.0 upgrade from 1.2.1.4, and running make
> install yields the following error:
>
> webcore-install
> .
> make[2]: *** [mod_xmlent-install] Error 1
>  make[1]: *** [mod_xmlent-install] Error 2
> Installing cgi's to /openils//var/cgi-bin
> :cp: cannot stat `marcdumper': No such file or directory
> make[2]: *** [install] Error 1
> make[1]: *** [marcdumper-install] Error 2
>  reporter-install
>
>
> I went to the marcdumper directory, and changed yaz's include directory from
> /usr/include/yaz to /usr/local/include/yaz (as I believe Bill E's makefile
> manually installs yaz), but still no compile:
>
>  make
> gcc marcdumper.c -O2 -I /usr/include/libxml2/ -I /usr/local/include/yaz
> -lxml2 -lyaz  -o marcdumper
> In file included from /usr/local/include/yaz/marcdisp.h:42,
>                  from marcdumper.c:31:
>  /usr/local/include/yaz/xmltypes.h:45: error: conflicting types for
> 'xmlNode'
> /usr/include/libxml2/libxml/tree.h:446: error: previous declaration of
> 'xmlNode' was here
> /usr/local/include/yaz/xmltypes.h:46: error: conflicting types for
> 'xmlDocPtr'
>  /usr/include/libxml2/libxml/tree.h:492: error: previous declaration of
> 'xmlDocPtr' was here
> marcdumper.c: In function 'prune_doc':
> marcdumper.c:292: warning: dereferencing 'void *' pointer
> marcdumper.c:292: error: request for member 'children' in something not a
> structure or union
>  make: *** [marcdumper] Error 1
>
>
> Note that I may have broken things myself, as I've been using some of the
> 1.2.0 to 1.2.1 upgrade instructions in my 1.2.1 to 1.2.2 upgrade -- the
> 1.2.2 upgrade docs don't actually tell how to upgrade.  So I did a make
> config with the arguments openils_core openils_web openils_marcdumper
> openils_reporter openils_client_xul ... not sure if that's a problem or no.

For what it's worth, marcdumper really isn't necessary for anything,
so you should be able to get over that hump by removing
openils_marcdumper from your targets in make config, then running make
&& make install again.

-- 
Dan Scott
Laurentian University


More information about the Open-ils-dev mailing list