Hylafax Mailing List Archives

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

hylafax under solaris 2.6, gcc 2.8.1, libstdc++-2.8.1.1




Thanks for making the software available.  :)

Compiling hylafax under a relatively clean solaris 2.6 (sparc), gcc
2.8.1, libstdc++, libg++-2.8.1.1a required a few minor modifications.

Presumably because it was solaris 2.6:

LIBTIFF="-L/usr/local/lib -ltiff -R /usr/local/lib"


Presumably because it was libg++ 2.8.x:

ln -s /usr/local/include/g++ /usr/local/lib/g++-include


Presumably because it was gcc 2.8.x (context diff patch for patch -p0):

./util/SendFaxJob.c++.orig
*** ./util/SendFaxJob.c++.orig	Sat Feb 14 05:47:24 1998
--- ./util/SendFaxJob.c++	Fri Nov  6 20:20:20 1998
***************
*** 496,502 ****
  	fxBool fileSent = 
  	       client.setFormat(FaxClient::FORM_PS)
  	    && client.setType(FaxClient::TYPE_I)	// XXX??? TYPE_A
! 	    && client.sendZData(fd, FaxClient::storeTemp, coverDoc, emsg);
  	Sys::close(fd);
  	if (!fileSent) {
  	    if (emsg == "")
--- 496,502 ----
  	fxBool fileSent = 
  	       client.setFormat(FaxClient::FORM_PS)
  	    && client.setType(FaxClient::TYPE_I)	// XXX??? TYPE_A
! 	    && client.sendZData(fd, &FaxClient::storeTemp, coverDoc, emsg);
  	Sys::close(fd);
  	if (!fileSent) {
  	    if (emsg == "")
./util/SendFaxClient.c++.orig
*** ./util/SendFaxClient.c++.orig	Sat Feb 14 05:47:24 1998
--- ./util/SendFaxClient.c++	Fri Nov  6 20:20:48 1998
***************
*** 457,467 ****
  	if (info.rule->getResult() == TypeRule::TIFF) {
  	    fileSent = setFormat(FORM_TIFF)
  		    && setType(TYPE_I)
! 		    && sendData(fd, FaxClient::storeTemp, info.doc, emsg);
  	} else {
  	    fileSent = setFormat(FORM_PS)
  	    	    && setType(TYPE_I)		// XXX TYPE_A???
! 		    && sendZData(fd, FaxClient::storeTemp, info.doc, emsg);
  	}
  	Sys::close(fd);
  	if (!fileSent) {
--- 457,467 ----
  	if (info.rule->getResult() == TypeRule::TIFF) {
  	    fileSent = setFormat(FORM_TIFF)
  		    && setType(TYPE_I)
! 		    && sendData(fd, &FaxClient::storeTemp, info.doc, emsg);
  	} else {
  	    fileSent = setFormat(FORM_PS)
  	    	    && setType(TYPE_I)		// XXX TYPE_A???
! 		    && sendZData(fd, &FaxClient::storeTemp, info.doc, emsg);
  	}
  	Sys::close(fd);
  	if (!fileSent) {
./hfaxd/OldProtocol.c++.orig
*** ./hfaxd/OldProtocol.c++.orig	Sat Feb 14 05:50:07 1998
--- ./hfaxd/OldProtocol.c++	Fri Nov  6 22:06:10 1998
***************
*** 604,612 ****
  
  #define	DEFINE_Alter(param)						\
  void OldProtocolServer::alterJob##param(const char* tag)		\
!     { applyToJob(tag, "alter", OldProtocolServer::reallyAlterJob##param); }\
  void OldProtocolServer::alterJobGroup##param(const char* tag)		\
!     { applyToJobGroup(tag, "alter", OldProtocolServer::reallyAlterJob##param); }
  
  fxBool
  OldProtocolServer::alterSuspend(Job& job)
--- 604,612 ----
  
  #define	DEFINE_Alter(param)						\
  void OldProtocolServer::alterJob##param(const char* tag)		\
!     { applyToJob(tag, "alter", &OldProtocolServer::reallyAlterJob##param); }\
  void OldProtocolServer::alterJobGroup##param(const char* tag)		\
!     { applyToJobGroup(tag, "alter", &OldProtocolServer::reallyAlterJob##param); }
  
  fxBool
  OldProtocolServer::alterSuspend(Job& job)
***************
*** 752,760 ****
  
  #define	DEFINE_Op(op)						\
  void OldProtocolServer::##op##Job(const char* tag)		\
!     { applyToJob(tag, fxQUOTE(op), OldProtocolServer::do##op); }\
  void OldProtocolServer::##op##JobGroup(const char* tag)		\
!     { applyToJobGroup(tag, fxQUOTE(op), OldProtocolServer::do##op); }
  void
  OldProtocolServer::doremove(Job& job, const char*)
  {
--- 752,760 ----
  
  #define	DEFINE_Op(op)						\
  void OldProtocolServer::##op##Job(const char* tag)		\
!     { applyToJob(tag, fxQUOTE(op), &OldProtocolServer::do##op); }\
  void OldProtocolServer::##op##JobGroup(const char* tag)		\
!     { applyToJobGroup(tag, fxQUOTE(op), &OldProtocolServer::do##op); }
  void
  OldProtocolServer::doremove(Job& job, const char*)
  {



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services