Changes between Initial Version and Version 1 of Ticket #36006


Ignore:
Timestamp:
Sep 6, 2012, 12:27:58 AM (12 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Please remember to use WikiFormatting when writing in Trac.

As we're discovering with lots of other ports too, this version of grass is incompatible with libpng 1.5. We'll need to update grass or patch it.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36006

    • Property Summary changed from GRASS fails to compile to GRASS fails to compile with libpng 1.5
  • Ticket #36006 – Description

    initial v1  
    33
    44GRASS GIS compilation log
    5 -------------------------
     5{{{
    66Started compilation: Wed Sep  5 10:48:48 AKDT 2012
    77--
     
    2626    http://guide.macports.org/#project.tickets
    2727Error: Processing of port grass failed
    28 
     28}}}
    2929
    3030As suggest above, I tried:
    3131
     32{{{
    3233$ cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.0/raster/
    3334$ sudo make
     35}}}
    3436
    3537and it worked without breaking. Then I did:
    3638
     39{{{
    3740$ cd ..
    3841$ sudo make
     42}}}
    3943
    4044and compilation failed with (again):
    4145
     46{{{
    4247build_html_index.sh
    4348Generating HTML manual pages index (help system)...
     
    6267
    6368--
     69}}}
    6470
    6571Now upon closer inspection of the log file, I find:
    6672
     73{{{
    6774make -C r.out.png || echo /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.0/raster/r.out.png >> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.0/error.log
    6875/usr/bin/llvm-gcc-4.2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.0/dist.i386-apple-darwin12.1.0/include -I/opt/local/include -pipe -O2 -arch x86_64    -I/opt/local/include   -DPACKAGE=\""grassmods"\"  -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.0/dist.i386-apple-darwin12.1.0/include -o OBJ.i386-apple-darwin12.1.0/r.out.png.o -c r.out.png.c
     
    7683r.out.png.c:274: error: dereferencing pointer to incomplete type
    7784make[2]: *** [OBJ.i386-apple-darwin12.1.0/r.out.png.o] Error 1
    78 
     85}}}
    7986
    8087Any suggestions?