>>>>> 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/