[MacPorts] #33596: update: gnuplot 4.6.0
MacPorts
noreply at macports.org
Sun Mar 11 14:38:45 PDT 2012
#33596: update: gnuplot 4.6.0
--------------------------------------------+-------------------------------
Reporter: mojca.miklavec.lists@… | Owner: macports-tickets@…
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: | Port: gnuplot
--------------------------------------------+-------------------------------
I would like to request an update of gnuplot port.
I'm attaching a preliminary version of Portfile, however there are several
caveats:
1.) I would like to see Qt terminal included. I didn't attempt to do that
since I had problems with other issues. I'll try this later and it may be
ignored for now.
2.) Current Portfile includes a not-so-relevant patch. I just commented it
out for a moment (it can be included later and it needs to be adapted a
bit to work with new version, I just wanted to sort out other issues
first).
3.) I would like to see wxWidgets-devel (wxWidgets 2.9.x) being used to
enable 64-bit application. I commented out the old code and wrote a new
one using
{{{
variant wxwidgets description "Enable wxWidgets front-end" {
depends_lib-append port:wxWidgets-devel
configure.args-delete --disable-wxwidgets
configure.args-append --with-wx-config=${prefix}/bin/wx-config
}
}}}
however that part needs to be fixed by someone more knowledgable about
variants than I am. For anyone using 64-bit Mac OS X, wxWidgets-devel
should be the preferred option. For those who only need/want i386 and/or
ppc, wxWidgets are probably just fine.
4.) I have a problem with wxWidgets. The file ${prefix}/bin/wx-config
lists -framework QuickTime and that one generates
{{{
ld: warning: ignoring file
/System/Library/Frameworks//QuickTime.framework/QuickTime, file was built
for unsupported file format which is not the architecture being linked
(x86_64)
}}}
4.) If I want to build wxWidgets, clang++ complains, while gcc
(llvm-g++-4.2) works fine. It stops with (after manually removing
QuickTime):
{{{
:info:build /usr/bin/clang++ -pipe -O2 -arch x86_64
-I/opt/local/lib/wx/include/osx_cocoa-unicode-2.9
-I/opt/local/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL
-D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ -D_REENTRANT
-I/opt/local/include/cairo -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include
-I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
-I/opt/local/include/libpng14 -I/opt/local/include/pango-1.0
-D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include
-I/opt/local/include/atk-1.0 -I/opt/local/include/cairo
-I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0
-I/opt/local/include/gio-unix-2.0/ -I/opt/local/include
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
-I/opt/local/include/libpng14 -L/opt/local/lib -arch x86_64
-L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib
-L/opt/local/lib -L/opt/local/lib -o gnuplot alloc.o axis.o binary.o
breaders.o color.o command.o contour.o datafile.o dynarray.o eval.o fit.o
gadgets.o getcolor.o graph3d.o graphics.o help.o hidden3d.o history.o
internal.o interpol.o matrix.o misc.o mouse.o parse.o plot.o plot2d.o
plot3d.o pm3d.o readline.o save.o scanner.o set.o show.o specfun.o
standard.o stats.o stdfn.o tables.o tabulate.o term.o time.o unset.o
util.o util3d.o variable.o version.o wxt_gui.o gp_cairo.o
gp_cairo_helpers.o -lreadline -lncurses -lz -lgd -lXpm -lX11 -ljpeg
-lfontconfig -lfreetype -lpng -lz -liconv -ljpeg -lfreetype -lpng -lpdf
-L/opt/local/lib -llua -lm -L/opt/local/lib -framework IOKit
-framework Carbon -framework Cocoa -framework AudioToolbox -framework
System -framework OpenGL -lwx_osx_cocoau_xrc-2.9
-lwx_osx_cocoau_webview-2.9 -lwx_osx_cocoau_html-2.9
-lwx_osx_cocoau_qa-2.9 -lwx_osx_cocoau_adv-2.9 -lwx_osx_cocoau_core-2.9
-lwx_baseu_xml-2.9 -lwx_baseu_net-2.9 -lwx_baseu-2.9 -L/opt/local/lib
-lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype
-lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl
-L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0
-lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage
-lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11
-lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0
-lgthread-2.0 -lglib-2.0 -lintl -laquaterm -framework Foundation
-L/opt/local/lib -lz -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0
-lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0
-lglib-2.0 -lintl
:info:build Undefined symbols for architecture x86_64:
:info:build "wxNavigationEnabled<wxNonOwnedWindow>::SetFocus()",
referenced from:
:info:build vtable for wxtFrame in wxt_gui.o
:info:build vtable for wxtConfigDialog in wxt_gui.o
:info:build vtable for wxMDIParentFrameBase in wxt_gui.o
:info:build "wxNavigationEnabled<wxNonOwnedWindow>::AcceptsFocus()
const", referenced from:
:info:build vtable for wxtFrame in wxt_gui.o
:info:build vtable for wxtConfigDialog in wxt_gui.o
:info:build vtable for wxMDIParentFrameBase in wxt_gui.o
}}}
Does anyone have a clue what goes wrong with clang++?
--
Ticket URL: <https://trac.macports.org/ticket/33596>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list