Discussion:
[Xastir] libtiff / libxtiff
Chip Griffin
2007-11-03 05:13:10 UTC
Permalink
OK, I'm closing in on success, but still need some help. I was able
to reinstall X11 & XCode and was able to then rebuild Xastir
successfully. But it's been a slow painful process. My current
stumbling block to getting things as they were is to get libgeotiff
configure: error: You will need to substantially rewrite libxtiff to
build libgeotiff without libtiff
But I do have libtiff v3.8.2 installed using Fink. I even reinstalled
them, but that didn't help. I don't see such a thing as libxtiff in
fink and could only find loose references online. I even tried
"configure --libdir=/sw/lib" to try and help it find the lib files.

Help...

73,
--de Chip (N1MIE) FN41bn
Brad Douglas
2007-11-03 09:14:59 UTC
Permalink
Post by Chip Griffin
OK, I'm closing in on success, but still need some help. I was able
to reinstall X11 & XCode and was able to then rebuild Xastir
successfully. But it's been a slow painful process. My current
stumbling block to getting things as they were is to get libgeotiff
configure: error: You will need to substantially rewrite libxtiff to
build libgeotiff without libtiff
But I do have libtiff v3.8.2 installed using Fink. I even reinstalled
them, but that didn't help. I don't see such a thing as libxtiff in
fink and could only find loose references online. I even tried
"configure --libdir=/sw/lib" to try and help it find the lib files.
Most likely scenario is that it cannot find the header files for libtiff
(tiff.h, tiffio.h, tiffio.hxx, etc).

You could hardcode /sw/include (I'm assuming that's where the headers
are if they are installed) into configure.

IMO, configure should have --with-[lib]-includes options. I've done
that in my own tree because I tend to install self-compiled stuff in
non-standard dirs (/opt/radio;/opt/gis).

I can post a unified diff for configure.ac if there's interest.
--
73, de Brad KB8UYR/6 <rez touchofmadness com>
Chip Griffin
2007-11-03 16:35:56 UTC
Permalink
Post by Brad Douglas
Most likely scenario is that it cannot find the header files for
libtiff (tiff.h, tiffio.h, tiffio.hxx, etc).
You could hardcode /sw/include (I'm assuming that's where the
headers are if they are installed) into configure.
IMO, configure should have --with-[lib]-includes options. I've
done that in my own tree because I tend to install self-compiled
stuff in non-standard dirs (/opt/radio;/opt/gis).
I can post a unified diff for configure.ac if there's interest.
What I got to work was to copy (probably should've linked in
retrospect as this method will not result in proper updates when/if I
do an update of those libraries) those files and put them in the
location specified in the INSTALL file (the note said this was only
required pre-3.6.0, but even with 3.8.2 it was what I needed to do).
Note that I also couldn't find the fourth of the files (contrib/
dosdjgpp/port.h) listed but it still seemed to work. The three files
I found were in three different spots and two of them were in very
odd places (qt4 directories associated with Fink sources).


73,
--de Chip (N1MIE) FN41bn
Curt, WE7U
2007-11-03 16:44:44 UTC
Permalink
Post by Chip Griffin
My current
stumbling block to getting things as they were is to get libgeotiff
configure: error: You will need to substantially rewrite libxtiff to
build libgeotiff without libtiff
That's a funny error message! I don't recall seeing that one
before. I assume you're running the libgeotiff configure in that
case.

Note that the version of libgeotiff depends heavily on the version
of libtiff. You might want to peruse the libgeotiff site to see if
you are building using the correct versions. It's possible you'll
need to upgrade or downgrade one or the other to find versions that
will play nicely together.

Another thing to check is the configure.log file to see what
problems configure is really seeing. The details should be there,
but the file can be verbose to it might take a while to find the
area with the problem.

I just did an upgrade to OpenSuSE-10.3 here (from 10.2) and it
didn't go well, but that was probably my own fault. Just before the
upgrade I relocated /boot (where the kernel, initrd, and grub files
go) to the large partition instead of a 16MB partition where it was
short on space.

Anyway... I ended up throwing in another hard drive and doing a
fresh install of 10.3 onto that drive, so now I need to move and/or
remount partitions to get to my original home directory. Of course
somewhere along the line they changed things so that the first user
starts at UID 1000 now instead of UID 500, so there's a bit more
work to do there. After I merge the user files together (carefully
so that I gain any new stuff in the new default config files), I'll
install Xastir and it's libraries.

It's nice to have a clean system to start from every once in a while
anyway, right? My files are safe, they're just harder to get to for
a bit. ;-)

This might be a good time to run out to Fry's and buy a new
whiz-bang hard drive with "unlimited" space, since I have to do the
work anyway. I see 750GB and 1TB drives for sale now. Those might
hold a map or two! I don't think this MOBO has SAS or SATA ports so
I'd need a card too if I want the high I/O speeds.

--
Curt, WE7U: <www.eskimo.com/~archer/> XASTIR: <www.xastir.org>
"Lotto: A tax on people who are bad at math." -- unknown
"Windows: Microsoft's tax on computer illiterates." -- WE7U
The world DOES revolve around me: I picked the coordinate system!
Loading...