Opened 10 years ago

Closed 6 years ago

#41966 closed defect (fixed)

gnudatalanguage @0.9.4_3 +gshhs Runtime Error - PLplot installation lacks the requested driver: xwin

Reported by: William.Capehart@… Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: sweiss1993@…, gnw3
Port: gnudatalanguage

Description

GDL (gnudatalanguage) on Mavericks is presenting the following error when the user request anything with a graphic window:

PLplot installation lacks the requested driver: xwin

GDL does not crash and return to the unix prompt, and subsequent calculations and operations within GDL are not affected, however, the error appears whenever xwin is needed.

The following two GDL commands invoking a simple x window and plot each present the same error:

GDL> window, 0
% PLplot installation lacks the requested driver: xwin
% Execution halted at: $MAIN$          

GDL> plot, findgen(10)
% PLplot installation lacks the requested driver: xwin
% Execution halted at: $MAIN$          

This was not a problem before my upgrade to Mavericks and this error also occurs when the GSHHS option is not invoked when building (and the above two commands do not make use of the geographic database in question)

The build of GDL invoked the following build for plplot:

plplot @5.9.9_19 +aquaterm +gcc48 +x11

Change History (6)

comment:1 Changed 10 years ago by matthew.l.ferguson@…

I've got this problem on mountain lion.

comment:2 Changed 10 years ago by sweiss1993@…

Cc: sweiss1993@… added

Cc Me!

I experienced this problem today on OSX 10.9.1 (Mavericks). My version of GDL is 0.9.4. I saw ticket #40988 and they closed the ticket, but the patch given does not actually fix the problem. All it does is tell you "gnudatalanguage does not build on Mavericks or later" when trying to build. I am quite new to Macports, so forgive me if I am overlooking something. Also, I have tried cleaning and reinstalling with no luck. Any help?

Last edited 10 years ago by sweiss1993@… (previous) (diff)

comment:3 Changed 10 years ago by gnw3

Cc: gnwiii@… added

Cc Me!

I see this on Snow Leopard, so it is not specific to Mavericks. If you examine the Portfile's variant X11 section there is a backslash after libtk.dylib that has the effect of appending the arguments that were to be deleted.

With the errant "\" removed, the xwin driver is installed and works with gnuplot.

Summary (running vi to remove the "\"), and port -s to force building from source in case there is an archive that is missing the xwin driver:

$ sudo port uninstall -f plplot
$ sudo vi $(port file plplot)
$ sudo port -d -s install plplot +aquaterm +x11
[...]
DEBUG: Updating binary flag for file 67 of 345: /opt/local/lib/plplot5.9.9/driversd/xwin.so
[...]
Last edited 10 years ago by gnw3 (previous) (diff)

comment:4 Changed 10 years ago by matthew.l.ferguson@…

That worked great! Thanks!

comment:5 Changed 7 years ago by mf2k (Frank Schima)

Cc: tenomoto removed
Owner: changed from macports-tickets@… to tenomoto
Status: newassigned

comment:6 Changed 6 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.