HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compiling hylafax; can't apply patches



-----BEGIN PGP SIGNED MESSAGE-----

On Tue, 27 Jul 1999, Marina Daniels wrote:

>      hylafax-v4.0pl2
>      on a solaris 2.6 box
>      with gcc 2.8.1 compiler

Good programmer! You actually listed the OS, version, and compiler!
Bless you!

>      I am trying to apply 2 patches before I start compiling it:
>      
>      gcc-2.8.x and the leap-year patch
>      
>      using GNU patch 2.5 for solaris 2.6
>      
>      and it gives out messages saying that part of it has succeeded and 
>      part of it has failed for both patches. I am following the 
>      instructions in the patch itself, (and it doesn't work at all with the 
>      Solaris patch program because it can't even understand what files to 
>      patch) - I don't know what I am doing wrong .

Ahh. GNU patch has changed its style somewhat, and you should examine
changing to the source directory and typing:

	patch -p1 < ../whatever-its-name.patch

The -p1 tells it how much of the directory name to strip off.

>      I tried to compile hylafax anyway and it said:
>      
>      AtSyntax.c++: In function `void adjustYDay(struct tm &)': 
>      AtSyntax.c++:298: no match for `tm & % int' 
>      AtSyntax.c++:298: no match for `tm & % int' 
>      AtSyntax.c++:298: no match for `tm & % int'

Half a patch is *NOT* better than none. You might consider hopping
directly to the new 4.1beta1 release at www.hylafax.org: while
a beta release, it's got these and a number of other patches
already built in....

			Nico Kadel-Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBN52qlT/+ItycgIJRAQGdTAP8DlHAg/tUaUdq9GVJMC6+Gtgi9+IFeXbl
8gS8Bpi15tT/YTlUd5O6qvp+TQDptZY0VXM1lDR6XbY1fJQfFDp6MFxz/w6in/pV
2R0D+iQ6ZKo5gCoGs1dnOSRAnNLUA8obpTjuhQ1wjl5oz+0tTzOGbFFHvhodcMsq
S0liwumLNXg=
=fC7B
-----END PGP SIGNATURE-----




Project hosted by iFAX Solutions