[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis-users] Install problem with PROJ directory
From:       One Hwang <ohwang00 () gmail ! com>
Date:       2015-09-28 19:35:01
Message-ID: CAFXpqycKd74miuP56-BqFuPU7+pJBEC5SvFrPd7QQ-coTEyt3Q () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thank you, Regina!

That worked!

On Sun, Sep 27, 2015 at 6:39 PM, Paragon Corporation <lr@pcorp.us> wrote:

> Try changing the
> To
>
> ./configure --with-projdir=/opt/local
>
>
> Or with:
>
> ./configure --with-projdir=/usr/local
>
>
> The directory path is  that that includes the include and bin for proj.
> Not
> the include path.
>
> Hope that helps,
> Regina
> http://www.postgis.us
> http://postgis.net
>
>
> -----Original Message-----
> From: postgis-users-bounces@lists.osgeo.org
> [mailto:postgis-users-bounces@lists.osgeo.org] On Behalf Of One
> Sent: Sunday, September 27, 2015 3:34 AM
> To: postgis-users@lists.osgeo.org
> Subject: Re: [postgis-users] Install problem with PROJ directory
>
> I have a problem similar to the OP. I installed PostgreSQL and Proj4 on my
> Mac, and now I want to install PostGIS from source. However, when I run the
> ./configure command, I get this result:
>
> ...
> checking proj_api.h usability... no
> 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
>
> I believe that postgres and proj were installed correctly because sample
> psql and proj commands appear to work okay.
>
> If I do "which proj", I get this result:
> /usr/local/bin/proj
>
> Also, a search for "proj_api.h" shows these results, minus the file in the
> source directory:
> /Library/Frameworks/PROJ.framework/Versions/4/Headers/proj_api.h
> /opt/local/include/proj_api.h
> /usr/local/include/proj_api.h
>
> I have tried the following and still failed to configure:
> ./configure --with-projdir=/usr/local/bin ./configure
> --with-projdir=/Library/Frameworks/PROJ.framework/Versions/4/Headers/
> ./configure --with-projdir=/opt/local/include/
> ./configure --with-projdir=/usr/local/include
>
> My specs:
>
> -MacBookPro OS X Yosemite Version 10.10.2 -XCode version 6.3.2 -PostgreSQL
> version 9.3.5 , installed from source (I am using an older version of
> Postgres because I need a version that's compatible with ArcGIS).
> -Proj4 version 4.9.1 (the one at /usr/local/bin/proj is installed from
> source, and the one at /opt/local is installed from MacPorts)
>
> I am installing PostGIS from source, and not Homebrew, MacPorts, or
> KyngChaos, because I need a version that will work with PostgreSQL 9.3.5.
>
> What should I try next?
>
> Thanks for your help.
>
> ------
>
> Sample output:
>
> $ ./configure
> --with-projdir=/Library/Frameworks/PROJ.framework/Versions/4/Headers
> checking build system type... x86_64-apple-darwin14.1.0 checking host
> system
> type... x86_64-apple-darwin14.1.0 checking how to print strings... printf
> checking for gcc... gcc checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out checking for
> suffix of executables...
> checking whether we are cross compiling... no checking for suffix of object
> files... o checking whether we are using the GNU C compiler... yes checking
> whether gcc accepts -g... yes checking for gcc option to accept ISO C89...
> none needed checking for a sed that does not truncate output...
> /usr/bin/sed
> checking for grep that handles long lines and -e... /usr/bin/grep checking
> for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F
> checking for ld used by gcc...
>
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolcha
> in/usr/bin/ld
> checking if the linker
>
> (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch
> ain/usr/bin/ld)
> is GNU ld... no
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking
> the name lister (/usr/bin/nm) interface... BSD nm checking whether ln -s
> works... yes checking the maximum length of command line arguments...
> 196608
> checking how to convert x86_64-apple-darwin14.1.0 file names to
> x86_64-apple-darwin14.1.0 format... func_convert_file_noop checking how to
> convert x86_64-apple-darwin14.1.0 file names to toolchain format...
> func_convert_file_noop checking for
>
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolcha
> in/usr/bin/ld
> option to reload object files... -r
> checking for objdump... no
> checking how to recognize dependent libraries... pass_all checking for
> dlltool... no checking how to associate runtime and link libraries...
> printf
> %s\n checking for ar... ar checking for archiver @FILE support... no
> checking for strip... strip checking for ranlib... ranlib checking for
> gawk... no checking for mawk... no checking for nawk... no checking for
> awk... awk checking command to parse /usr/bin/nm output from gcc object...
> ok checking for sysroot... no checking for a working dd... /bin/dd checking
> how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt...
> no checking if : is a manifest tool... no checking for dsymutil... dsymutil
> checking for nmedit... nmedit checking for lipo... lipo checking for
> otool... otool checking for otool64... no checking for -single_module
> linker
> flag... yes checking for -exported_symbols_list linker flag... yes checking
> for -force_load linker flag... yes checking how to run the C
> preprocessor...
> gcc -E checking for ANSI C header files... yes checking for sys/types.h...
> yes checking for sys/stat.h... yes checking for stdlib.h... yes checking
> for
> string.h... yes checking for memory.h... yes checking for strings.h... yes
> checking for inttypes.h... yes checking for stdint.h... yes checking for
> unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc
> option to produce PIC... -fno-common -DPIC checking if gcc PIC flag
> -fno-common -DPIC works... yes checking if gcc static flag -static works...
> no checking if gcc supports -c -o file.o... yes checking if gcc supports -c
> -o file.o... (cached) yes checking whether the gcc linker
>
> (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch
> ain/usr/bin/ld)
> supports shared libraries... yes
> checking dynamic linker characteristics... darwin14.1.0 dyld checking how
> to
> hardcode library paths into programs... immediate checking whether
> stripping
> libraries is possible... yes checking if libtool supports shared
> libraries... yes checking whether to build shared libraries... yes checking
> whether to build static libraries... yes checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes checking
> whether gcc accepts -g... (cached) yes checking for gcc option to accept
> ISO
> C89... (cached) none needed checking how to run the C preprocessor... gcc
> -E
> checking for g++... g++ checking whether we are using the GNU C++
> compiler... yes checking whether g++ accepts -g... yes checking how to run
> the C++ preprocessor... g++ -E checking for ld used by g++...
>
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolcha
> in/usr/bin/ld
> checking if the linker
>
> (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch
> ain/usr/bin/ld)
> is GNU ld... no
> checking whether the g++ linker
>
> (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch
> ain/usr/bin/ld)
> supports shared libraries... yes
> checking for g++ option to produce PIC... -fno-common -DPIC checking if g++
> PIC flag -fno-common -DPIC works... yes checking if g++ static flag -static
> works... no checking if g++ supports -c -o file.o... yes checking if g++
> supports -c -o file.o... (cached) yes checking whether the g++ linker
>
> (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch
> ain/usr/bin/ld)
> supports shared libraries... yes
> checking dynamic linker characteristics... darwin14.1.0 dyld checking how
> to
> hardcode library paths into programs... immediate checking for grep that
> handles long lines and -e... (cached) /usr/bin/grep checking for ant... no
> checking for cpp... /usr/bin/cpp checking if g++ supports -Wall... yes
> checking if g++ supports -Wmissing-prototypes... yes checking if g++
> supports -ffloat-store... no checking for flex... flex checking lex output
> file root... lex.yy checking lex library... -ll checking whether yytext is
> a
> pointer... yes checking for bison... bison -y checking ieeefp.h
> usability...
> no checking ieeefp.h presence... no checking for ieeefp.h... no checking
> termios.h usability... yes checking termios.h presence... yes checking for
> termios.h... yes checking for vasprintf... yes checking for asprintf... yes
> checking for _LARGEFILE_SOURCE value needed for large files... no checking
> whether isfinite is declared... yes checking whether isfinite is
> declared...
> yes checking for perl... /usr/bin/perl checking for convert... no
> configure: WARNING: ImageMagick does not seem to be installed.
> Documentation
> cannot be built checking for xsltproc... /usr/bin/xsltproc checking for
> xmllint... /usr/bin/xmllint checking for dblatex... no
> configure: WARNING: dblatex is not installed so PDF documentation cannot be
> built
> configure: WARNING: could not locate Docbook stylesheets required to build
> the documentation checking CUnit/CUnit.h usability... no checking
> CUnit/CUnit.h presence... no checking for CUnit/CUnit.h... no
> configure: WARNING: could not locate CUnit required for unit tests checking
> iconv.h usability... yes checking iconv.h presence... yes checking for
> iconv.h... yes checking for libiconv_open in -liconv... no checking for
> iconv_open in -lc... no checking for iconv_open in -liconv... yes checking
> for iconvctl... no checking for libiconvctl... no checking for pg_config...
> /usr/local/pgsql/bin/pg_config checking PostgreSQL version... PostgreSQL
> 9.3.5 checking libpq-fe.h usability... yes checking libpq-fe.h presence...
> yes checking for libpq-fe.h... yes checking for PQserverVersion in -lpq...
> yes checking for xml2-config... /usr/bin/xml2-config checking libxml/tree.h
> usability... yes checking libxml/tree.h presence... yes checking for
> libxml/tree.h... yes checking libxml/parser.h usability... yes checking
> libxml/parser.h presence... yes checking for libxml/parser.h... yes
> checking
> libxml/xpath.h usability... yes checking libxml/xpath.h presence... yes
> checking for libxml/xpath.h... yes checking libxml/xpathInternals.h
> usability... yes checking libxml/xpathInternals.h presence... yes checking
> for libxml/xpathInternals.h... yes checking for xmlInitParser in -lxml2...
> yes checking for geos-config... /usr/local/bin/geos-config checking GEOS
> version... 3.4.2 checking geos_c.h usability... yes checking geos_c.h
> presence... yes checking for geos_c.h... yes checking for initGEOS in
> -lgeos_c... yes checking for sfcgal-config... /usr/local/bin/sfcgal-config
> checking whether make sets $(MAKE)... yes checking for a BSD-compatible
> install... /usr/bin/install -c checking for a thread-safe mkdir -p...
> ./install-sh -c -d checking whether NLS is requested... yes checking for
> msgfmt... /opt/local/bin/msgfmt checking for gmsgfmt...
> /opt/local/bin/msgfmt checking for xgettext... /opt/local/bin/xgettext
> checking for msgmerge... /opt/local/bin/msgmerge checking for ld used by
> GCC...
>
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolcha
> in/usr/bin/ld
> checking if the linker
>
> (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch
> ain/usr/bin/ld)
> is GNU ld... no
> checking for shared library run path origin... done checking for
> CFPreferencesCopyAppValue... yes checking for CFLocaleCopyCurrent... yes
> checking for GNU gettext in libc... no checking for iconv... yes checking
> for working iconv... yes checking how to link with libiconv... -liconv
> checking for GNU gettext in libintl... no checking whether to use NLS... no
> Using user-specified proj directory:
> /Library/Frameworks/PROJ.framework/Versions/4/Headers
> checking proj_api.h usability... no
> 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
>
> ------
> Steps I followed to install Proj4 from source:
>
> mkdir proj4
> cd proj4
> curl -O http://download.osgeo.org/proj/proj-4.9.1.tar.gz
> gunzip proj-4.9.1.tar.gz
> tar xf proj-4.9.1.tar
> cd proj-4.9.1
> ./configure
> make
> make check
> make install
>
>
>
>
> --
> View this message in context:
>
> http://postgis.17.x6.nabble.com/Install-problem-with-PROJ-directory-tp499868
> 7p5008851.html
> Sent from the PostGIS - User mailing list archive at Nabble.com.
> _______________________________________________
> postgis-users mailing list
> postgis-users@lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users@lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>

[Attachment #5 (text/html)]

<div dir="ltr"><div>Thank you, Regina!<br><br></div>That worked!</div><div \
class="gmail_extra"><br><div class="gmail_quote">On Sun, Sep 27, 2015 at 6:39 PM, \
Paragon Corporation <span dir="ltr">&lt;<a href="mailto:lr@pcorp.us" \
target="_blank">lr@pcorp.us</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Try changing \
the<br> To<br>
<br>
./configure --with-projdir=/opt/local<br>
<br>
<br>
Or with:<br>
<br>
./configure --with-projdir=/usr/local<br>
<br>
<br>
The directory path is   that that includes the include and bin for proj.   Not<br>
the include path.<br>
<br>
Hope that helps,<br>
Regina<br>
<a href="http://www.postgis.us" rel="noreferrer" \
target="_blank">http://www.postgis.us</a><br> <a href="http://postgis.net" \
rel="noreferrer" target="_blank">http://postgis.net</a><br> <div class="HOEnZb"><div \
class="h5"><br> <br>
-----Original Message-----<br>
From: <a href="mailto:postgis-users-bounces@lists.osgeo.org">postgis-users-bounces@lists.osgeo.org</a><br>
 [mailto:<a href="mailto:postgis-users-bounces@lists.osgeo.org">postgis-users-bounces@lists.osgeo.org</a>] \
                On Behalf Of One<br>
Sent: Sunday, September 27, 2015 3:34 AM<br>
To: <a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
                
Subject: Re: [postgis-users] Install problem with PROJ directory<br>
<br>
I have a problem similar to the OP. I installed PostgreSQL and Proj4 on my<br>
Mac, and now I want to install PostGIS from source. However, when I run the<br>
./configure command, I get this result:<br>
<br>
...<br>
checking proj_api.h usability... no<br>
checking proj_api.h presence... no<br>
checking for proj_api.h... no<br>
configure: error: could not find proj_api.h - you may need to specify the<br>
directory of a PROJ.4 installation using --with-projdir<br>
<br>
I believe that postgres and proj were installed correctly because sample<br>
psql and proj commands appear to work okay.<br>
<br>
If I do &quot;which proj&quot;, I get this result:<br>
/usr/local/bin/proj<br>
<br>
Also, a search for &quot;proj_api.h&quot; shows these results, minus the file in \
the<br> source directory:<br>
/Library/Frameworks/PROJ.framework/Versions/4/Headers/proj_api.h<br>
/opt/local/include/proj_api.h<br>
/usr/local/include/proj_api.h<br>
<br>
I have tried the following and still failed to configure:<br>
./configure --with-projdir=/usr/local/bin ./configure<br>
--with-projdir=/Library/Frameworks/PROJ.framework/Versions/4/Headers/<br>
./configure --with-projdir=/opt/local/include/<br>
./configure --with-projdir=/usr/local/include<br>
<br>
My specs:<br>
<br>
-MacBookPro OS X Yosemite Version 10.10.2 -XCode version 6.3.2 -PostgreSQL<br>
version 9.3.5 , installed from source (I am using an older version of<br>
Postgres because I need a version that&#39;s compatible with ArcGIS).<br>
-Proj4 version 4.9.1 (the one at /usr/local/bin/proj is installed from<br>
source, and the one at /opt/local is installed from MacPorts)<br>
<br>
I am installing PostGIS from source, and not Homebrew, MacPorts, or<br>
KyngChaos, because I need a version that will work with PostgreSQL 9.3.5.<br>
<br>
What should I try next?<br>
<br>
Thanks for your help.<br>
<br>
------<br>
<br>
Sample output:<br>
<br>
$ ./configure<br>
--with-projdir=/Library/Frameworks/PROJ.framework/Versions/4/Headers<br>
checking build system type... x86_64-apple-darwin14.1.0 checking host system<br>
type... x86_64-apple-darwin14.1.0 checking how to print strings... printf<br>
checking for gcc... gcc checking whether the C compiler works... yes<br>
checking for C compiler default output file name... a.out checking for<br>
suffix of executables...<br>
checking whether we are cross compiling... no checking for suffix of object<br>
files... o checking whether we are using the GNU C compiler... yes checking<br>
whether gcc accepts -g... yes checking for gcc option to accept ISO C89...<br>
none needed checking for a sed that does not truncate output... /usr/bin/sed<br>
checking for grep that handles long lines and -e... /usr/bin/grep checking<br>
for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F<br>
checking for ld used by gcc...<br>
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolcha<br>
in/usr/bin/ld<br>
checking if the linker<br>
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch<br>
ain/usr/bin/ld)<br>
is GNU ld... no<br>
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking<br>
the name lister (/usr/bin/nm) interface... BSD nm checking whether ln -s<br>
works... yes checking the maximum length of command line arguments... 196608<br>
checking how to convert x86_64-apple-darwin14.1.0 file names to<br>
x86_64-apple-darwin14.1.0 format... func_convert_file_noop checking how to<br>
convert x86_64-apple-darwin14.1.0 file names to toolchain format...<br>
func_convert_file_noop checking for<br>
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolcha<br>
in/usr/bin/ld<br>
option to reload object files... -r<br>
checking for objdump... no<br>
checking how to recognize dependent libraries... pass_all checking for<br>
dlltool... no checking how to associate runtime and link libraries... printf<br>
%s\n checking for ar... ar checking for archiver @FILE support... no<br>
checking for strip... strip checking for ranlib... ranlib checking for<br>
gawk... no checking for mawk... no checking for nawk... no checking for<br>
awk... awk checking command to parse /usr/bin/nm output from gcc object...<br>
ok checking for sysroot... no checking for a working dd... /bin/dd checking<br>
how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt...<br>
no checking if : is a manifest tool... no checking for dsymutil... dsymutil<br>
checking for nmedit... nmedit checking for lipo... lipo checking for<br>
otool... otool checking for otool64... no checking for -single_module linker<br>
flag... yes checking for -exported_symbols_list linker flag... yes checking<br>
for -force_load linker flag... yes checking how to run the C preprocessor...<br>
gcc -E checking for ANSI C header files... yes checking for sys/types.h...<br>
yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for<br>
string.h... yes checking for memory.h... yes checking for strings.h... yes<br>
checking for inttypes.h... yes checking for stdint.h... yes checking for<br>
unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs<br>
checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc<br>
option to produce PIC... -fno-common -DPIC checking if gcc PIC flag<br>
-fno-common -DPIC works... yes checking if gcc static flag -static works...<br>
no checking if gcc supports -c -o file.o... yes checking if gcc supports -c<br>
-o file.o... (cached) yes checking whether the gcc linker<br>
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch<br>
ain/usr/bin/ld)<br>
supports shared libraries... yes<br>
checking dynamic linker characteristics... darwin14.1.0 dyld checking how to<br>
hardcode library paths into programs... immediate checking whether stripping<br>
libraries is possible... yes checking if libtool supports shared<br>
libraries... yes checking whether to build shared libraries... yes checking<br>
whether to build static libraries... yes checking for gcc... (cached) gcc<br>
checking whether we are using the GNU C compiler... (cached) yes checking<br>
whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO<br>
C89... (cached) none needed checking how to run the C preprocessor... gcc -E<br>
checking for g++... g++ checking whether we are using the GNU C++<br>
compiler... yes checking whether g++ accepts -g... yes checking how to run<br>
the C++ preprocessor... g++ -E checking for ld used by g++...<br>
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolcha<br>
in/usr/bin/ld<br>
checking if the linker<br>
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch<br>
ain/usr/bin/ld)<br>
is GNU ld... no<br>
checking whether the g++ linker<br>
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch<br>
ain/usr/bin/ld)<br>
supports shared libraries... yes<br>
checking for g++ option to produce PIC... -fno-common -DPIC checking if g++<br>
PIC flag -fno-common -DPIC works... yes checking if g++ static flag -static<br>
works... no checking if g++ supports -c -o file.o... yes checking if g++<br>
supports -c -o file.o... (cached) yes checking whether the g++ linker<br>
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch<br>
ain/usr/bin/ld)<br>
supports shared libraries... yes<br>
checking dynamic linker characteristics... darwin14.1.0 dyld checking how to<br>
hardcode library paths into programs... immediate checking for grep that<br>
handles long lines and -e... (cached) /usr/bin/grep checking for ant... no<br>
checking for cpp... /usr/bin/cpp checking if g++ supports -Wall... yes<br>
checking if g++ supports -Wmissing-prototypes... yes checking if g++<br>
supports -ffloat-store... no checking for flex... flex checking lex output<br>
file root... lex.yy checking lex library... -ll checking whether yytext is a<br>
pointer... yes checking for bison... bison -y checking ieeefp.h usability...<br>
no checking ieeefp.h presence... no checking for ieeefp.h... no checking<br>
termios.h usability... yes checking termios.h presence... yes checking for<br>
termios.h... yes checking for vasprintf... yes checking for asprintf... yes<br>
checking for _LARGEFILE_SOURCE value needed for large files... no checking<br>
whether isfinite is declared... yes checking whether isfinite is declared...<br>
yes checking for perl... /usr/bin/perl checking for convert... no<br>
configure: WARNING: ImageMagick does not seem to be installed. Documentation<br>
cannot be built checking for xsltproc... /usr/bin/xsltproc checking for<br>
xmllint... /usr/bin/xmllint checking for dblatex... no<br>
configure: WARNING: dblatex is not installed so PDF documentation cannot be<br>
built<br>
configure: WARNING: could not locate Docbook stylesheets required to build<br>
the documentation checking CUnit/CUnit.h usability... no checking<br>
CUnit/CUnit.h presence... no checking for CUnit/CUnit.h... no<br>
configure: WARNING: could not locate CUnit required for unit tests checking<br>
iconv.h usability... yes checking iconv.h presence... yes checking for<br>
iconv.h... yes checking for libiconv_open in -liconv... no checking for<br>
iconv_open in -lc... no checking for iconv_open in -liconv... yes checking<br>
for iconvctl... no checking for libiconvctl... no checking for pg_config...<br>
/usr/local/pgsql/bin/pg_config checking PostgreSQL version... PostgreSQL<br>
9.3.5 checking libpq-fe.h usability... yes checking libpq-fe.h presence...<br>
yes checking for libpq-fe.h... yes checking for PQserverVersion in -lpq...<br>
yes checking for xml2-config... /usr/bin/xml2-config checking libxml/tree.h<br>
usability... yes checking libxml/tree.h presence... yes checking for<br>
libxml/tree.h... yes checking libxml/parser.h usability... yes checking<br>
libxml/parser.h presence... yes checking for libxml/parser.h... yes checking<br>
libxml/xpath.h usability... yes checking libxml/xpath.h presence... yes<br>
checking for libxml/xpath.h... yes checking libxml/xpathInternals.h<br>
usability... yes checking libxml/xpathInternals.h presence... yes checking<br>
for libxml/xpathInternals.h... yes checking for xmlInitParser in -lxml2...<br>
yes checking for geos-config... /usr/local/bin/geos-config checking GEOS<br>
version... 3.4.2 checking geos_c.h usability... yes checking geos_c.h<br>
presence... yes checking for geos_c.h... yes checking for initGEOS in<br>
-lgeos_c... yes checking for sfcgal-config... /usr/local/bin/sfcgal-config<br>
checking whether make sets $(MAKE)... yes checking for a BSD-compatible<br>
install... /usr/bin/install -c checking for a thread-safe mkdir -p...<br>
./install-sh -c -d checking whether NLS is requested... yes checking for<br>
msgfmt... /opt/local/bin/msgfmt checking for gmsgfmt...<br>
/opt/local/bin/msgfmt checking for xgettext... /opt/local/bin/xgettext<br>
checking for msgmerge... /opt/local/bin/msgmerge checking for ld used by<br>
GCC...<br>
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolcha<br>
in/usr/bin/ld<br>
checking if the linker<br>
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch<br>
ain/usr/bin/ld)<br>
is GNU ld... no<br>
checking for shared library run path origin... done checking for<br>
CFPreferencesCopyAppValue... yes checking for CFLocaleCopyCurrent... yes<br>
checking for GNU gettext in libc... no checking for iconv... yes checking<br>
for working iconv... yes checking how to link with libiconv... -liconv<br>
checking for GNU gettext in libintl... no checking whether to use NLS... no<br>
Using user-specified proj directory:<br>
/Library/Frameworks/PROJ.framework/Versions/4/Headers<br>
checking proj_api.h usability... no<br>
checking proj_api.h presence... no<br>
checking for proj_api.h... no<br>
configure: error: could not find proj_api.h - you may need to specify the<br>
directory of a PROJ.4 installation using --with-projdir<br>
<br>
------<br>
Steps I followed to install Proj4 from source:<br>
<br>
mkdir proj4<br>
cd proj4<br>
curl -O <a href="http://download.osgeo.org/proj/proj-4.9.1.tar.gz" rel="noreferrer" \
target="_blank">http://download.osgeo.org/proj/proj-4.9.1.tar.gz</a><br> gunzip \
proj-4.9.1.tar.gz<br> tar xf proj-4.9.1.tar<br>
cd proj-4.9.1<br>
./configure<br>
make<br>
make check<br>
make install<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context:<br>
<a href="http://postgis.17.x6.nabble.com/Install-problem-with-PROJ-directory-tp499868
7p5008851.html" rel="noreferrer" \
target="_blank">http://postgis.17.x6.nabble.com/Install-problem-with-PROJ-directory-tp499868<br>
 7p5008851.html</a><br>
Sent from the PostGIS - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" \
rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br>
 <br>
<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" \
rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br>
 </div></div></blockquote></div><br></div>



_______________________________________________
postgis-users mailing list
postgis-users@lists.osgeo.org
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic