Opened 20 years ago

Last modified 20 years ago

#589 closed defect (fixed)

Failed configure when using --with-xerces option

Reported by: trupe@… Owned by: warmerdam
Priority: high Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords:
Cc:

Description

When configuring gdal, and using the --with-xerces compile option, the
configuration fails.  This occurs when testing for the xerces compatibility. 
When the conftest.cpp source is compiled, the compiler flag -lpthread is left
out, and the compile fails.  Adding this flag to $CPPFLAGS in the configure.in
file, and running autoreconf fixes the problem for me.

Change History (1)

comment:1 by warmerdam, 20 years ago

I have reproduced this and patched it by include -lpthread in the LIBS
variable after the xerces-c library.  This seems to have corrected the issue.

Thanks for the report.

Note: See TracTickets for help on using tickets.