LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 03-23-2008, 01:48 PM   #1
boxenberg
LQ Newbie
 
Registered: Sep 2006
Posts: 19

Rep: Reputation: 0
problem compiling hylafax 5.2.2 from source on SUSE Linux 10.0


Hi,
I downloaded the hylafax 5.2.2 source from sourceforge. I exracted the tarball so the folder hylafax-5.2.2 resides under /usr/src. When I go to compile a build the script bombs with the following error:
<snip>
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=/usr/local/include
LIBTIFF=-L/usr/local/lib -ltiff

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.
</snip>
I have LibTIFF installed, at least I think so - in fact when I was doing a system update via YaST it said something about LibTIFF 3.7.3. In any event, in looking through my sysem I have a folder named tiff-3.8.2 under /usr/local.
I suspect my problem is, being relatively new to Linux, I installed LibTIFF to the wrong location, or at least not where the application I want to install is expecting to find the libraries.
If I am correct in my analysis, would someone please help me correct it so I can compile and install the application?
On another note, in reading the hylafax instruction pages at sourceforge, I came across the following paragraph:
<snip>
If you are using an environment that supports DSOs and HylaFAX supports DSOs in your enviornment (i.e. Linux), then you must ensure that your /etc/ld.so.conf (or equivalent) file contains a reference to /usr/local/lib or wherever libfaxserver.so and libfaxutil.so were installed. (Remember that if you alter /etc/ld.so.conf you must run ldconfig afterwards.)
</snip>
Well, on my system I do not have a /etc/ld.so.conf but rather /etc/ld.so.conf.d and it is a folder, not a file.
Would someone please enlighten me???
Thanks!
Dov
 
Old 03-23-2008, 04:20 PM   #2
boxenberg
LQ Newbie
 
Registered: Sep 2006
Posts: 19

Original Poster
Rep: Reputation: 0
RE: Problem compiling hylafax...

Just some more info in case it is relevant.
I have been doing some more digging and under /usr/lib I have the following libtiff related files:
libtiff.so.3
libtiff.so.3.7.3
libtiffxx.so.3
libtiffxx.so.3.7.3
 
Old 03-23-2008, 06:08 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
libtiff.so.3
libtiff.so.3.7.3
libtiffxx.so.3
libtiffxx.so.3.7.3
These are runtime libraries, and cannot be used for compiling.
You also need headers for compiling.../usr/include/"files.h"
Everything is in the -devel package 'libtiff-devel-3.7.3-2.i586.rpm'
(incl. 'libtiff.so')
 
Old 03-23-2008, 07:37 PM   #4
boxenberg
LQ Newbie
 
Registered: Sep 2006
Posts: 19

Original Poster
Rep: Reputation: 0
[SOLVED] problem compiling hylafax 5.2.2 from source on SUSE Linux 10.0

Thank you knudfl for your reply.
Actually you were exactly right...I had to go into YaST, search for libtiff-devel and choose to install it. The system also installed zlib I think or something like that to resolve a dependency issue.
Anyway, I was successfully able to compile after installing these packages.
Thanks for your help!@
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fax transfer problem between Hylafax server in Linux and C# client of windows asifjavaidy2k Linux - Software 0 02-09-2007 06:32 AM
Hylafax on suse 9.3 wheres egetty? cfrantzen Linux - Software 1 10-03-2006 03:09 PM
Open Suse 10.1 Compiling source - gcc errors jmgleason SUSE / openSUSE 4 08-05-2006 01:01 PM
Problem compiling from source rkfb Slackware 3 11-06-2004 04:37 PM
Compiling From Source Problem(g++) Chryzmo Linux - Software 7 01-31-2004 12:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 07:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration