Summary: | sci-libs/geos-3.3.2 USE=php - geos.c: In function 'noticeHandler': geos.c:83:27: error: 'tsrm_ls' undeclared (first use in this function) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Eric Johnson <tokenmathematician> |
Component: | Current packages | Assignee: | Sci-geo Project <sci-geosciences> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pgsql-bugs |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
environment emerge info emerge pretend |
Description
Eric Johnson
2012-05-07 14:58:54 UTC
Created attachment 311087 [details]
build.log
Created attachment 311089 [details]
environment
Created attachment 311091 [details]
emerge info
Created attachment 311093 [details]
emerge pretend
From the ./php/README in the source tarball: "Just add --enable-php to your GEOS configure line and run 'make'" However, the ebuild already makes a call to $(use_enable php). Compiling just the php module produces the same error $ cd php $ make ... geos.c:83:27: error: 'tsrm_ls' undeclared (first use in this function) ... What is this TSRMLS_CC macro anyway? Will have to do some reading... Geos, as any other crazy-minded-upstream science library is not threadsafe at all. So -threads on php solves our issue. Fixed (well rewrite would be better than forced usedep...) in cvs. |