www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
X-Mailer: | 21.4 (patch 21) "Educational Television" XEmacs Lucid (via feedmail 10 I) |
To: | Angelo Graziosi <angelo DOT graziosi AT alice DOT it> |
Cc: | cygwin AT cygwin DOT com |
Subject: | Re: [ITA] xfig/xfig-lib: An interactive drawing tool (patch) |
References: | <47FA9D04 DOT 5090803 AT alice DOT it> <7z4pacl4fl DOT fsf AT vzell-de DOT de DOT oracle DOT com> <47FBD05F DOT 5060206 AT alice DOT it> <47FBE2E3 DOT 8040001 AT alice DOT it> |
From: | "Dr. Volker Zell" <dr DOT volker DOT zell AT oracle DOT com> |
Date: | Thu, 10 Apr 2008 22:31:48 +0200 |
In-Reply-To: | <47FBE2E3.8040001@alice.it> (Angelo Graziosi's message of "Tue, 08 Apr 2008 23:25:55 +0200") |
Message-ID: | <7zprsx78p7.fsf@vzell-de.de.oracle.com> |
User-Agent: | Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (cygwin32) |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
>>>>> Angelo Graziosi writes: > Angelo Graziosi ha scritto: >> Dr. Volker Zell ha scritto: >>>>>>>> Angelo Graziosi writes: >>> >>>>> But why still 3.2.4 version? A new release 3.2.5 with several bug >>>>> fixes has been released [1]. >>> >>> The problem is it does not compile due to dependency on >>> >>> #include <complex.h> >>> in w_intersect.c (which we don't have) and later on >>> >>> w_intersect.c:884: error: syntax error before "ix1c" >>> w_intersect.c:885: error: syntax error before "iy1c" >>> w_intersect.c:886: error: syntax error before "ix2c" >>> w_intersect.c:887: error: syntax error before "iy2c" >>> w_intersect.c:891: error: `iy1c' undeclared (first use in this function) >>> w_intersect.c:891: error: (Each undeclared identifier is reported >>> only once >>> w_intersect.c:891: error: for each function it appears in.) >>> w_intersect.c:891: error: `_Complex_I' undeclared (first use in >>> this function) >>> w_intersect.c:892: error: `ix1c' undeclared (first use in this function) >>> w_intersect.c:894: error: `iy2c' undeclared (first use in this function) >>> w_intersect.c:895: error: `ix2c' undeclared (first use in this function) >>> >>> Ciao >>> Volker >> The patch below should solve the thing. >> It avoids the complex computing. If z=(x,y) is a complex number, then >> the line 891 of w_intersect.c reads >> iy1c = (-X,sqrt(-rx))/(2.0 * W) >> which with reals reads >> iy1c_x = -X/(2.0 * W) >> iy1c_y = sqrt(-rx)/(2.0 * W) >> The line 892 (in complexs) reads >> ix1c = (K * iy1c) + L >> i.e. in real form >> ix1c_x = K*iy1c_x+L >> ix1c_y = K*iy1c_y+0 >> and so on. >> To be noted : >> --- K,X,W,L are all real. >> --- (-rx)>0 in sqrt(-rx) (see line 873 and 880) >> My buildnow fails when installing: >> ------------------------------------------ >> [...] >> rman -f HTML < xfig._man \ >> > xfig.1-html && mv -f xfig.1-html xfig.1.html >> >>> Installing xfig-3.2.5-1 >> Copying Fig Object Libraries >> + mkdirhier /tmp.builds/xfig-3.2.5-1/inst/usr/bin >> + mkdirhier /tmp.builds/xfig-3.2.5-1/inst/usr/lib/xfig/Libraries > ^^^^^^^^^ > Oops... +XCOMM in the Imakefile! Sorry. > Now it builds and installs. Did you try sending the patch upstream ? > Angelo. Ciao Volker -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |