Opened 8 years ago

Closed 8 years ago

#52572 closed defect (invalid)

gnuplot @5.0.4+aquaterm: fails to detect AquaTerm during config on macOS Sierra

Reported by: weitzner (Brian Weitzner) Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version:
Keywords: sierra Cc:
Port: gnuplot aquaterm

Description

I issued port install gnu plot, which installed gnuplot @5.0.4_0+aquaterm+luaterm+pangocairo+wxwidgets+x11. AquaTerm is installed as a dependency, and I can double click on the icon in /Applications/MacPorts and it appears to function correctly. I saved the verbose log (attached) and it shows that gnuplot does not detect AquaTerm during configuration. When I launch gnuplot, I see the following output:

Unknown or ambiguous terminal name 'aqua'

	G N U P L O T
	Version 5.0 patchlevel 4    last modified 2016-07-21 

	Copyright (C) 1986-1993, 1998, 2004, 2007-2016
	Thomas Williams, Colin Kelley and many others

	gnuplot home:     http://www.gnuplot.info
	faq, bugs, etc:   type "help FAQ"
	immediate help:   type "help"  (plot window: hit 'h')

Terminal type set to 'unknown'

Attachments (2)

gnuplot.log (219.5 KB) - added by weitzner (Brian Weitzner) 8 years ago.
gnuplot install log
config.log (188.0 KB) - added by weitzner (Brian Weitzner) 8 years ago.
gnuplot config

Download all attachments as: .zip

Change History (9)

Changed 8 years ago by weitzner (Brian Weitzner)

Attachment: gnuplot.log added

gnuplot install log

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

Cc: mojca@… removed
Owner: changed from macports-tickets@… to mojca@…
Status: newassigned
Version: 2.3.4

Just in case: do you use a case sensitive file system? Can you try to run sudo port configure gnuplot again and attach config.log from the work directory?

That file is in

$(port work gnuplot)/gnuplot-5.0.4/config.log
Last edited 8 years ago by mojca (Mojca Miklavec) (previous) (diff)

Changed 8 years ago by weitzner (Brian Weitzner)

Attachment: config.log added

gnuplot config

comment:2 Changed 8 years ago by weitzner (Brian Weitzner)

My filesystem is case insensitive. I have attached config.log to the ticket.

comment:3 Changed 8 years ago by mojca (Mojca Miklavec)

The error was:

configure:8910: checking for AquaTerm framework presence
configure:8931: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include  -L/opt/local/lib -Wl,-headerpad_max_install_names -F/opt/local/Library/Frameworks -arch x86_64 -L/opt/local/lib -lcerf -framework Foundation -framework AquaTerm conftest.m  >&5
In file included from conftest.m:32:
In file included from /opt/local/Library/Frameworks/AquaTerm.framework/Headers/AQTAdapter.h:9:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:8:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:44:12: error: unknown property attribute 'class'
@property (class, readonly) BOOL supportsSecureCoding;
           ^
In file included from conftest.m:32:
In file included from /opt/local/Library/Frameworks/AquaTerm.framework/Headers/AQTAdapter.h:9:
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:262:12: error: unknown property attribute 'class'
@property (class, readonly) const NSStringEncoding *availableStringEncodings;
           ^
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:269:12: error: unknown property attribute 'class'
@property (class, readonly) NSStringEncoding defaultCStringEncoding;    // Should be rarely used
           ^
3 errors generated.
configure:8931: $? = 1

when tested on

/* confdefs.h */
#define PACKAGE_NAME "gnuplot"
#define PACKAGE_TARNAME "gnuplot"
#define PACKAGE_VERSION "5.0.4"
#define PACKAGE_STRING "gnuplot 5.0.4"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "gnuplot"
#define VERSION "5.0.4"
#define PROTOTYPES 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define __EXTENSIONS__ 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_STRINGIZE 1
#define HAVE_OFF_T 1
#define HAVE_FSEEKO 1
#define HAVE_LIBCERF 1
#define X11 1
/* end confdefs.h.  */
#import <AquaTerm/AQTAdapter.h>
int
main ()
{

  ;
  return 0;
}

I'm puzzled.

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

Just to make sure: do you run the latest Xcode and Command Line Tools? Searching for that errors shows some hits related to an old Xcode.

Random examples:

Last edited 8 years ago by mojca (Mojca Miklavec) (previous) (diff)

comment:5 Changed 8 years ago by weitzner (Brian Weitzner)

I double checked my Xcode and command line tools installations. Both are up to date. Xcode version 7.3, command line tools installed and updates checked thusly:

$ softwareupdate --list
Software Update Tool
Copyright 2002-2015 Apple Inc.

Finding available software
No new software available.

… then I double checked in the App Store, which said I had no available updates, but when I search for Xcode it says version 8.0 is current. Weird. Updating now.

comment:6 Changed 8 years ago by weitzner (Brian Weitzner)

New Xcode + uninstalling and reinstalling both gnuplot and aqua term got it working. Thanks for your help!

comment:7 Changed 8 years ago by mojca (Mojca Miklavec)

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