libxml2 package does not include the static library

Dmitry Katsubo dma_k@mail.ru
Thu May 5 22:06:00 GMT 2011


Dear CygWin community,

I haven't got from the FAQ how to report problems in CygWin, so I email
to this maillist again.

The current package v2.7.7-1 does not include the file /lib/libxml2.a,
which I need for static linking. When I compile the package manually via
"configure & make all install" I got all files I need:

checking whether to build shared libraries... yes
checking whether to build static libraries... yes
...
$ ls -1 /usr/local/lib/libxml2*
/usr/local/lib/libxml2.a
/usr/local/lib/libxml2.dll.a
/usr/local/lib/libxml2.la

but the output of "cygport libxml2-2.7.7-1.cygport prep compile" reports:

checking whether to build shared libraries... yes
checking whether to build static libraries... no

I have found out that "--disable-static" is explicitly passed to
configure. Maybe it was done on purpose. Is it possible to enable static
libraries assemble?

Thanks in advance.

-- 
With best regards,
Dmitry

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list