Opened 12 years ago
Closed 12 years ago
#36094 closed defect (fixed)
gmsh: error: ‘Z_DEFAULT_COMPRESSION’ was not declared in this scope
Reported by: | aeronova | Owned by: | Christophe.Prudhomme@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | DavidLibault, ryandesign (Ryan Carsten Schmidt) | |
Port: | gmsh |
Description
Hello all,
I got the following error when I tried upgrading gmsh on my Mac 10.6.8:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source/Graphics/gl2png.cpp :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source/Graphics/gl2png.cpp: In function ‘void create_png(FILE*, PixelBuffer*, int)’: :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source/Graphics/gl2png.cpp:60: error: ‘Z_DEFAULT_COMPRESSION’ was not declared in this scope :info:build make[2]: *** [CMakeFiles/gmsh.dir/Graphics/gl2png.cpp.o] Error 1 :info:build make[2]: *** Waiting for unfinished jobs.... :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source' :info:build make[1]: *** [CMakeFiles/gmsh.dir/all] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source" && /usr/bin/make -j2 -w all :info:build Exit code: 2 :error:build org.macports.build for port gmsh returned: command execution failed :debug:build Error code: CHILDSTATUS 77496 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for gmsh: org.macports.install org.macports.build org.macports.destroot :notice:build Please see the log file for port gmsh for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/main.log
Looks like it has something to do with libpng.
Attachments (1)
Change History (9)
comment:1 Changed 12 years ago by ci42
Keywords: | gmsh removed |
---|---|
Owner: | changed from macports-tickets@… to Christophe.Prudhomme@… |
Port: | gmsh added |
comment:2 Changed 12 years ago by ci42
Type: | update → defect |
---|
comment:4 Changed 12 years ago by aeronova
I followed the instruction, clean then install, and I've attached the complete log. For a quick check, plz see the below:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source/Graphics/gl2png.cpp: In function ‘void create_png(FILE*, PixelBuffer*, int)’: :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source/Graphics/gl2png.cpp:60: error: ‘Z_DEFAULT_COMPRESSION’ was not declared in this scope :info:build make[2]: *** [CMakeFiles/gmsh.dir/Graphics/gl2png.cpp.o] Error 1 :info:build make[2]: *** Waiting for unfinished jobs.... :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source' :info:build make[1]: *** [CMakeFiles/gmsh.dir/all] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source" && /usr/bin/make -j2 -w all :info:build Exit code: 2 :error:build org.macports.build for port gmsh returned: command execution failed :debug:build Error code: CHILDSTATUS 80629 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for gmsh: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port gmsh for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/main.log
comment:5 Changed 12 years ago by ci42
Cc: | aeronova@… removed |
---|
If you're the ticket reporter there is no need to cc yourself.
comment:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | gmsh @2.5.0_1 update error - build failure → gmsh: error: ‘Z_DEFAULT_COMPRESSION’ was not declared in this scope |
---|
comment:7 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | david.libault@… added |
---|
Has duplicate #36185.
comment:8 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Please try a clean install:
and attach the log file if it fails.
In the future please remember to cc the maintainer and fill in the port field. For keyword usage see DraftKeywordGuidelines.