Stephen Davies
2004-Mar-23 06:27 UTC
[Asterisk-Users] SoftFAX/spandsp: installing and results on Gentoo
Hi, I've installed spandsp library an RxFAX app on my Gentoo based * server - here's a little report on the process. Firstly - my Gentoo box had libtiff 3.6.0 installed, but did not have /usr/include/tif_dir.h and tiffiop.h. First thing I did was to copy the two missing headers from ftp.opencall.org. The result of that was seg faults when rxfax started trying to write the tiff file. I presume the headers on ftp.opencall.org don't match the 3.6.0 release of libtiff. The second thing I tried was to update my gentoo box to libtiff 3.6.1 - I emerged that, then also downloaded the source and from that installed the extra headers. That got rid of the seg fault, but the generated tiff files were now almost completely black with just a couple of stripes instead of the faxed image. I then emerge unmerged tiff, and downloaded and built tiff-3.5.7 from source manually. Rebuilt spandsp and asterisk and bingo rxfax now works. My conclusion - spandsp seems to have a compatibility issue with tiff-3.6.1. (Unless my install approach was broken). And - you may want to make the two missing header files available for more than just 3.5.7 of libtiff. I'm really impressed with the end-result - awesome to do that all in software! Regards, Steve Davies
Diego Ercolani
2004-Mar-23 07:36 UTC
[Asterisk-Users] SoftFAX/spandsp: installing and results on Gentoo/SuSE
Il 14:27, marted? 23 marzo 2004, Stephen Davies ha scritto:> Hi, > > I've installed spandsp library an RxFAX app on my Gentoo based * > server - here's a little report on the process. >[...] > My conclusion - spandsp seems to have a compatibility issue with > tiff-3.6.1. (Unless my install approach was broken). And - you may > want to make the two missing header files available for more than just > 3.5.7 of libtiff. > > I'm really impressed with the end-result - awesome to do that all in > software! > > Regards, > Steve DaviesI've found the same unresolved issue with libtiff. I use SuSE 9.0 To address the problem, here there are two links to download my copy of libtiff and tiff 3.6.1 http://www.alleanzapopolare.net/asterisk/libtiff-3.6.1-307.i586.rpm http://www.alleanzapopolare.net/asterisk/tiff-3.6.1-307.src.rpm With this library, I compile just fine, I receive faxes, and don't fall in core dumps but the tiff file rxfax receive is readable but the image is only some black lines and dots not what I send. Thnak you
Jeb Campbell
2004-Mar-23 07:40 UTC
[Asterisk-Users] SoftFAX/spandsp: installing and results on Gentoo
On Mar 23, 2004, at 8:27 AM, Stephen Davies wrote:> My conclusion - spandsp seems to have a compatibility issue with > tiff-3.6.1. (Unless my install approach was broken). And - you may > want to make the two missing header files available for more than just > 3.5.7 of libtiff.Running gentoo here also, and flawlessly. I think you are right about that involving libtiff. I'm running 3.5.7-r1, but I changed the ebuild. If you change the ebuild from make ... install to make ... install-private, you get the headers you need (it's in the function src_install). Anyway that's my 2 cents, Jeb Campbell jebc@c4solutions.net