[MacPorts] #13697: plplot 5.8.0 doesn't work with tcl/tk 8.5.0
MacPorts
trac at macosforge.org
Sun Dec 23 06:42:26 PST 2007
#13697: plplot 5.8.0 doesn't work with tcl/tk 8.5.0
-------------------------------------+--------------------------------------
Reporter: ryandesign at macports.org | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.5.2
Keywords: |
-------------------------------------+--------------------------------------
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.
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13697>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list