Opened 10 years ago

Closed 10 years ago

#46628 closed defect (invalid)

Gnuplot: command execution failed, "AE/AE.h" not found

Reported by: noonan1111@… Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gnuplot

Description

Using Lion 10.7.5 and Xcode 4.6.3

I tried using:

  • sudo port clean gnuplot
  • sudo xcode-select -switch /Applications/Xcode.app
  • sudo port install gnuplot

But keep getting this error in the error log (to be attached):

:info:build In file included from wxterminal/wxt_gui.cpp:140:
:info:build In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:20:
:info:build /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21:10: fatal error: 'AE/AE.h' file not found
:info:build #include <AE/AE.h>
:info:build          ^
:info:build 1 error generated.

Attachments (1)

main.log (205.2 KB) - added by noonan1111@… 10 years ago.
log file for gnuplot install

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by noonan1111@…

Attachment: main.log added

log file for gnuplot install

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to mojca@…
Port: gnuplot added; Gnuplot removed

In the future, please Cc the port maintainers (port info --maintainers gnuplot), if any.

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

I suspect there's something wrong on the machine, unrelated to gnuplot. What do you get with the following commands?

find /Applications/Xcode.app -name "AE.h"
find /System/Library/Frameworks -name "AE.h"

Here's what I get:

> find /Applications/Xcode.app -name "AE.h"
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/Headers/AE.h
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/Headers/AE.h
> find /System/Library/Frameworks -name "AE.h"
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/Headers/AE.h

comment:3 Changed 10 years ago by noonan1111@…

Thanks for your reply.

The second find turns up a blank:

> find /Applications/Xcode.app -name "AE.h"
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/Headers/AE.h
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/Headers/AE.h
> find /System/Library/Frameworks -name "AE.h"

It looks like the Headers directory under the System/Library/Frameworks path isn't there:

> ls /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/
AE		Resources	Support		_CodeSignature

If this could be causing the problem, do you have any ideas if/when/how this should have been or can be installed/fixed?

comment:4 Changed 10 years ago by mojca (Mojca Miklavec)

Yes, that certainly is a problem, but I don't know what could have caused that situation. Please ask for advice on the mailing list.

You could try to copy the files from /Applications/Xcode.app/..., but you need to know precisely what to copy.

See also #37762.

comment:5 Changed 10 years ago by mojca (Mojca Miklavec)

Resolution: invalid
Status: newclosed
Version: 2.3.3
Note: See TracTickets for help on using tickets.