Ticket #204 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

problem compiling geos

Reported by: martinl Owned by: mloskot
Priority: blocker Milestone: 3.1.0
Component: Core Version: svn-trunk
Severity: Critical Keywords: setlocale
Cc:

Description

I have problems compiling geos on my machine (Debian GNU/Linux unstable)

g++ (Debian 4.3.1-9) 4.3.1

I cannot compile trunk, even geos 2.2.x. Often easy to fix --- missing stdlib.h or using cstring instead of string header. See the attached path against trunk.

Attachments

CLocalizer.cpp.diff Download (345 bytes) - added by martinl 5 years ago.
compile geos with g++ 4.3.1
geos-22-cstring.diff Download (1.1 KB) - added by martinl 5 years ago.
compile geos 2.2 with g++

Change History

Changed 5 years ago by martinl

compile geos with g++ 4.3.1

  Changed 5 years ago by mloskot

  • keywords setlocale added
  • priority changed from major to blocker
  • status changed from new to assigned
  • component changed from Build/Install to Core
  • severity changed from Unassigned to Critical

  Changed 5 years ago by mloskot

  • status changed from assigned to closed
  • resolution set to fixed

Martin,

Thanks for reporting. Fixed in trunk (r2180)

  Changed 5 years ago by martinl

Hi,

similar fixes need to be done also in 2.2 and 3.0 branch. Moreover I had similar problems with geos-2.2.3 tarball...

Thanks for fixing it.

follow-up: ↓ 5   Changed 5 years ago by mloskot

Martin,

I agree the patch should be also applied to branches/3.0 but why you want it for 2.2? There is no CLocalizer class in 2.2.

in reply to: ↑ 4   Changed 5 years ago by martinl

Replying to mloskot:

I agree the patch should be also applied to branches/3.0 but why you want it for 2.2? There is no CLocalizer class in 2.2.

Sorry, I didn't mean CLocalizer class. In 2.2 is included string header even C-based functions are used in the code (memcpy, strcmp). Patch attached.

Changed 5 years ago by martinl

compile geos 2.2 with g++

  Changed 4 years ago by anonymous

  • milestone 3.1.0 deleted

Milestone 3.1.0 deleted

  Changed 4 years ago by pramsey

  • milestone set to 3.1.0
Note: See TracTickets for help on using tickets.