request for help (uberftp) ...

Peter Danecek Peter.Danecek at bo.ingv.it
Tue Sep 3 15:04:38 PDT 2013


On Sep 3, 2013, at 23:48 , Ryan Schmidt <ryandesign at macports.org> wrote:

> 
> On Sep 3, 2013, at 16:30, Peter Danecek wrote:
> 
>> So what I now would like to do is setting the `globus_flavor`.
>> 
>> At the moment I hardcode this:
>> 
>> # hardcode for now
>> set globus_flavor gcc64pthr
>> 
>> 
>> The output of `/opt/local/sbin/gpt-query globus_gssapi_gsi` is the following:
>> 
>> petr% /opt/local/sbin/gpt-query globus_gssapi_gsi 
>> 3 packages were found in /opt/local that matched your query:
>> 
>> packages found that matched your query 
>> globus_gssapi_gsi-gcc64pthr-dev pkg version: 10.7.6
>> globus_gssapi_gsi-gcc64pthr-rtl pkg version: 10.7.6
>> globus_gssapi_gsi-noflavor-doc pkg version: 10.7.6
>> petr% 
>> 
>> 
>> In the shell I would do something like this:
>> 
>> /opt/local/sbin/gpt-query globus_gssapi_gsi | grep globus_gssapi_gsi | awk -F- 'NR==1 {print $2}'
>> 
>> How to do something equivalent in TCL?
> 
> First we should figure out if that's the correct thing to do.
> 
> On your system this produces "gcc64pthr". Under what circumstances would it produce a different value?
> 

Actually this is inspired by the install guide to uberftp (see here: http://dims.ncsa.illinois.edu/set/uberftp/install.html) and at least on my Mac OS X 10.5 system this would produce gcc32pthr. But maybe you right and in the context of could just make a simple distinction between 32bit and 64bit systems.





-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1762 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20130904/3bd307c7/attachment.p7s>


More information about the macports-dev mailing list