Opened 11 years ago

Closed 11 years ago

#42610 closed defect (invalid)

gnuplot: version 4.6.5, build fails

Reported by: dbevans (David B. Evans) Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gnuplot

Description

Build fails with this error:

In file included from wxterminal/wxt_gui.cpp:96:
wxterminal/wxt_gui.h:75:10: fatal error: 'wx/wxprec.h' file not found
#include <wx/wxprec.h>

Build log attached.

Attachments (1)

main.log (186.2 KB) - added by dbevans (David B. Evans) 11 years ago.
Log showing build failure

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by dbevans (David B. Evans)

Attachment: main.log added

Log showing build failure

comment:1 Changed 11 years ago by mojca (Mojca Miklavec)

Version: 2.2.1

Something is wrong with your wxWidgets-3.0 installation.

Here's the relevant part of the problem:

checking for wx-config... /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/bin/wx-config

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

On my computer I get

> port provides /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/bin/wx-config 
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/bin/wx-config is provided by: wxWidgets-3.0

Can you please check what happened to your wxWidgets-3.0?

comment:2 Changed 11 years ago by mojca (Mojca Miklavec)

Maybe it has something to do with the fact that you installed wxWidgets as +universal. But I'm not sure and I'm not too excited to convert my whole MacPorts into universal mode to check.

comment:3 Changed 11 years ago by dbevans (David B. Evans)

Resolution: invalid
Status: newclosed

Yes, it appears that my copy of wxWidgets-3.0 +universal was corrupted. After rebuilding, gnuplot builds successfully both with and without +universal and using wxWidgets-3.0 from binary archive and locally built from source with and without +universal.

Sorry for the false report.

Note: See TracTickets for help on using tickets.