Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installing hylafax-6
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2497
Location: Edmonton, AB

PostPosted: Fri Mar 10, 2017 1:30 pm    Post subject: installing hylafax-6 Reply with quote

I'm trying to install hylafax-6.0.4 from overlay, current hylafaxplus-5.5.5 in portage is buggy. My modem will not even dial the number. Trying to send a fax system CPU goes 100% with process:
Code:
usr/sbin/faxq -q /var/spool/fax -D

My older system after upgrade is still running "hylafax-6.0.3" and no problems sending/receiving faxes.

When I was trying to install hylafax-6.0.4 it is complaining about /usr/include/tiff3
================
Missing TIFF Library.
Code:
Compilation of the following test program failed:

----------------------------------------------------------
#include <stdio.h>
#include "tiffio.h"
main()
{
    printf( "header_ver=%d lib_ver=%s", TIFFLIB_VERSION, TIFFGetVersion() );
    exit(0);
}
----------------------------------------------------------

TIFFINC=-I/usr/include/tiff3
LIBTIFF=-l:/usr/lib/libtiff.so.3 -ljpeg -lz

Verify that you have the TIFFINC and LIBTIFF configuration parameters
set correctly for your system (see above) and that any environment
variables are setup that are needed to locate a libtiff DSO at runtime
(e.g. LD_LIBRARY_PATH). Also be sure that any relative pathnames are
made relative to the top of the build area.

I have: media-libs/tiff-3.9.7-r1 (installed)
but the system is not listing: "tiff3"
Code:
ll /usr/include/tiff*
-rw-r--r-- 1 root root  1521 Mar  9 21:39 /usr/include/tiffconf.h
-rw-r--r-- 1 root root 35983 Mar  9 21:39 /usr/include/tiff.h
-rw-r--r-- 1 root root 23008 Mar  9 21:39 /usr/include/tiffio.h
-rw-r--r-- 1 root root  1702 Mar  9 21:39 /usr/include/tiffio.hxx
-rw-r--r-- 1 root root   410 Mar  9 21:39 /usr/include/tiffvers.h

How do I go around it?
_________________
#Thelma
Back to top
View user's profile Send private message
ShyPixie
n00b
n00b


Joined: 20 Nov 2015
Posts: 19
Location: Brazil

PostPosted: Fri Mar 10, 2017 2:40 pm    Post subject: Reply with quote

On Gentoo tiff headers are in /usr/include/tiff, you will need to patch the ebuild to replace the /usr/include/tiff3 with /usr/include/tiff
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2497
Location: Edmonton, AB

PostPosted: Fri Mar 10, 2017 4:59 pm    Post subject: Reply with quote

ShyPixie wrote:
On Gentoo tiff headers are in /usr/include/tiff, you will need to patch the ebuild to replace the /usr/include/tiff3 with /usr/include/tiff


Thanks for the input. Yes, change the ebuild to:
--with-TIFFINC=\"-I/usr/include/tiff\"

but emerge fails with the same error:
Code:
Missing TIFF Library.

Compilation of the following test program failed:

----------------------------------------------------------
#include <stdio.h>
#include "tiffio.h"
main()
{
    printf( "header_ver=%d lib_ver=%s", TIFFLIB_VERSION, TIFFGetVersion() );
    exit(0);
}
----------------------------------------------------------

TIFFINC=-I/usr/include/tiff
LIBTIFF=-l:/usr/lib64/libtiff.so.3 -ljpeg -lz

Verify that you have the TIFFINC and LIBTIFF configuration parameters
set correctly for your system (see above) and that any environment
variables are setup that are needed to locate a libtiff DSO at runtime
(e.g. LD_LIBRARY_PATH). Also be sure that any relative pathnames are
made relative to the top of the build area.


Code:
ll /usr/lib64/libtiff.so.3
-rwxr-xr-x 1 root root 417664 Mar  9 21:43 /usr/lib64/libtiff.so.3

ll /usr/include/tiff*
-rw-r--r-- 1 root root  1521 Mar  9 21:39 /usr/include/tiffconf.h
-rw-r--r-- 1 root root 35983 Mar  9 21:39 /usr/include/tiff.h
-rw-r--r-- 1 root root 23008 Mar  9 21:39 /usr/include/tiffio.h
-rw-r--r-- 1 root root  1702 Mar  9 21:39 /usr/include/tiffio.hxx
-rw-r--r-- 1 root root   410 Mar  9 21:39 /usr/include/tiffvers.h

_________________
#Thelma
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2497
Location: Edmonton, AB

PostPosted: Fri Mar 10, 2017 6:09 pm    Post subject: Reply with quote

I've pulled hylafax-6.0.3 from attic:

but it is complaining about tiff:
Code:
Found libtiff version 4.0

Incompatible TIFF Library.
HylaFAX 6.0.3 requires TIFF software distribution versions 3.4 through 3.9.

This version depend on: =media-libs/tiff-3.9*[jbig?]

I have installed tiff sloted
Code:
eshowkw tiff
Keywords for media-libs/tiff:
            |                                 |   u   | 
            | a a         p s   a     n r     |   n   | 
            | l m   h i   p p   r m m i i s   | e u s | r
            | p d a p a p c a x m i 6 o s 3   | a s l | e
            | h 6 r p 6 p 6 r 8 6 p 8 s c 9 s | p e o | p
            | a 4 m a 4 c 4 c 6 4 s k 2 v 0 h | i d t | o
------------+---------------------------------+-------+-------
[I]3.9.7-r1 | ~ + ~ ~ ~ ~ ~ ~ + + ~ + o o + + | 5 o 3 | gentoo
------------+---------------------------------+-------+-------
   4.0.6    | + + + + + + + + + ~ ~ ~ o o ~ ~ | 5 # 0 | gentoo
   4.0.6-r1 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ ~ | 6 #   | gentoo
[I]4.0.7    | + + + + + + + + + ~ ~ ~ o o ~ ~ | 6 o   | gentoo


How do I modify ebuild so it will find it?
hylafax-6.0.3.ebuild (original)
Code:
 local my_conf="
...
               --with-LIBTIFF=\"-ltiff -ljpeg -lz\"

even when I change it to:
Code:

                --with-LIBTIFF=\"-l:/usr/lib/libtiff.so.3 -ljpeg -lz\"

It still complains: Found tiffio.h version 20161119
Found libtiff version 4.0

Incompatible TIFF Library.

How to modify the ebuild so it will find tiff-3?
_________________
#Thelma
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum