Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13697 closed defect (fixed)

plplot 5.8.0 doesn't work with tcl/tk 8.5.0

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc: takeshi@…
Port:

Description

plplot 5.8.0 doesn't install with tcl/tk 8.5.0 installed:

/usr/bin/cc  -Dplplottcltkd_EXPORTS -O2 -I/opt/local/include -fPIC -I/opt/local/include -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_science_plplot/work/plplot-5.8.0/include -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_science_plplot/work/plplot-5.8.0/bindings/tcl -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_science_plplot/work/build -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_science_plplot/work/build/include -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_science_plplot/work/build/bindings/tcl   -DHAVE_CONFIG_H -o bindings/tcl/CMakeFiles/plplottcltkd.dir/opt/local/var/macports/build/_Users_rschmidt_macports_dports_science_plplot/work/plplot-5.8.0/bindings/tk/tkMain.o   -c /opt/local/var/macports/build/_Users_rschmidt_macports_dports_science_plplot/work/plplot-5.8.0/bindings/tk/tkMain.c
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_science_plplot/work/plplot-5.8.0/bindings/tk/tkMain.c:88: error: conflicting types for 'Tcl_Import'
/opt/local/include/tclDecls.h:3095: error: previous declaration of 'Tcl_Import' was here
make[2]: *** [bindings/tcl/CMakeFiles/plplottcltkd.dir/opt/local/var/macports/build/_Users_rschmidt_macports_dports_science_plplot/work/plplot-5.8.0/bindings/tk/tkMain.o] Error 1
make[1]: *** [bindings/tcl/CMakeFiles/plplottcltkd.dir/all] Error 2
make: *** [all] Error 2

Error: Status 1 encountered during processing.
$

I also tried plplot 5.7.3 and it has the same problem. Downgrading tcl and tk to 8.4.16 allowed the port to install without problems.

Change History (2)

comment:1 Changed 17 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: newclosed

Updated to 5.9.0 which works with tcl/tk 8.5.1.

comment:2 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.