[postgis-tickets] [PostGIS] #3506: build variable not defined ?

PostGIS trac at osgeo.org
Tue Dec 27 10:57:54 PST 2016


#3506: build variable not defined ?
------------------------+-----------------------------
  Reporter:  darkblueb  |      Owner:  pramsey
      Type:  defect     |     Status:  new
  Priority:  medium     |  Milestone:  PostGIS 2.4.0
 Component:  postgis    |    Version:  2.2.x
Resolution:             |   Keywords:  autotools, make
------------------------+-----------------------------

Comment (by robe):

 Hey Brian,

 I found this interesting tidbit of a guy having what looks like similar
 issue to yours.
 His was on Solaris, but still could be the same issue.

 https://lists.osgeo.org/pipermail/postgis-users/2014-March/038761.html

 {{{


 Thanks, but I figured out the problem after a little more digging.

 The problem was that on solaris 11.1, /usr/bin/gcc is a symlink pointing
 to
 /usr/gcc/4.5/bin/gcc and /usr/bin was in the PATH env var, but there is no
 corresponding symlink for cpp.  After putting /usr/gcc/4.5/bin in the
 path,
 the configure script was able to find cpp and set SQLPP appropriately.

 Unfortunately the build fails further down with some linkling problems,
 but
 I'll do a little more research on my own before following up on the
 mailing
 list.

 Thanks again for the help!  Much appreciated!

 }}}

 I'm not near an Ubuntu machine at moment, but I don't recall the gcc
 registering itself as

 x86_64-unknown-linux-gnu like yours does.  granted I've never paid that
 close attention

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3506#comment:13>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list