From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8386 invoked by alias); 4 Nov 2011 21:13:44 -0000 Received: (qmail 8376 invoked by uid 22791); 4 Nov 2011 21:13:43 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW,TW_YG X-Spam-Check-By: sourceware.org Received: from out5.smtp.messagingengine.com (HELO out5.smtp.messagingengine.com) (66.111.4.29) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Nov 2011 21:13:17 +0000 Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 48BF5206EA for ; Fri, 4 Nov 2011 17:13:17 -0400 (EDT) Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute3.internal (MEProxy); Fri, 04 Nov 2011 17:13:17 -0400 Received: from [192.168.1.3] (50-88-210-98.res.bhn.net [50.88.210.98]) by mail.messagingengine.com (Postfix) with ESMTPSA id F3A908E0FE2; Fri, 4 Nov 2011 17:13:16 -0400 (EDT) Message-ID: <4EB45567.5030500@cwilson.fastmail.fm> Date: Fri, 04 Nov 2011 21:13:00 -0000 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: Mailing List: CygWin-Apps Subject: Re: [ITP] astrometry.net-0.38-1 References: <6r0p87d36jnok922ec2mkfjqpog218994j@4ax.com> <4E8F0AA2.4060402@gmail.com> <4EB3865A.2060400@cwilson.fastmail.fm> In-Reply-To: <4EB3865A.2060400@cwilson.fastmail.fm> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com X-SW-Source: 2011-11/txt/msg00030.txt.bz2 On 11/4/2011 2:29 AM, Charles Wilson wrote: > Your build still links against libbackend.a, rather than cygbackend.dll. > > I'm trying to massage your -src package to DTRT. Stay tuned. I've posted a revised version of your package here: http://cygwin.cwilson.fastmail.fm/astrometry.net-0.38-2-src.tar.bz2 http://cygwin.cwilson.fastmail.fm/astrometry.net-0.38-2.tar.bz2 Inside the -src tarball is the *original* upstream sources (astrometry.net-0.38.tar.bz2), a few patches, and a .cygport script. to rebuild, unpack the -src and do: $ cygport astrometry.net-0.38-2.cygport all You should probably do that, to ensure that the build procedure works on your machine. Also, to test the resuts; I have no idea how to use this stuff. Finally: the backend.exe program is linked to cygbackend.dll, which are both in /usr/lib/astrometry/bin/. All the python stuff, including three extension DLLs, are in /usr/lib/astrometry/python/*/ I modified the build procedure for cygbackend.dll -- it now generates an import lib, and it also (re)exports all of the symbols from the other (sub)libraries. That means when linking backend.exe, you don't need to list those other dependencies, because cygbackend.dll will satisfy them all. (*) Provided you can rebuild this package on your machine, AND that it actually works, consider it GTG. (*) I did not do this, but because cygbackend now exports all the symbols from (e.g.) libanfiles.a, libutils.a, libkd.a, etc, you COULD modify the link commands for almost all of the /other/ .exe's in the blind/ directory, which currently link against (many) of those static libraries, to instead link solely against cygbackend.dll (actually, libbackend.dll.a). That would make the entire package MUCH smaller. But it's a lot of work. -- Chuck