Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686188 - dev-db/postgis-2.5.1-r1 : configure: error: could not find proj_api.h - you may need to specify the directory of a PROJ.4 installation using --with-projdir
Summary: dev-db/postgis-2.5.1-r1 : configure: error: could not find proj_api.h - you m...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on: 688306
Blocks:
  Show dependency tree
 
Reported: 2019-05-17 22:47 UTC by Toralf Förster
Modified: 2019-08-10 09:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.77 KB, text/plain)
2019-05-17 22:47 UTC, Toralf Förster
Details
dev-db:postgis-2.5.1-r1:20190517-220009.log (dev-db:postgis-2.5.1-r1:20190517-220009.log,13.10 KB, text/plain)
2019-05-17 22:47 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,257.97 KB, text/plain)
2019-05-17 22:47 UTC, Toralf Förster
Details
environment (environment,120.74 KB, text/plain)
2019-05-17 22:47 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.48 KB, application/x-bzip)
2019-05-17 22:47 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,21.67 KB, application/x-bzip)
2019-05-17 22:47 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,33.35 KB, application/x-bzip)
2019-05-17 22:47 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-05-17 22:47:39 UTC
checking proj_api.h presence... no
checking for proj_api.h... no
configure: error: could not find proj_api.h - you may need to specify the directory of a PROJ.4 installation using --with-projdir

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-db/postgis-2.5.1-r1/work/postgis-2.5.1-10/config.log

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_libressl_20190510-221702

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.34.2 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.12.0 [icedtea-8]
2)	IcedTea JDK 3.12.0 [icedtea-bin-8]
3)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-8  system-vm
  [2]   icedtea-bin-8 
  [3]   jamvm 

emerge -qpvO dev-db/postgis
[ebuild  N    ] dev-db/postgis-2.5.1-r1  USE="gtk -address-standardizer -doc -mapbox -static-libs -test -topology" POSTGRES_TARGETS="postgres10 postgres9_5 -postgres11 (-postgres12) -postgres9_4 -postgres9_6"
Comment 1 Toralf Förster gentoo-dev 2019-05-17 22:47:42 UTC
Created attachment 577126 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-05-17 22:47:45 UTC
Created attachment 577128 [details]
dev-db:postgis-2.5.1-r1:20190517-220009.log
Comment 3 Toralf Förster gentoo-dev 2019-05-17 22:47:48 UTC
Created attachment 577130 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-05-17 22:47:50 UTC
Created attachment 577132 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-05-17 22:47:53 UTC
Created attachment 577134 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-05-17 22:47:56 UTC
Created attachment 577136 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-05-17 22:47:59 UTC
Created attachment 577138 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2019-05-19 11:05:12 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50f2bdc4d8186d749ddac14cb2830b91ca2898cf

commit 50f2bdc4d8186d749ddac14cb2830b91ca2898cf
Author:     Aaron W. Swenson <titanofold@gentoo.org>
AuthorDate: 2019-05-19 11:02:46 +0000
Commit:     Aaron W. Swenson <titanofold@gentoo.org>
CommitDate: 2019-05-19 11:04:52 +0000

    dev-db/postgis: Bump to 2.4.7, 2.5.2
    
    Fixes configure test to detect/build against >=sci-libs/proj-6.0.0.
    
    Bug: https://bugs.gentoo.org/686188
    Package-Manager: Portage-2.3.62, Repoman-2.3.11
    Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>

 dev-db/postgis/Manifest             |   2 +
 dev-db/postgis/postgis-2.4.7.ebuild | 125 ++++++++++++++++++++++++++++++++++++
 dev-db/postgis/postgis-2.5.2.ebuild | 123 +++++++++++++++++++++++++++++++++++
 dev-db/postgis/postgis-9999.ebuild  |   4 +-
 4 files changed, 252 insertions(+), 2 deletions(-)