Ruby/Tk and MacOS X framework

H

Hidetoshi NAGAI

Hi,

I want to ask one question to MacOS X users.

When --with-tcltk-framework configure option is given,
current (1.8.4 and 1.9) 'ext/tk/extconf.rb' searches
Tcl.framework and Tk.framework from "/Library/Frameworks"
at first, and next searchs from "/System/Library/Frameworks".

My question is "Is the order proper? Or should it be in reverse?".
I need comments from MacOS X users.
 
J

James Edward Gray II

Hi,

I want to ask one question to MacOS X users.

When --with-tcltk-framework configure option is given,
current (1.8.4 and 1.9) 'ext/tk/extconf.rb' searches
Tcl.framework and Tk.framework from "/Library/Frameworks"
at first, and next searchs from "/System/Library/Frameworks".

My question is "Is the order proper? Or should it be in reverse?".
I need comments from MacOS X users.

/System/... is the location of Apple's version, on the latest OS
(Tiger). User's could install in /Library/... or even ~/Library/...,
so I think your order is probably okay.

James Edward Gray II
 
H

Hidetoshi NAGAI

From: James Edward Gray II <[email protected]>
Subject: Re: Ruby/Tk and MacOS X framework
Date: Tue, 29 Nov 2005 12:24:47 +0900
Message-ID: said:
/System/... is the location of Apple's version, on the latest OS
(Tiger). User's could install in /Library/... or even ~/Library/...,
so I think your order is probably okay.

Thank you. I'll keep the order.
I have one more question.
Should I add a new path and use the following search order?

[
"/Library/Frameworks",
"/Network/Library/Frameworks", # <=== the new path
"/System/Library/Frameworks"
]

# I think that I should not add "~/Library/Frameworks".
# Is the judgement right?
 
J

James Edward Gray II

"/Network/Library/Frameworks", # <=== the new path

Hmm, I wasn't aware of this alias until you pointed it out. I'll let
someone with more knowledge of its purpose answer that.
# I think that I should not add "~/Library/Frameworks".
# Is the judgement right?

Well, it is a legal place to install. The OS itself would check it...

James Edward Gray II
 
H

Hidetoshi NAGAI

From: James Edward Gray II <[email protected]>
Subject: Re: Ruby/Tk and MacOS X framework
Date: Thu, 1 Dec 2005 23:00:36 +0900
Message-ID: said:
Hmm, I wasn't aware of this alias until you pointed it out. I'll let
someone with more knowledge of its purpose answer that.

I found it in 'configure' script of Tcl/Tk Extension.
If the path is standard and important, it'll have to be added.
So, I asked about it.
Well, it is a legal place to install. The OS itself would check it...

By default, I think, 'configure' should search general pathes
except pathes under the home of a certain user.
Because, if depends on a certain user's home, the compiled binary
may not work for other users.
Don't you think so?
 
M

Matthew Smillie

By default, I think, 'configure' should search general pathes
except pathes under the home of a certain user.
Because, if depends on a certain user's home, the compiled binary
may not work for other users.
Don't you think so?

~/Library/Frameworks is there for users who don't have the
administrative powers to install to /Library/Frameworks, so it's a
good place to check. Presumably the user would also be installing
Ruby within their own space as well, so I'm not sure that the binary
not working for other users would be particularly important in that
case.

matthew smillie.
 
H

Hidetoshi NAGAI

From: Matthew Smillie <[email protected]>
Subject: Re: Ruby/Tk and MacOS X framework
Date: Sat, 3 Dec 2005 01:34:30 +0900
Message-ID: said:
~/Library/Frameworks is there for users who don't have the
administrative powers to install to /Library/Frameworks, so it's a
good place to check. Presumably the user would also be installing
Ruby within their own space as well, so I'm not sure that the binary
not working for other users would be particularly important in that
case.

Hmm...
In such case, the user will give the configure option about the
install directory of the binaries. And then, it is not difficult
to give the option about the framework directory.
If the installed binaries work for only the user who install them,
I think that is a larger problem.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top