comp.lang.ada
 help / color / mirror / Atom feed
* Question about Gnat/FSF 2015
@ 2015-06-29 16:50 Laurent
  2015-06-29 17:30 ` Simon Wright
  0 siblings, 1 reply; 7+ messages in thread
From: Laurent @ 2015-06-29 16:50 UTC (permalink / raw)


Hi

I have installed both gnat GPL 2015 as well as the new FSF gcc 2015 for Mac OS.

When I start GPS via the start script someone from the community made I get in the menubar GPS GPL 2014. But the program version is GPS 6.1.1 (20150118). I don't see that if I start via the gps command in the terminal. Is that normal? Not that it is important but I always ask myself if I have done something wrong on installation.

The other problem is: Welcome to GPS 6.1.1 (20150118) hosted on x86_64-apple-darwin12.5.0

Why do I still get the darwin12.5.0? I am on Yosemite and the switch to make gnat compatible with Yosemite is no longer required so I have removed it. In GPS and from my profile.
So where does that come from?

Thanks

Laurent

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question about Gnat/FSF 2015
  2015-06-29 16:50 Question about Gnat/FSF 2015 Laurent
@ 2015-06-29 17:30 ` Simon Wright
  2015-06-29 17:52   ` Laurent
  0 siblings, 1 reply; 7+ messages in thread
From: Simon Wright @ 2015-06-29 17:30 UTC (permalink / raw)


Laurent <lutgenl@icloud.com> writes:

> Hi
>
> I have installed both gnat GPL 2015 as well as the new FSF gcc 2015
> for Mac OS.
>
> When I start GPS via the start script someone from the community made
> I get in the menubar GPS GPL 2014. But the program version is GPS
> 6.1.1 (20150118). I don't see that if I start via the gps command in
> the terminal. Is that normal? Not that it is important but I always
> ask myself if I have done something wrong on installation.

"GPS GPL 2014" is in GPS.app/Contents/Info.plist. You can edit it.

If I say "/opt/gnat-gpl-2015/bin/gps &" in Terminal the menubar says
"gps_exe"!

> The other problem is: Welcome to GPS 6.1.1 (20150118) hosted on
> x86_64-apple-darwin12.5.0
>
> Why do I still get the darwin12.5.0? I am on Yosemite and the switch
> to make gnat compatible with Yosemite is no longer required so I have>
> removed it. In GPS and from my profile.
> So where does that come from?

Don't know but expect it's the OS that GPS was built on.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question about Gnat/FSF 2015
  2015-06-29 17:30 ` Simon Wright
@ 2015-06-29 17:52   ` Laurent
  2015-06-30  8:15     ` briot.emmanuel
  0 siblings, 1 reply; 7+ messages in thread
From: Laurent @ 2015-06-29 17:52 UTC (permalink / raw)


On Monday, 29 June 2015 19:30:04 UTC+2, Simon Wright  wrote:

> "GPS GPL 2014" is in GPS.app/Contents/Info.plist. You can edit it.

Ok changed.

> Don't know but expect it's the OS that GPS was built on.

So I have to live with :)

Other problem I have since the new version. Appears after opening GPS. Is later overwritten by other messages.

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/gnat/share/gps/support/core/docgen_base_tags.py", line 19, in <module>
    class ParameterTagHandler (GPS.DocgenTagHandler):
AttributeError: 'module' object has no attribute 'DocgenTagHandler'
[2015-06-29 19:46:18] There are several startup scripts with the same name: /usr/local/gnat/share/gps/plug-ins/isearch.py
Not loading: /usr/local/gnat/share/gps/library/isearch.py
[2015-06-29 19:46:19] "display documentation XML/Ada User's Guide": Action overrides a builtin action

Future references to this action will execute the last definition encountered

No idea what GPS is complaining about: /usr/local/gnat/share/gps/plug-ins/isearch.py There is only one file. I didn't check the content of the file, perhaps there is a duplicate inside.

