Opened 8 years ago
Last modified 8 years ago
#54040 assigned defect
gnudatalanguage @0.9.6_8 + wxWidgets run error
Reported by: | fakahle | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.1 |
Keywords: | Cc: | ||
Port: | gnudatalanguage |
Description (last modified by mf2k (Frank Schima))
% WIDGET_BASE: GDL was compiled without support for wxWidgets
installed gnudatalanguage with variants python27 and wxWidgets OS X 10.11.6
did install fine, but support for wxWidgets seems missing (runtime error)
Attachments (1)
Change History (10)
comment:1 Changed 8 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | gnudatalanguage +wxWidgets removed |
Owner: | set to tenomoto |
Status: | new → assigned |
comment:2 follow-up: 3 Changed 8 years ago by fakahle
Checking the Portfile it becomes obvious that wxWidgets are disabled even if gnudatalanguage is compiled with +wxWidgets:
# wxWidget support is not actively developed. variant wxWidgets description {deprecated compatibility variant} { # supported_archs ppc i386 # depends_lib-append port:wxWidgets30 # configure.args-delete -DWXWIDGETS=OFF \ # configure.args-append -DWXWIDGETS=ON \ # -DWXWIDGETSDIR=${prefix} # # http://wiki.finkproject.org/index.php/Fink:Packaging:Preparing_for_10.5#\ OpenGL_Bug # #configure.env-append LDFLAGS=\"-Wl,-dylib_file,/System/Library/Framewo\ rks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Framework\ s/OpenGL.framework/Versions/A/Libraries/libGL.dylib\" }
Is it possible to revert back to 2.8 for widgets?
comment:3 Changed 8 years ago by fakahle
I did not manage to make the necessary modifications to enable wxWidgets with 0.9.6 but after modifying the portfile to compile gdl 0.9.7 gnudatalanguage +python27 +wxWidgets compiled just fine on my Mac and widgets seem to be enabled.
comment:4 Changed 8 years ago by mf2k (Frank Schima)
Thanks. Per the guidelines, please instead attach a unified diff of the Portfile so we can easily see what changes you are proposing.
comment:5 Changed 8 years ago by fakahle
Sorry for not being familiar with the guidelines. I've had to alter plplots Portfile, too, in order to build plplots with support for wxwidgets: recent posts suggested DPLD_wxwidgets=OFF when building plplot with support for wxwidgets. Therefore I omitted that particular code line in the variant description. I also had to omit -Dwxwidgets_LINK_FLAGS=-lplplotd in the variant section. No it reads
variant wxwidgets description {Add support for wxWidgets} {
wxWidgets.use wxWidgets-3.0 depends_lib-append port:${wxWidgets.port} configure.args-delete -DPLD_wxwidgets=OFF \
-DENABLE_wxwidgets=OFF
configure.args-append -DPLD_wxwidgets=ON \
-DENABLE_wxwidgets=ON \ -DwxWidgets_CONFIG_EXECUTABLE=${wxWidgets.wxconfig} \ -DwxWidgets_wxrc_EXECUTABLE=${wxWidgets.wxrc}
}
comment:6 Changed 8 years ago by mf2k (Frank Schima)
plplot has a +wxwidgets
variant. Are you saying that is not working correctly too?
comment:7 Changed 8 years ago by fakahle
Well, "port install plplot +aquaterm+python27+wxwidgets+x11" build "fine" - but a "port installed plplot" afterwards returned plplot @5.11.1_2+aquaterm+python27+x11 with no indication of touching wxwidgets. Maybe there was a typo on my site with respect to wxwidgets, but that said I checked recent posts with respect to plplot with widgets enabled and found the hint to omit DENABLE_wxwidgets=ON. Thereafter plplot with variants lacks building because of a linker error with respect to plplotd. Will check on plplot again when moving to my Air and going to the same steps to build gnudatalanguage on that system with widgets enabled ... still testing gdl on my desktop.
comment:8 Changed 8 years ago by fakahle
I reverted back to macports original Portfile for plplot to check the above hypothesis and got the following error while building plplot with variants +aquaterm+python27+wxwidgets+x11:
:info:build wxPLDevBase* dev; :info:build :info:build /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_macports_release_\ tarballs_ports_science_plplot/plplot/work/plplot-5.11.1/drivers/wxwidgets.cpp:233:11: error: use of undeclared ident\ ifier 'common_init' :info:build dev = common_init( pls ); :info:build :info:build 10 warnings and 2 errors generated. :info:build make[2]: * [src/CMakeFiles/plplot.dir//drivers/wxwidgets.cpp.o] Error 1 :info:build make[2]: * Waiting for unfinished jobs.... :info:build 10 warnings generated. :info:build make[2]: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.ma\ cports.org_macports_release_tarballs_ports_science_plplot/plplot/work/build' :info:build make[1]: * [src/CMakeFiles/plplot.dir/all] Error 2 :info:build make[1]: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.ma\ cports.org_macports_release_tarballs_ports_science_plplot/plplot/work/build' :info:build make: * [all] Error 2 :info:build make: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macpo\ rts.org_macports_release_tarballs_ports_science_plplot/plplot/work/build' :info:build Command failed: cd "/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.\ org_macports_release_tarballs_ports_science_plplot/plplot/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON :info:build Exit code: 2 :error:build Failed to build plplot: command execution failed :debug:build Error code: CHILDSTATUS 60985 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname" :error:build See /opt/macports/var/macports/logs/_opt_macports_var_macports_sources_rsync.macports.org_macports_rele\ ase_tarballs_ports_science_plplot/plplot/main.log for details.
So definitely plplot with variants +aquaterm +python27 +x11 +wxwidgets doesn't build as expected.
comment:9 Changed 8 years ago by mf2k (Frank Schima)
I filed #54103 for the plplot +wxwidgets build error.
In the future, please use WikiFormatting and Cc the port maintainers (
port info --maintainers gnudatalanguage
), if any.