[Xastir] geotiff includes on Ubuntu 8.03
Tom Russo
russo at bogodyn.org
Sat Jul 5 14:30:07 EDT 2008
On Sat, Jul 05, 2008 at 02:31:57PM -0400, we recorded a bogon-computron collision of the <dick.repasky at gmail.com> flavor, containing:
>
> Thanks, Richard. Setting the environment variable worked fine for me
> after it did it correctly, as Tom pointed out.
The other way to do it is to specify CPPFLAGS as a configure argument rather
than as an exported environment variable:
../xastir/configure CPPFLAGS="-I/usr/include/geotiff"
(I never do configure in the same directory as the source, so you'll never
see "./configure" in my instructions. It is cleaner to use an empty build
directory instead.)
Doing the configure with CPPFLAGS as one if its command line arguments this
way has one advantage --- the CPPFLAGS setting will wind up appearing in the
initial comments of config.log. You can then always just look in that file
six months after you last configured the code just to remember everything you
had to do last time.
If you do it with exported environment variables, that information isn't
preserved in config.log.
> Richard Polivka, N6NKO wrote:
> > In the case of my Fedora 8 install, I put in the line
> > "-I/usr/include/libgeotiff" to get rid of the same message.
> >
> > 73 from 807,
> >
> > Richard, N6NKO
> >
> >
> > Tom Russo wrote:
> >> On Fri, Jul 04, 2008 at 11:43:20AM -0400, we recorded a
> >> bogon-computron collision of the <dick.repasky at gmail.com> flavor,
> >> containing:
> >>
> >>> When I build xastir-1.9.3-2008-* on Ubuntu 8.03 the build fails
> >>> because it
> >>> cannot find the includes for geotiff.
> >>>
> >>> - ./configure reports that it will use geotiff
> >>>
> >>> - The compile fails because xtiffio.h and geo_normalize.h cannot be
> >>> found
> >>>
> >>> - If I edit src/Makefile and insert the appropriate includes (i.e.,
> >>> -I) xastir
> >>> builds without error.
> >>>
> >>> - If I try the correct procedure (as indicated ./configure help info)
> >>>
> >>> export CPPFLAGS=/usr/include/geotiff
> >>>
> >>
> >> That's not the correct procedure.
> >>
> >> export CPPFLAGS="-I/usr/include/geotiff" is the correct thing.
> >>
> >> Using what you tried would force invalid arguments into the compilation
> >> command line, and result in the error you see.
> >>
> >>
> >>> ./configure --without-ax25 --with-geotiff --without-festival
> >>>
> >>> ./configure fails very early with the error "configure: error: C
> >>> compiler
> >>> cannot create executables"
> >>>
> >>> Is there a better way to tell ./configure the location of the includes?
> >>>
> >>> Thanks,
> >>>
> >>> Dick
> >>> _______________________________________________
> >>> Xastir mailing list
> >>> Xastir at xastir.org
> >>> http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
> >>>
> >>
> >>
> > _______________________________________________
> > Xastir mailing list
> > Xastir at xastir.org
> > http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
> >
> _______________________________________________
> Xastir mailing list
> Xastir at xastir.org
> http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
--
Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/
Tijeras, NM QRPL#1592 K2#398 SOC#236 AHTB#1 http://kevan.org/brain.cgi?DDTNM
"It's so simple to be wise: just think of something stupid to say and
then don't say it." --- Sam Levinson
More information about the Xastir
mailing list