[MacPorts] #51950: gnuplot unable to find wx/wxprec.h

MacPorts noreply at macports.org
Mon Mar 30 14:46:35 UTC 2020


#51950: gnuplot unable to find wx/wxprec.h
----------------------+----------------------
  Reporter:  skymoo   |      Owner:  mojca
      Type:  defect   |     Status:  reopened
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.3.4
Resolution:           |   Keywords:
      Port:  gnuplot  |
----------------------+----------------------
Changes (by vallon):

 * status:  closed => reopened
 * resolution:  invalid =>


Comment:

 I just encountered this.


 {{{
 :info:configure checking for wx-config...
 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/bin
 /wx-config
 :info:configure           Warning: No config found to match:
 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/bin
 /wx-config --release
 :info:configure                    in
 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/wx/config
 :info:configure           If you require this configuration, please
 install the desired
 :info:configure           library build.  If this is part of an automated
 configuration
 :info:configure           test and no other errors occur, you may safely
 ignore it.
 :info:configure           You may use wx-config --list to see all configs
 available in
 :info:configure           the default prefix.
 :info:configure expr: syntax error
 :info:configure expr: syntax error
 }}}

 wx-config --list seems confused:

 {{{
 $
 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/bin
 /wx-config --list

     Default config is osx_cocoa-unicode-3.0

           No config found to match:
 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/bin
 /wx-config --list
           in
 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/wx/config

           Please install the desired library build, or specify a different
           prefix where it may be found.  If the library is not installed
           you may call its wx-config directly by specifying its full path.


   Also available in
 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0:
     osx_cocoa-unicode-3.0

 }}}

 wx-config is using a bad EGREP:

 {{{
 $ grep EGREP=
 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/bin
 /wx-config
 EGREP="/opt/local/bin/ggrep -E"
 $ ls /opt/local/bin/ggrep
 ls: cannot access '/opt/local/bin/ggrep': No such file or directory
 }}}

 I build from source, so I suppose ggrep was there at some point, but has
 since been removed.

 After reinstall wxWidgets-3.0:

 {{{
 $ grep EGREP=
 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/bin
 /wx-config
 EGREP="/usr/bin/grep -E"
 $
 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/bin
 /wx-config --list

     Default config is osx_cocoa-unicode-3.0

   Default config will be used for output

 }}}

 Appears to be a wx-widgets problem.

-- 
Ticket URL: <https://trac.macports.org/ticket/51950#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list