Thanks


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question about Gnat/FSF 2015
  2015-06-29 17:52   ` Laurent
@ 2015-06-30  8:15     ` briot.emmanuel
  2015-06-30 20:45       ` Laurent
  0 siblings, 1 reply; 7+ messages in thread
From: briot.emmanuel @ 2015-06-30  8:15 UTC (permalink / raw)


> [2015-06-29 19:46:18] There are several startup scripts with the same name: /usr/local/gnat/share/gps/plug-ins/isearch.py
> Not loading: /usr/local/gnat/share/gps/library/isearch.py

You might have an isearch.py somewhere else, for instance in your home dir: ~/.gps/plug-ins/
Or try searching for it in your install directory. Perhaps you installed GPS on top of an existing
installation ?

> [2015-06-29 19:46:19] "display documentation XML/Ada User's Guide": Action overrides a builtin action

Ignore this warning.
If it bothers you, you can remove the file share/gps/plug-ins/xmlada_gps.py  in your install of GPS.

Emmanuel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question about Gnat/FSF 2015
  2015-06-30  8:15     ` briot.emmanuel
@ 2015-06-30 20:45       ` Laurent
  2015-07-01  7:15         ` briot.emmanuel
  0 siblings, 1 reply; 7+ messages in thread
From: Laurent @ 2015-06-30 20:45 UTC (permalink / raw)


On Tuesday, 30 June 2015 10:15:07 UTC+2, briot.e...@gmail.com  wrote:
> > [2015-06-29 19:46:18] There are several startup scripts with the same name: /usr/local/gnat/share/gps/plug-ins/isearch.py
> > Not loading: /usr/local/gnat/share/gps/library/isearch.py
> 
> You might have an isearch.py somewhere else, for instance in your home dir: ~/.gps/plug-ins/
> Or try searching for it in your install directory. Perhaps you installed GPS on top of an existing
> installation ?

laurent$ mdfind isearch.py 
/Volumes/Backup/usr/local/gnat/share/gps/library/isearch.py
/Volumes/Backup/usr/local/gnat/share/gps/plug-ins/isearch.py
/Volumes/Backup/usr/local/gnat/share/gps/plug-ins/isearch.pyc
/Volumes/Macintosh HD/Downloads/gnat-gpl-2015-x86_64-darwin-bin/share/gps/plug-ins/isearch.py
/usr/local/gnat/share/gps/library/isearch.py
/usr/local/gnat/share/gps/plug-ins/isearch.py
/usr/local/gnat/share/gps/plug-ins/isearch.pyc

So it looks like there is no other isearch.py somewhere else. I tried a clean install which solved the problem.

I have as well removed share/gps/plug-ins/xmlada_gps.py. So no more red messages on startup in GPS.

Thanks


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question about Gnat/FSF 2015
  2015-06-30 20:45       ` Laurent
@ 2015-07-01  7:15         ` briot.emmanuel
  2015-07-01 16:14           ` Laurent
  0 siblings, 1 reply; 7+ messages in thread
From: briot.emmanuel @ 2015-07-01  7:15 UTC (permalink / raw)


> /usr/local/gnat/share/gps/library/isearch.py
> /usr/local/gnat/share/gps/plug-ins/isearch.py
> So it looks like there is no other isearch.py somewhere else. I tried a clean install which solved the problem.

Not sure what you meant here, since you indeed quoted a duplicate of the file.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question about Gnat/FSF 2015
  2015-07-01  7:15         ` briot.emmanuel
@ 2015-07-01 16:14           ` Laurent
  0 siblings, 0 replies; 7+ messages in thread
From: Laurent @ 2015-07-01 16:14 UTC (permalink / raw)


I was tired and it is quite hot for the moment. So I probably mixed a few things up.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-07-01 16:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-29 16:50 Question about Gnat/FSF 2015 Laurent
2015-06-29 17:30 ` Simon Wright
2015-06-29 17:52   ` Laurent
2015-06-30  8:15     ` briot.emmanuel
2015-06-30 20:45       ` Laurent
2015-07-01  7:15         ` briot.emmanuel
2015-07-01 16:14           ` Laurent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox