[postgis-users] postgis-1.5.2 build failure on HP-UX

Sandro Santilli strk at keybit.net
Tue May 10 08:02:32 PDT 2011


On Tue, May 10, 2011 at 02:58:07PM +0100, Mark Cave-Ayland wrote:
> On 06/05/11 17:47, MUHAMMAD ASIF wrote:
> 
> >I am trying to build 64 bit binaries for postgis-1.5.2 on HP-UX B.11.31 
> >(ia64 hp Integrity rx2800 i2). HP compiler was giving the following error 
> >message i.e.
> >make -C postgismake[1]: Entering directory 
> >`/home/edb/AS90/postgis/postgis-1.5.2/postgis'cc +DD64 -Ae -E 
> >-traditional-cpp postgis.sql.in.c | grep -v '^#'>  postgis.sql.incc: error 
> >1914: bad form for `-t' optionmake[1]: *** [postgis.sql.in] Error 
> >1make[1]: *** Deleting file `postgis.sql.in'make[1]: Leaving directory 
> >`/home/edb/AS90/postgis/postgis-1.5.2/postgis'
> >To fix it, I just removed the -traditional-cpp option that is related to 
> >GCC. Build seems fine. It can be compiled with non gcc compilers then why 
> >is there option "-traditional-cpp" hard coded related to GCC. Thanks.
> 
> I think Sandro was the person who did this part of the build system, so 
> perhaps he may know?

I see that actually -traditional-cpp flag is now handled by configure
script, so should likely be taken out from out use of it.

I'll take a look.

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-users mailing list