delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_FREE_WEBM_RuMail,SPF_SOFTFAIL,TW_BP,TW_BX,TW_IB,TW_YG |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4DB06F41.2020802@mail.ru> |
Date: | Thu, 21 Apr 2011 19:54:09 +0200 |
From: | Dmitry Katsubo <dma_k AT mail DOT ru> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 |
MIME-Version: | 1.0 |
To: | marco atzeri <marco DOT atzeri AT gmail DOT com> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: Linking statically against GraphicsMagick: problems with libxml2 and libpng |
References: | <4D9A445C DOT 7080804 AT mail DOT ru> <BANLkTikMJcPtXrLH3hMTsgk-2TykvJiczQ AT mail DOT gmail DOT com> <4D9AD222 DOT 9010505 AT mail DOT ru> <BANLkTi=mMueWnju1cT3zdRyF0tfMY83obQ AT mail DOT gmail DOT com> <4DADD640 DOT 1080307 AT mail DOT ru> <BANLkTi=LxviLgnq9etF6g3Sz7kw8pp_Tbw AT mail DOT gmail DOT com> |
In-Reply-To: | <BANLkTi=LxviLgnq9etF6g3Sz7kw8pp_Tbw@mail.gmail.com> |
X-Online-Scanned: | by Cloudmark authority (on smtp06.online.nl) |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Hi Marco, Thanks for reply. On 19.04.2011 21:26, marco atzeri wrote: > On Tue, Apr 19, 2011 at 8:36 PM, Dmitry Katsubo wrote: >> I have went through the manual installation of libxml: the package was >> installed absolutely OK. After "make install" I got: >> >> $ ls -1 /usr/local/lib/libxml2* >> /usr/local/lib/libxml2.a >> /usr/local/lib/libxml2.dll.a >> /usr/local/lib/libxml2.la >> >> $ ls -1 /usr/local/bin/cygxml2* >> /usr/local/bin/cygxml2-2.dll >> >> I believe this is Cygwin packaging problem, which does not put libxml2.a >> into destination devel package. I am not familiar with how the binary >> packages are created. Perhaps you can help me here. Is it possible to >> have a look at the logs at Cygwin build server? I can attach mine, which >> show how libxml2.a is successfully build and installed. > > Hi Dmitry, > there is no cygwin build server. Any maintainer build the packages by itself. How can I elevate this minor change request to the maintainer? > To replicate download the source package with setup and > > $ cd /usr/src > $ cygport libxml2-2.7.7-1.cygport prep compile Thanks, that is new to me. > From the Yaakov's package source build log I see : > > checking whether to build shared libraries... yes > checking whether to build static libraries... no When I run "./configure" without arguments, it is displayed: checking whether to build shared libraries... yes checking whether to build static libraries... yes So the default setting seems to be OK. I have found out that "--disable-static" is explicitly passed to configure, but it is not listed in CYGCONF_ARGS in libxml2-2.7.7-1.cygport... Magic? Is there any good reason to do this on purpose? > so something is blocking the "theoretical" default configuration > > --enable-shared[=PKGS] build shared libraries [default=yes] > --enable-static[=PKGS] build static libraries [default=yes] > > and looking on configure we see that the default seems no > > -------------------------------------------------------------------------- > # Check whether --enable-static was given. > if test "${enable_static+set}" = set; then : > enableval=$enable_static; p=${PACKAGE-default} > case $enableval in > yes) enable_static=yes ;; > no) enable_static=no ;; > *) > enable_static=no > # Look at the argument we got. We use all the common list separators. > lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," > for pkg in $enableval; do > IFS="$lt_save_ifs" > if test "X$pkg" = "X$p"; then > enable_static=yes > fi > done > IFS="$lt_save_ifs" > ;; > esac > else > enable_static=yes > fi > ------------------------------------------------------------------------- > > so an enable static should be added to the .cygport. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |