[OPEN-ILS-GENERAL] libxml2 headers problem

Jason Stephenson jstephenson at mvlc.org
Fri Mar 6 12:40:48 EST 2015


Quoting Francis Kayiwa <francis.kayiwa at gmail.com>:

>
> When I get that far and what I was trying to tease out of your
> response is if my changes will be tolerated and ideally accepted. My
> goal is to get it to work on OpenBSD/Bitrig which is what I use. This
> is a personal goal but if others can benefit (including the project)
> It is a small hope to Free and Net which I will leave those who want
> to take it on and we all win.

If you want to work at this in terms of making Evergreen more portable
to *BSD systems, I'd be happy to review your work. I'd suggest sending
a public ssh key to the gitadmin list as described here:

http://evergreen-ils.org/dokuwiki/doku.php?id=dev:git

That way you'll have working repo access. Alternately, you could do
your work on github. We're supposed to have some kind of work flow
for handling pull requests from git hub.

HtH,
Jason

>
> I'm thick skinned enough to take terse/curt responses with useful
> information. Worth pointing out I shouldn't be the standard one uses
> to measure civility though.
>
> Cheers,
> ./fxk
>
>
>>
>> Jason
>>
>>
>> Quoting Francis Kayiwa <francis.kayiwa at gmail.com>:
>>
>>> On Fri, Mar 6, 2015 at 11:16 AM, Jason Stephenson <jstephenson at mvlc.org>
>>> wrote:
>>>>
>>>> You will not get Evergreen to work on OpenBSD without a ton of changes to
>>>> the code and build system.
>>>
>>>
>>> and is this desirable... I'm having a hard time grokking this.
>>>
>>>>
>>>> I suggest you install the latest Debian GNU/Linux or Ubuntu 12.04 or
>>>> 14.04
>>>> and try that.
>>>
>>>
>>> This isn't for a production machine which would make this the
>>> recommendation.
>>>
>>>>
>>>> AFAIK, no one has even attempted OpenBSD, and the work to get Evergreen
>>>> to
>>>> even install on FreeBSD was aborted well over two years ago.
>>>
>>>
>>> I am *that one* who is attempting to see if it can be done.
>>>
>>> ./fxk
>>>
>>>
>>>>
>>>>
>>>> Quoting Francis Kayiwa <francis.kayiwa at gmail.com>:
>>>>
>>>>> Heya,
>>>>>
>>>>> I am in the midst of attempting an install of Evergreen on OpenBSD and
>>>>> I am running into something odd. Apologies since it isn't immediately
>>>>> clear how to search the archives.
>>>>>
>>>>>
>>>>> I have OpenBSD -current
>>>>>
>>>>> OpenBSD 5.7 (RAMDISK_CD) #799: Wed Mar  4 12:48:16 MST 2015
>>>>>     todd at amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
>>>>>
>>>>> which is libxml2
>>>>>
>>>>> ➜  opensrf-2.4.0  pkg_info libxml
>>>>> Information for inst:libxml-2.9.2p0
>>>>>
>>>>> Comment:
>>>>> XML parsing library
>>>>>
>>>>> Required by:
>>>>> libxslt-1.1.28p0
>>>>> p5-XML-LibXML-1.69p3v0
>>>>> p5-XML-LibXML-Common-0.13p7
>>>>> p5-XML-LibXSLT-1.68p5
>>>>> postgresql-client-9.4.1
>>>>> postgresql-server-9.4.1p1
>>>>> py-libxml-2.9.2p0
>>>>> py-xmpp-1.1.2
>>>>>
>>>>> Description:
>>>>> This is a library for parsing the XML language.
>>>>>
>>>>> Maintainer: The OpenBSD ports mailing-list <ports at openbsd.org>
>>>>>
>>>>> WWW: http://xmlsoft.org/
>>>>>
>>>>> When I run the following step.
>>>>>
>>>>> PATH=opensrf-2.4.0/bin:$PATH ./configure --prefix=/opensrf-2.4.0
>>>>> --with-libxml2=/usr/local/include/libxml2
>>>>> --with-apxs=/usr/local/sbin/apxs2 --sysconfdir=/opensrf-2.4.0/conf
>>>>>
>>>>> I get the configure: error: ***OpenSRF requires xml2 development headers
>>>>>
>>>>> Thing is I know said headers are there.
>>>>>
>>>>> ls -lR /usr/local/include/libxml2
>>>>> total 4
>>>>> drwxr-xr-x  2 root  wheel  1536 Mar  5 16:18 libxml
>>>>>
>>>>> /usr/local/include/libxml2/libxml:
>>>>> total 924
>>>>> -r--r--r--  1 root  bin   3157 Mar  1 13:36 DOCBparser.h
>>>>> -r--r--r--  1 root  bin   9398 Mar  1 13:36 HTMLparser.h
>>>>> -r--r--r--  1 root  bin   3646 Mar  1 13:36 HTMLtree.h
>>>>> -r--r--r--  1 root  bin   4341 Mar  1 13:36 SAX.h
>>>>> -r--r--r--  1 root  bin   4949 Mar  1 13:36 SAX2.h
>>>>> -r--r--r--  1 root  bin   3109 Mar  1 13:36 c14n.h
>>>>> -r--r--r--  1 root  bin   4905 Mar  1 13:36 catalog.h
>>>>> -r--r--r--  1 root  bin   5159 Mar  1 13:36 chvalid.h
>>>>> -r--r--r--  1 root  bin   5152 Mar  1 13:36 debugXML.h
>>>>> -r--r--r--  1 root  bin   1842 Mar  1 13:36 dict.h
>>>>> -r--r--r--  1 root  bin   8301 Mar  1 13:36 encoding.h
>>>>> ....
>>>>>
>>>>> Was wondering if there's anyone who can point me in the right direction.
>>>>>
>>>>> Cheers,
>>>>> ./fxk
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> E Pluribus Unix
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Jason Stephenson
>>>> Assistant Director for Technology Services
>>>> Merrimack Valley Library Consortium
>>>> 1600 Osgood ST, Suite 2094
>>>> North Andover, MA 01845
>>>> Phone: 978-557-5891
>>>> Email: jstephenson at mvlc.org
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> E Pluribus Unix
>>
>>
>>
>> --
>> Jason Stephenson
>> Assistant Director for Technology Services
>> Merrimack Valley Library Consortium
>> 1600 Osgood ST, Suite 2094
>> North Andover, MA 01845
>> Phone: 978-557-5891
>> Email: jstephenson at mvlc.org
>>
>>
>
>
>
> --
> E Pluribus Unix


-- 
Jason Stephenson
Assistant Director for Technology Services
Merrimack Valley Library Consortium
1600 Osgood ST, Suite 2094
North Andover, MA 01845
Phone: 978-557-5891
Email: jstephenson at mvlc.org




More information about the Open-ils-general mailing list