Re: Help uninstall a port

2015-09-09 Thread Russell Jones

Also consider

sudo port selfupdate && sudo port upgrade outdated

and

https://guide.macports.org/chunked/installing.macports.uninstalling.html 
(but only if you're not using anything else in MacPorts)


Have you found another way to run ROOT? What doesn't work in the 
MacPorts version?


Russell

On 03/09/15 18:22, Alessandra Gioventù wrote:

Dear Mrs/Mr,
I’m a student, I have a MacBook Pro with OS X 10.9.5. Almost a year ago, I have 
installed root using macports, but it doesn’t work properly, so I have to 
uninstall the port. Is it possible? How can I do it?
Thank you for your time,
A. G.
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help uninstall a port

2015-09-03 Thread Brandon Allbery
On Thu, Sep 3, 2015 at 1:22 PM, Alessandra Gioventù <
alessandra.giove...@gmail.com> wrote:

> I’m a student, I have a MacBook Pro with OS X 10.9.5. Almost a year ago, I
> have installed root using macports, but it doesn’t work properly, so I have
> to uninstall the port. Is it possible? How can I do it?


First verify which one is installed:

port echo installed and "root*"

Then remove those:

sudo port uninstall root5 <-- put the actual installed port name(s)
here

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Help uninstall a port

2015-09-03 Thread Alessandra Gioventù
Dear Mrs/Mr,
I’m a student, I have a MacBook Pro with OS X 10.9.5. Almost a year ago, I have 
installed root using macports, but it doesn’t work properly, so I have to 
uninstall the port. Is it possible? How can I do it?
Thank you for your time,
A. G.
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help with a port

2015-08-18 Thread Michael David Crawford
Dan,

I expect I can build you a standalone, dynamically-linked lynx this
weekend, then provide a MacPorts build by the middle to end of next
week.  My dynamic build will come with an installation script, later
I'll come up with a GUI installer as well as a statically-linked
build.

(It's easy to build your own code statically-linked but sometimes it
can be hard to build someone else's code that way.)

MacPorts is the best thing to build with if you already know how to
build with MacPorts, but I don't know how yet so I'll start with the
old fashioned "./configure; make; sudo make install" which is a real
good way to root your own box.

In my long hard experience there are always all manner of petty
problems when building any really interesting code.  For wget most of
my time is consumed by its SSL/TLS security (ie. HTTPS) which I
presently do not require but expect would be difficult to remove
entirely from wget.  lynx will also want SSL/TLS, which will at least
partially reuse my wget work but could well be quite different.

I couldn't maintain the entire MacPorts tree on old OS X revisions but
quite likely I could maintain a modest number of commonly-used or
important packages.  For me that's wget, lynx, djbdns, gcc, the X11
servers and maybe I can backport clang/llvm.

My righteously tricked-out MacBook Pro went to The Great Cupertino
Garage in the sky so now I'm coding on Mom's G4 Tiger iMac in hopes
that I can write something that I can sell for enough money to buy a
new box for myself.

I am on 56k dialup as Mom is completely convinced that were I to use
my own money to install a cable modem in her condo she would never
receive any more emails from her friends, family nor schoolmates.

were I to point out to her that I know how The Series Of Tubes work
and she does not, Mom would dial 9-1-1 to let them know I'm not taking
my medicine.  That commonly results in my being admitted to a nuthouse
in handcuffs by the police.

I Am Absolutely Serious.

Thine In Eternal Torment,

El Ingenioso Don Miguel de la Chula Visa
Salmon Creek Consulting Engineers
http://soggywizards.com/
m...@soggywizards.com <-- Maybe Tomorrow.
+1 (503) 688-8345

One Must Not Trifle With Wizards For It Makes Us Soggy And Hard To Light.


On 8/18/15, -  wrote:
>
> It would be great if you were to do so please!  The details start in the
> lynx.cfg file that comes with the macports installation at:
>
> .h1 CGI scripts
>
> There is a version to compile where the "exec" and scripting is allowed
> only locally to prevent remote access to this function.
>
> I have appended a file, jumps.html, which has examples of links using this
> function as links.  Some in the destination have "lynxexec:" or
> "lynxprog:".
>
> These can be seen using lynx in the status line as the destination.  The
> first does a local command and the latter runs an application, as the
> example links will reflect in the link label text.  The 2nd link from the
> bottom would appear to call a local cgi script.
>
> I don't know if it is a compile issue but I could never get the "jumP" key
> command function to work in the macports version of lynx.  It could be I'm
> just not including the proper syntax in lynx.cfg to allow it.  The "help
> file" and "index" key command features do work when I put them in the
> lynx.cfg with what seems the same required syntax.
>
> I would be ever so grateful if you were to undertake to compile lynx with
> this functionality.
>
> Dan
>
> On Mon, 17
> Aug 2015, Michael David Crawford wrote:
>
>> I would be happy to build Lynx with the configuration of your heart's
>> desire.  Do you have any special requirements other than the external
>> command facility?  The current OS X or an old version?
>>
>> Just now I'm working my way through wget, I'm going to provide a
>> statically
>> linked build at http://soggywizard.com/ when it is ready, then later a
> y> dynamically linked build with an installer.
>>
>> I love MacPorts but it is beyond the comprehension of many.
>>
>> Mike Crawford
>> http://mike.soggywizard.com/
>> mdcrawf...@gmail.com
>> (503) 688-8345
>>
>>   One Must Not Trifle With Wizards For It Makes Us Soggy And Hard To
>> Light.
>>
>>
>> --
>> Michael David Crawford, Consulting Software Engineer
>> mdcrawf...@gmail.com
>> http://www.warplife.com/mdc/
>>
>>Every Deity Hath the Insight to Foretell the Future
>>Yet G-d Almighty Himself Possesseth Not the Power to Undo the Past.
>>
>
> XB


-- 
Michael David Crawford P.E., Consulting Process Architect
mdcrawf...@gmail.com
http://mike.soggywizard.com/

  One Must Not Trifle With Wizards For It Makes Us Soggy And Hard To Light.
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help with a port

2015-08-18 Thread -


It would be great if you were to do so please!  The details start in the 
lynx.cfg file that comes with the macports installation at:


.h1 CGI scripts

There is a version to compile where the "exec" and scripting is allowed 
only locally to prevent remote access to this function.


I have appended a file, jumps.html, which has examples of links using this 
function as links.  Some in the destination have "lynxexec:" or 
"lynxprog:".


These can be seen using lynx in the status line as the destination.  The 
first does a local command and the latter runs an application, as the 
example links will reflect in the link label text.  The 2nd link from the 
bottom would appear to call a local cgi script.


I don't know if it is a compile issue but I could never get the "jumP" key 
command function to work in the macports version of lynx.  It could be I'm 
just not including the proper syntax in lynx.cfg to allow it.  The "help 
file" and "index" key command features do work when I put them in the 
lynx.cfg with what seems the same required syntax.


I would be ever so grateful if you were to undertake to compile lynx with 
this functionality.


Dan

On Mon, 17 
Aug 2015, Michael David Crawford wrote:



I would be happy to build Lynx with the configuration of your heart's
desire.  Do you have any special requirements other than the external
command facility?  The current OS X or an old version?

Just now I'm working my way through wget, I'm going to provide a statically
linked build at http://soggywizard.com/ when it is ready, then later a

y> dynamically linked build with an installer.


I love MacPorts but it is beyond the comprehension of many.

Mike Crawford
http://mike.soggywizard.com/
mdcrawf...@gmail.com
(503) 688-8345

  One Must Not Trifle With Wizards For It Makes Us Soggy And Hard To Light.


--
Michael David Crawford, Consulting Software Engineer
mdcrawf...@gmail.com
http://www.warplife.com/mdc/

   Every Deity Hath the Insight to Foretell the Future
   Yet G-d Almighty Himself Possesseth Not the Power to Undo the Past.



XB

Shortcut List
mailto:webmas...@foo.blah.dom";>




Shortcut List
  This is a sample jumps file created in the early days of Lynx:
  you should use it as a template, replacing with your own choices.
  See Users Guide for details of how the `j' command works.

  *** IMPORTANT *** If you want to use `?' with `j' to recall
  your own list of abbreviations, you must make sure
  you always have the correct URL corresponding to `?' below:
  otherwise, Lynx may display an incorrect list with misleading results.

  *** ALSO *** The entries must be in alphabetic order, with `?' first:
  otherwise, Lynx may not be able to find them all.

  Name   Link


?This Shortcut List
agreementChebucto FreeNet 
User Agreement
boardMetroCAN Board of 
Directors
browserPersonal File Browser
docteamDocumentation 
Team Work Area
eventsSearch all event 
schedules by time and keyword
filesPersonal File Browser
forwardForward your mail
freenetshttp://duke.usask.ca/~scottp/free.html";>FreeNets 
around the World
helpHelp Desk
homeChebucto FreeNet Home 
Page
infoFinding 
Information
ipInformation Providers 
Commitee
listsMailing 
Lists and Archives
mailRead and/or send mail
metrocanMetro*CAN 
Society
newWhat's New
newsRead and Send News
newsgroupsList 
Global Newsgroups
passwordChange your password
peopleFind 
other people
profileUpdate your personal profile
quotaView your disk usage and 
quota
recenthttp://www.cfn.cs.dal.ca/cgi-bin/recent";>Recently 
Changed Documents on CFN
registerNew User 
Registration
searchSearch 
every document on CFN by keyword.
technicalMetro*CAN Technical 
Committee
terminalSet your terminal type
volunteerVolunteer with CFN
whohttp://www.cfn.cs.dal.ca/cgi-bin/cfn-who";>Find out who is 
online now
xsearchSearch 
every document on CFN by keyword.



___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help with a port

2015-08-18 Thread Michael David Crawford
On Tue, Aug 18, 2015 at 12:00 AM, Michael David Crawford
 wrote:
> I love MacPorts but it is beyond the comprehension of many.

Eneko Gotzon 
​> Yes but we have all our lives for learn… :)​

+1 Touché

On 8/18/15, Eneko Gotzon  wrote:
> On Tue, Aug 18, 2015 at 12:00 AM, Michael David Crawford <
> mdcrawf...@gmail.com> wrote:
>
>> I love MacPorts but it is beyond the comprehension of many.
>
>
> ​Yes but we have all our lives for learn… :)​
>
> --
> Eneko Gotzon Ares
> enekogot...@gmail.com
>


-- 
Michael David Crawford P.E., Consulting Process Architect
mdcrawf...@gmail.com
http://mike.soggywizard.com/

  One Must Not Trifle With Wizards For It Makes Us Soggy And Hard To Light.
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help with a port

2015-08-18 Thread Eneko Gotzon
On Tue, Aug 18, 2015 at 12:00 AM, Michael David Crawford <
mdcrawf...@gmail.com> wrote:

> I love MacPorts but it is beyond the comprehension of many.


​Yes but we have all our lives for learn… :)​

-- 
Eneko Gotzon Ares
enekogot...@gmail.com
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help with a port

2015-08-17 Thread Ryan Schmidt

On Aug 17, 2015, at 3:18 PM, - wrote:
> 
> On asking how one registers to submit a ticket when there are no apparant 
> text entry fields to register when I attempted it at:
> 
> https://trac.macports.org/auth/login/?next=/newticket
> 
> A reply:
> 
>> Register link works fine here, you only need to enter a valid email address 
>> and desired password.  The login dialog looks almost identical to the 
>> registration dialog.
>> 
>> https://trac.macports.org/auth/register/ 
>> 
>> 
>> -Mike
> 
> This gave me a clue why it doesn't work for me using the lynx browser. Taking 
> a quick look under the hood for the html coding for that url found it uses 
> java script.  Lynx doesn't use java script, thus even the text fields to 
> register don't appear.
> 
> I'm a blind computer user who prefers lynx because it is a text only browser; 
> for obvious reasons.
> 
> The register function and any others at the macports site can be accomplished 
> using standard non-java coding.  Perhaps some thought should be given this.

The page in question does include two JavaScript files, but they only serve to 
handle the admin menu, to which nobody except the MacPorts managers has access 
anyway. So yes, JavaScript is required for us managers to access the admin 
menu, but other than that, I don't think JavaScript is used in the MacPorts web 
sites, and Java isn't used either.

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help with a port

2015-08-17 Thread Michael David Crawford
I would be happy to build Lynx with the configuration of your heart's
desire.  Do you have any special requirements other than the external
command facility?  The current OS X or an old version?

Just now I'm working my way through wget, I'm going to provide a statically
linked build at http://soggywizard.com/ when it is ready, then later a
dynamically linked build with an installer.

I love MacPorts but it is beyond the comprehension of many.

Mike Crawford
http://mike.soggywizard.com/
mdcrawf...@gmail.com
(503) 688-8345

   One Must Not Trifle With Wizards For It Makes Us Soggy And Hard To Light.


-- 
Michael David Crawford, Consulting Software Engineer
mdcrawf...@gmail.com
http://www.warplife.com/mdc/

Every Deity Hath the Insight to Foretell the Future
Yet G-d Almighty Himself Possesseth Not the Power to Undo the Past.
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help with a port

2015-08-17 Thread Daniel J. Luke
> On Aug 17, 2015, at 4:18 PM, -  wrote:
> 
> 
> On asking how one registers to submit a ticket when there are no apparant 
> text entry fields to register when I attempted it at:
> 
> https://trac.macports.org/auth/login/?next=/newticket
> 
> A reply:
> 
>> Register link works fine here, you only need to enter a valid email address 
>> and desired password.  The login dialog looks almost identical to the 
>> registration dialog.
>> 
>> https://trac.macports.org/auth/register/ 
>> 
>> 
>> -Mike
> 
> This gave me a clue why it doesn't work for me using the lynx browser. Taking 
> a quick look under the hood for the html coding for that url found it uses 
> java script.  Lynx doesn't use java script, thus even the text fields to 
> register don't appear.
> 
> I'm a blind computer user who prefers lynx because it is a text only browser; 
> for obvious reasons.
> 
> The register function and any others at the macports site can be accomplished 
> using standard non-java coding.  Perhaps some thought should be given this.

I see both text fields when using both the lynx and links browsers (as provided 
by macports).

In fact, dumping the html for the register page (curl 
https://trac.macports.org/auth/register/) doesn’t show any apparent use of 
javascript in the form itself:


   
   
 Email:
Password:
 
 
 
 
   

as the above poster said, the form for 
https://trac.macports.org/auth/login/?next=/newticket is almost identical:

   
   
 Email:
Password:
 
 
 
 
   

I was able to log in and view the new ticket form with my macports 
username/password in both the lynx and links browsers.

--
Daniel J. Luke  
 
++  
  
| * dl...@geeklair.net * |  

| *-- http://www.geeklair.net -* |  

++  
  
|   Opinions expressed are mine and do not necessarily   |  

|  reflect the opinions of my employer.  |  

++



___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help with a port

2015-08-17 Thread -


On asking how one registers to submit a ticket when there are no apparant 
text entry fields to register when I attempted it at:


https://trac.macports.org/auth/login/?next=/newticket

A reply:

Register link works fine here, you only need to enter a valid email 
address and desired password.  The login dialog looks almost identical 
to the registration dialog.


https://trac.macports.org/auth/register/ 


-Mike


This gave me a clue why it doesn't work for me using the lynx browser. 
Taking a quick look under the hood for the html coding for that url found 
it uses java script.  Lynx doesn't use java script, thus even the text 
fields to register don't appear.


I'm a blind computer user who prefers lynx because it is a text only 
browser; for obvious reasons.


The register function and any others at the macports site can be 
accomplished using standard non-java coding.  Perhaps some thought should 
be given this.


XB
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help with a port

2015-08-15 Thread Michael Beasley

> On Aug 15, 2015, at 1:39 PM, -  wrote:
> 
> 
> I went to from the url given below:
> 
> https://trac.macports.org/auth/login/?next=/newticket 
> <https://trac.macports.org/auth/login/?next=/newticket>
> 
> As was mentioned at the url below, one needs to register to submit a ticket.  
> When selecting the "register" link at the url above it always brings me back 
> to the same page with no registration fields apparent.
> 
> How does one register, if not on that page where?
> 
> Thanks.
> 
> On Sat, 15 Aug 2015, Christopher Jones wrote:
> 
>> 
>>> On 15 Aug 2015, at 5:06pm, -  wrote:
>>> 
>>> 
>>> Where does one submit such a "ticket"?  Where is the "tracker" to be found
>> 
>> go to
>> 
>>> https://www.macports.org
>> 
>> then ?report a bug'
>> 
>>> On Sat, 15 Aug 2015, Ryan Schmidt wrote:
>>> 
>>>> On Aug 15, 2015, at 06:57, - wrote:
>>>>> 
>>>>> I'm fairely new to macports and have a question about the port of lynx 
>>>>> the browser.  I don't know if this is the place to enquire or if there is 
>>>>> perhaps someone who deals with the lynx port I should be asking.
>>>>> 
>>>>> There are two issues.  First there is a function available in lynx that 
>>>>> needs to be compiled in to work but isn't in the version from macports. 
>>>>> In short it is the ability to send commands external to lynx such as 
>>>>> another program or to the command line.  If one tries it a message 
>>>>> appears saying this function needs to be compiled in, which the info in 
>>>>> lynx.cfg confirms.
>>>> 
>>>> If that's so, then you should file a ticket in the issue tracker 
>>>> requesting we do this.
>>>> 
>>>> 
>>>>> Second, frequently lynx unloads with a "signal 11" error message.  This 
>>>>> happens most often first thing each day with the first attempt to access 
>>>>> an url on the internet.  Suddenly one is dumped back to the command line 
>>>>> with the above message.
>>>>> 
>>>>> Any help welcome, or a pointer to where it might be addressed more 
>>>>> specific to the lynx port individuals.
>>>> 
>>>> If a program crashes, OS X will have created a crash log; you can send 
>>>> that log to the developer of lynx and perhaps they can decipher it and 
>>>> figure out how to fix lynx so it doesn't crash anymore.
>>> 
>>> XB
>>> ___
>>> macports-users mailing list
>>> macports-users@lists.macosforge.org
>>> https://lists.macosforge.org/mailman/listinfo/macports-users
>> 
>> 
> 
> XB

Register link works fine here, you only need to enter a valid email address and 
desired password.  The login dialog looks almost identical to the registration 
dialog.

https://trac.macports.org/auth/register/ 
<https://trac.macports.org/auth/register/>

-Mike___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help with a port

2015-08-15 Thread -


I went to from the url given below:

https://trac.macports.org/auth/login/?next=/newticket

As was mentioned at the url below, one needs to register to submit a 
ticket.  When selecting the "register" link at the url above it always 
brings me back to the same page with no registration fields apparent.


How does one register, if not on that page where?

Thanks.

On Sat, 15 Aug 2015, Christopher Jones wrote:




On 15 Aug 2015, at 5:06pm, -  wrote:


Where does one submit such a "ticket"?  Where is the "tracker" to be found


go to


https://www.macports.org


then ?report a bug'


On Sat, 15 Aug 2015, Ryan Schmidt wrote:


On Aug 15, 2015, at 06:57, - wrote:


I'm fairely new to macports and have a question about the port of lynx the 
browser.  I don't know if this is the place to enquire or if there is perhaps 
someone who deals with the lynx port I should be asking.

There are two issues.  First there is a function available in lynx that needs 
to be compiled in to work but isn't in the version from macports. In short it 
is the ability to send commands external to lynx such as another program or to 
the command line.  If one tries it a message appears saying this function needs 
to be compiled in, which the info in lynx.cfg confirms.


If that's so, then you should file a ticket in the issue tracker requesting we 
do this.



Second, frequently lynx unloads with a "signal 11" error message.  This happens 
most often first thing each day with the first attempt to access an url on the internet.  
Suddenly one is dumped back to the command line with the above message.

Any help welcome, or a pointer to where it might be addressed more specific to 
the lynx port individuals.


If a program crashes, OS X will have created a crash log; you can send that log 
to the developer of lynx and perhaps they can decipher it and figure out how to 
fix lynx so it doesn't crash anymore.


XB
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users





XB
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help with a port

2015-08-15 Thread Christopher Jones

> On 15 Aug 2015, at 5:06pm, -  wrote:
> 
> 
> Where does one submit such a "ticket"?  Where is the "tracker" to be found

go to

> https://www.macports.org

then ‘report a bug'

> On Sat, 15 Aug 2015, Ryan Schmidt wrote:
> 
>> On Aug 15, 2015, at 06:57, - wrote:
>>> 
>>> I'm fairely new to macports and have a question about the port of lynx the 
>>> browser.  I don't know if this is the place to enquire or if there is 
>>> perhaps someone who deals with the lynx port I should be asking.
>>> 
>>> There are two issues.  First there is a function available in lynx that 
>>> needs to be compiled in to work but isn't in the version from macports. In 
>>> short it is the ability to send commands external to lynx such as another 
>>> program or to the command line.  If one tries it a message appears saying 
>>> this function needs to be compiled in, which the info in lynx.cfg confirms.
>> 
>> If that's so, then you should file a ticket in the issue tracker requesting 
>> we do this.
>> 
>> 
>>> Second, frequently lynx unloads with a "signal 11" error message.  This 
>>> happens most often first thing each day with the first attempt to access an 
>>> url on the internet.  Suddenly one is dumped back to the command line with 
>>> the above message.
>>> 
>>> Any help welcome, or a pointer to where it might be addressed more specific 
>>> to the lynx port individuals.
>> 
>> If a program crashes, OS X will have created a crash log; you can send that 
>> log to the developer of lynx and perhaps they can decipher it and figure out 
>> how to fix lynx so it doesn't crash anymore.
> 
> XB
> ___
> macports-users mailing list
> macports-users@lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help with a port

2015-08-15 Thread -


Where does one submit such a "ticket"?  Where is the "tracker" to be 
found?


On Sat, 15 Aug 2015, Ryan Schmidt wrote:


On Aug 15, 2015, at 06:57, - wrote:


I'm fairely new to macports and have a question about the port of lynx the 
browser.  I don't know if this is the place to enquire or if there is perhaps 
someone who deals with the lynx port I should be asking.

There are two issues.  First there is a function available in lynx that needs 
to be compiled in to work but isn't in the version from macports. In short it 
is the ability to send commands external to lynx such as another program or to 
the command line.  If one tries it a message appears saying this function needs 
to be compiled in, which the info in lynx.cfg confirms.


If that's so, then you should file a ticket in the issue tracker requesting we 
do this.



Second, frequently lynx unloads with a "signal 11" error message.  This happens 
most often first thing each day with the first attempt to access an url on the internet.  
Suddenly one is dumped back to the command line with the above message.

Any help welcome, or a pointer to where it might be addressed more specific to 
the lynx port individuals.


If a program crashes, OS X will have created a crash log; you can send that log 
to the developer of lynx and perhaps they can decipher it and figure out how to 
fix lynx so it doesn't crash anymore.


XB
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help with a port

2015-08-15 Thread Ryan Schmidt
On Aug 15, 2015, at 06:57, - wrote:
> 
> I'm fairely new to macports and have a question about the port of lynx the 
> browser.  I don't know if this is the place to enquire or if there is perhaps 
> someone who deals with the lynx port I should be asking.
> 
> There are two issues.  First there is a function available in lynx that needs 
> to be compiled in to work but isn't in the version from macports. In short it 
> is the ability to send commands external to lynx such as another program or 
> to the command line.  If one tries it a message appears saying this function 
> needs to be compiled in, which the info in lynx.cfg confirms.

If that's so, then you should file a ticket in the issue tracker requesting we 
do this. 


> Second, frequently lynx unloads with a "signal 11" error message.  This 
> happens most often first thing each day with the first attempt to access an 
> url on the internet.  Suddenly one is dumped back to the command line with 
> the above message.
> 
> Any help welcome, or a pointer to where it might be addressed more specific 
> to the lynx port individuals.

If a program crashes, OS X will have created a crash log; you can send that log 
to the developer of lynx and perhaps they can decipher it and figure out how to 
fix lynx so it doesn't crash anymore. 
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Help with a port

2015-08-15 Thread -


I'm fairely new to macports and have a question about the port of lynx the 
browser.  I don't know if this is the place to enquire or if there is 
perhaps someone who deals with the lynx port I should be asking.


There are two issues.  First there is a function available in lynx that 
needs to be compiled in to work but isn't in the version from macports. 
In short it is the ability to send commands external to lynx such as 
another program or to the command line.  If one tries it a message appears 
saying this function needs to be compiled in, which the info in lynx.cfg 
confirms.


Second, frequently lynx unloads with a "signal 11" error message.  This 
happens most often first thing each day with the first attempt to access 
an url on the internet.  Suddenly one is dumped back to the command line 
with the above message.


Any help welcome, or a pointer to where it might be addressed more 
specific to the lynx port individuals.


Thanks.
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help

2015-06-06 Thread Mihai Moldovan


On 05.06.2015 09:34 PM, René J.V. Bertin wrote:
> On Friday June 05 2015 15:27:49 Cheesy One wrote:
>> There's not much documentation on mama online.
> Try searching for *being a* mama. That should give you a few more hits O:-)

Please don't ever do this again. People can easily get offended and you have no
way to determine how easy that is - even when you supposed to make a joke only.

This gets worse when acknowledging the fact that this list is publicly available
and free for everyone to join. This especially includes people from different
cultures, which potentially could interpret a pun on typo as a very bad insult.

It goes without mention that behavior like this sheds a bad light on the project
and before you know MacPorts will be known as "that place slimy nerds twist
one's words and have fun on your expense for trivial mistakes."

We certainly do not want this.


I don't want to have to repeat this again. I had hoped the latest "friction
point" that lead to a whole upstream project ceasing cooperation with MacPorts
based on offense taught to handle situations generally with a bit more diplomacy
and respect for each other. Looks I was wrong after all.



Mihai





signature.asc
Description: OpenPGP digital signature
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help

2015-06-05 Thread René J . V . Bertin
On Friday June 05 2015 15:27:49 Cheesy One wrote:
>There's not much documentation on mama online.
Try searching for *being a* mama. That should give you a few more hits O:-)
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help

2015-06-05 Thread Ryan Schmidt

On Jun 5, 2015, at 2:27 PM, Cheesy One wrote:

> There's not much documentation on mama online. Macports seems to be asking to 
> install a different MySQL vice the name mode. I will use mamp as is and see 
> where it leads. Thanks for ur attempts to help!

Not sure what you mean by "use MAMP as is". "MAMP" stands for "Mac OS X, 
Apache, MySQL and PHP". There are many ways to install Apache, MySQL and PHP on 
OS X. Our MAMP wiki page describes a way to do it using MacPorts.

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help

2015-06-05 Thread Cheesy One
There's not much documentation on mama online. Macports seems to be asking
to install a different MySQL vice the name mode. I will use mamp as is and
see where it leads. Thanks for ur attempts to help!

On Thursday, June 4, 2015, Ryan Schmidt  wrote:

>
> On Jun 3, 2015, at 5:47 PM, Cheesy One wrote:
>
> > I am doing my best to install MAMP on my macbook pro running yosemite
> (10.10) . everywhere online it reads that it is absolutely simple to do.
> yet somehow I am running in issue after issue. I would really appreciate
> some broad guidance as to what might be causing so many problems.
> > Also this issue below to me from step 3 (mysql and php) is my current
> road block.
> >
> > I got a mysql_config file does not exist at:
> > /opt/local/bin/mysql_config.
> > I found it and copied to :
> > /opt/local/bin/mysql_config
>
> Please undo that. You should not copy mysql_config to /opt/local/bin;
> instead, you should create a symlink to it. That would have been done for
> you by performing the "port select" step documented here:
>
> https://trac.macports.org/wiki/howto/MySQL#Step2:Createadatabase
>
>
>

-- 
Rodney Odom

Phone: +1 215 840 2176

email: doubleburger...@gmail.com
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help

2015-06-04 Thread Ryan Schmidt

On Jun 3, 2015, at 5:47 PM, Cheesy One wrote:

> I am doing my best to install MAMP on my macbook pro running yosemite (10.10) 
> . everywhere online it reads that it is absolutely simple to do. yet somehow 
> I am running in issue after issue. I would really appreciate some broad 
> guidance as to what might be causing so many problems. 
> Also this issue below to me from step 3 (mysql and php) is my current road 
> block.
> 
> I got a mysql_config file does not exist at:
> /opt/local/bin/mysql_config.
> I found it and copied to :
> /opt/local/bin/mysql_config

Please undo that. You should not copy mysql_config to /opt/local/bin; instead, 
you should create a symlink to it. That would have been done for you by 
performing the "port select" step documented here:

https://trac.macports.org/wiki/howto/MySQL#Step2:Createadatabase


___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help

2015-06-03 Thread Fernando Rodriguez
On Wednesday, June 03, 2015 6:47:29 PM Cheesy One wrote:
> I am doing my best to install MAMP on my macbook pro running yosemite
> (10.10) . everywhere online it reads that it is absolutely simple to do.
> yet somehow I am running in issue after issue. I would really appreciate
> some broad guidance as to what might be causing so many problems.
> Also this issue below to me from step 3 (mysql and php) is my current road
> block.
> 
> I got a mysql_config file does not exist at:
> 
> /opt/local/bin/mysql_config.
> 
> I found it and copied to :
> 
> /opt/local/bin/mysql_config
> 
> 
> I ran step 3:
> Step 3: MySQL setup for PHP for (MAMP)
> 
> and my The "grep" check is returning this :
> 
> default_socket_timeout = 60
> pdo_mysql.default_socket=/tmp/mysql.sock
> mysql.default_socket=/tmp/mysql.sock
> mysqli.default_socket=/tmp/mysql.sock
> DevHost:php56 root#
> 
> 
> and according to the instructions it is supposed to be:
> 
> pdo_mysql.default_socket=/opt/local/var/run/mysql56/mysqld.sock
> mysql.default_socket=/opt/local/var/run/mysql56/mysqld.sock
> mysqli.default_socket=/opt/local/var/run/mysql56/mysqld.sock

I just followed the howto. I installed the following packages:
apache2
mysql56
php56
php56-apache2handler

On step 3 I changed it to (just paste it to a shell script and run it as 
root):

cd /opt/local/etc/php56
cp php.ini php.ini.bak
#cp php.ini-production php.ini
defSock=$(/opt/local/lib/mysql56/bin/mysql_config --socket)
cat php.ini | sed \
  -e "s#pdo_mysql\.default_socket.*#pdo_mysql\.default_socket=${defSock}#" \
  -e "s#mysql\.default_socket.*#mysql\.default_socket=${defSock}#" \
  -e "s#mysqli\.default_socket.*#mysqli\.default_socket=${defSock}#" > tmp.ini
grep default_socket tmp.ini  # Check it! 
mv tmp.ini php.ini

I commented line 3 for you since it looks like you already have a php.ini. The 
problem you're having is that mysql_config is not installed to /opt/local/bin 
but to /opt/local/lib/mysql56/bin

And delete the mysql_config that you copied from /usr/bin first. You should not 
change anything on /opt/local except config files unless you really know what 
you're doing.

-- 
Fernando Rodriguez

signature.asc
Description: This is a digitally signed message part.
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help

2015-06-03 Thread Brandon Allbery
On Wed, Jun 3, 2015 at 6:47 PM, Cheesy One 
wrote:

> I found it and copied to :
>
> /opt/local/bin/mysql_config
>
>
That sounds like you may have found one that is not actually customized for
MacPorts, but has upstream defaults.

Beyond that, I don't have any version of mysql installed (aside from
possibly Apple's) and couldn't say.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Help

2015-06-03 Thread Cheesy One
I am doing my best to install MAMP on my macbook pro running yosemite
(10.10) . everywhere online it reads that it is absolutely simple to do.
yet somehow I am running in issue after issue. I would really appreciate
some broad guidance as to what might be causing so many problems.
Also this issue below to me from step 3 (mysql and php) is my current road
block.

I got a mysql_config file does not exist at:

/opt/local/bin/mysql_config.

I found it and copied to :

/opt/local/bin/mysql_config


I ran step 3:
Step 3: MySQL setup for PHP for (MAMP)

and my The "grep" check is returning this :

default_socket_timeout = 60
pdo_mysql.default_socket=/tmp/mysql.sock
mysql.default_socket=/tmp/mysql.sock
mysqli.default_socket=/tmp/mysql.sock
DevHost:php56 root#


and according to the instructions it is supposed to be:

pdo_mysql.default_socket=/opt/local/var/run/mysql56/mysqld.sock
mysql.default_socket=/opt/local/var/run/mysql56/mysqld.sock
mysqli.default_socket=/opt/local/var/run/mysql56/mysqld.sock


-- 
Rodney Odom

Phone: +1 215 840 2176

email: doubleburger...@gmail.com
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help

2015-06-03 Thread Cheesy One
Okay, I restored the back-single quotes. Then I got a mysql_config file
does not existat:

/opt/local/bin/mysql_config.

I found it and copied to :

/opt/local/bin/mysql_config


I ran step 3:
Step 3: MySQL setup for PHP for (MAMP)

and my The "grep" check should return was:

default_socket_timeout = 60
pdo_mysql.default_socket=/tmp/mysql.sock
mysql.default_socket=/tmp/mysql.sock
mysqli.default_socket=/tmp/mysql.sock
DevHost:php56 root#


and according to the instructions it is supposed to be:

pdo_mysql.default_socket=/opt/local/var/run/mysql56/mysqld.sock
mysql.default_socket=/opt/local/var/run/mysql56/mysqld.sock
mysqli.default_socket=/opt/local/var/run/mysql56/mysqld.sock

And help would be useful I am sure...

On Wed, Jun 3, 2015 at 10:44 AM, Brandon Allbery 
wrote:

>
> On Wed, Jun 3, 2015 at 10:39 AM, Cheesy One 
> wrote:
>
>> as a grep check return. Instead I get this:
>>
>> default_socket_timeout = 60
>> pdo_mysql.default_socket=/opt/local/bin/mysql_config --socket
>> mysql.default_socket=/opt/local/bin/mysql_config --socket
>> mysqli.default_socket=/opt/local/bin/mysql_config --socket
>>
>
> You used single quotes (') instead of backquotes (`) in
>
> # defSock=`/opt/local/bin/mysql_config --socket`
>
> The backquote form is actually obsolete, in part because of this
> confusion. Do step 3 again, but replace the above (line 4 of step 3) with:
>
> # defSock=$(/opt/local/bin/mysql_config --socket)
>
> --
> brandon s allbery kf8nh   sine nomine
> associates
> allber...@gmail.com
> ballb...@sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad
> http://sinenomine.net
>



-- 
Rodney Odom

Phone: +1 215 840 2176

email: doubleburger...@gmail.com
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help

2015-06-03 Thread Brandon Allbery
On Wed, Jun 3, 2015 at 10:39 AM, Cheesy One 
wrote:

> as a grep check return. Instead I get this:
>
> default_socket_timeout = 60
> pdo_mysql.default_socket=/opt/local/bin/mysql_config --socket
> mysql.default_socket=/opt/local/bin/mysql_config --socket
> mysqli.default_socket=/opt/local/bin/mysql_config --socket
>

You used single quotes (') instead of backquotes (`) in

# defSock=`/opt/local/bin/mysql_config --socket`

The backquote form is actually obsolete, in part because of this confusion.
Do step 3 again, but replace the above (line 4 of step 3) with:

# defSock=$(/opt/local/bin/mysql_config --socket)

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Help

2015-06-03 Thread Cheesy One
Macbook Pro, running os x yosemite. Installing Apache web server, PHP and
MySql using Macports.

In step 3 of the instructions, I was suppose to get this:

pdo_mysql.default_socket=/opt/local/var/run/mysql56/mysqld.sock
mysql.default_socket=/opt/local/var/run/mysql56/mysqld.sock
mysqli.default_socket=/opt/local/var/run/mysql56/mysqld.sock


as a grep check return. Instead I get this:

default_socket_timeout = 60
pdo_mysql.default_socket=/opt/local/bin/mysql_config --socket
mysql.default_socket=/opt/local/bin/mysql_config --socket
mysqli.default_socket=/opt/local/bin/mysql_config --socket


I feel I am doing a pretty good job of following the instructions for

Step 3: MySQL setup for PHP

from the


https://trac.macports.org/wiki/howto/MAMP


there's not much online to explain this (unless you know the inside and out
of setting this up) which is what I was trying to avoid by using macports.
Any help would be appreciated


-- 
Rodney Odom

Phone: +1 215 840 2176

email: doubleburger...@gmail.com
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help setting up apache, php, mysql (was: Re: HELP)

2015-06-02 Thread Marius Schamschula

On Jun 2, 2015, at 9:22 AM, Ryan Schmidt  wrote:

> On Jun 2, 2015, at 7:59 AM, Cheesy One wrote:
>> 
>> I am using a macbook pro running os x yosemite (10.10). I am setting up a 
>> local developer environment using macports. in trying to simplify the 
>> installation of soctware i decided to try and use macports for apache 2.4, 
>> php 5.5 and mysql, i seem to have gotten stuck. My apache  installation went 
>> properly at first. but no i am trying to set up a virtual host environment 
>> to be located in a folder in my desktop. and after 8 hours of fiddling with 
>> various recommendation s from online, i have discovered that my webbrowser 
>> is not recognizing my macports configuration file. that is httpd.conf. 
>> 
>> it only seems to recognized the file previously installed by apple. As you 
>> already know yosemite ships with php and apache. 
>> 
>> how do i get the laptop to point to the correct httpd.conf file? there are 
>> two...one installed by apple and one by macports.
> 
> Apache 2.4 in MacPorts is still unfinished, which is why the port name is 
> "apache24-devel" -- the "-devel" suffix means it is a development version, 
> beta version, or otherwise untested or potentially unstable.
> 
> There are no PHP ports that will use MacPorts apache24-devel. See 
> https://trac.macports.org/ticket/41478
> 
> At this time, I recommend sticking with the apache2 port. The 
> php55-apache2handler port works with it.
> 
> The pages linked from https://trac.macports.org/wiki/howto/MAMP should 
> describe how to set this up correctly. There is nothing to do or configure to 
> get MacPorts apache2 to know where its httpd.conf file is; it knows how to 
> find it from the moment it's installed. I can only think that perhaps you 
> have not stopped your Apple Apache server, and that therefore the MacPorts 
> Apache server isn't running at all. The Apache2 page linked form the MAMP 
> page shows how to deal with that too.

I’ve been building and running a local copy of php56-apache2handler against 
apache24-devel for over a year now. No problems. Apache has considered apache 
2.4.x as the stable branch for quite some time.

My current patches are for php56-apache2handler are at

http://git.hmug.org/index.php/ports/tree/master/lang/php/

I do agree with Ryan that the MacPorts version of apache24-devel is not prime 
time yet, as the Portfile needs some clean up before it can replace apache2.

Marius
--
Marius Schamschula




___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help setting up apache, php, mysql (was: Re: HELP)

2015-06-02 Thread Ryan Schmidt
On Jun 2, 2015, at 7:59 AM, Cheesy One wrote:
> 
> I am using a macbook pro running os x yosemite (10.10). I am setting up a 
> local developer environment using macports. in trying to simplify the 
> installation of soctware i decided to try and use macports for apache 2.4, 
> php 5.5 and mysql, i seem to have gotten stuck. My apache  installation went 
> properly at first. but no i am trying to set up a virtual host environment to 
> be located in a folder in my desktop. and after 8 hours of fiddling with 
> various recommendation s from online, i have discovered that my webbrowser is 
> not recognizing my macports configuration file. that is httpd.conf. 
> 
> it only seems to recognized the file previously installed by apple. As you 
> already know yosemite ships with php and apache. 
> 
> how do i get the laptop to point to the correct httpd.conf file? there are 
> two...one installed by apple and one by macports.

Apache 2.4 in MacPorts is still unfinished, which is why the port name is 
"apache24-devel" -- the "-devel" suffix means it is a development version, beta 
version, or otherwise untested or potentially unstable.

There are no PHP ports that will use MacPorts apache24-devel. See 
https://trac.macports.org/ticket/41478

At this time, I recommend sticking with the apache2 port. The 
php55-apache2handler port works with it.

The pages linked from https://trac.macports.org/wiki/howto/MAMP should describe 
how to set this up correctly. There is nothing to do or configure to get 
MacPorts apache2 to know where its httpd.conf file is; it knows how to find it 
from the moment it's installed. I can only think that perhaps you have not 
stopped your Apple Apache server, and that therefore the MacPorts Apache server 
isn't running at all. The Apache2 page linked form the MAMP page shows how to 
deal with that too.


___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: HELP

2015-06-02 Thread Jeremy Lavergne
If Apple apache config file is overriding the macports one, that means the 
apple one is actually running.

Step One of getting a LAMP stack going is to shut off the Apple version:
https://trac.macports.org/wiki/howto/Apache2
https://trac.macports.org/wiki/howto/MAMP

On Jun 2, 2015, at 8:59 AM, Cheesy One wrote:

> I am using a macbook pro running os x yosemite (10.10). I am setting up a 
> local developer environment using macports. in trying to simplify the 
> installation of soctware i decided to try and use macports for apache 2.4, 
> php 5.5 and mysql, i seem to have gotten stuck. My apache  installation went 
> properly at first. but no i am trying to set up a virtual host environment to 
> be located in a folder in my desktop. and after 8 hours of fiddling with 
> various recommendation s from online, i have discovered that my webbrowser is 
> not recognizing my macports configuration file. that is httpd.conf. 
> 
> it only seems to recognized the file previously installed by apple. As you 
> already know yosemite ships with php and apache. 
> 
> how do i get the laptop to point to the correct httpd.conf file? there are 
> two...one installed by apple and one by macports.

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


HELP

2015-06-02 Thread Cheesy One
I am using a macbook pro running os x yosemite (10.10). I am setting up a
local developer environment using macports. in trying to simplify the
installation of soctware i decided to try and use macports for apache 2.4,
php 5.5 and mysql, i seem to have gotten stuck. My apache  installation
went properly at first. but no i am trying to set up a virtual host
environment to be located in a folder in my desktop. and after 8 hours of
fiddling with various recommendation s from online, i have discovered that
my webbrowser is not recognizing my macports configuration file. that is
httpd.conf.

it only seems to recognized the file previously installed by apple. As you
already know yosemite ships with php and apache.

how do i get the laptop to point to the correct httpd.conf file? there are
two...one installed by apple and one by macports.

thanx.

-- 
Rodney Odom

Phone: +1 215 840 2176

email: doubleburger...@gmail.com
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: OT probably, help please (fwd)

2015-01-22 Thread Dave Horsfall
Oops; this was meant foe the list...

-- 
Dave Horsfall DTM (VK2KFU)  "Bliss is a MacBook with a FreeBSD server."
http://www.horsfall.org/spam.html (and check the home page whilst you're there)

-- Forwarded message --
Date: Fri, 23 Jan 2015 15:11:06 +1100 (EST)
From: Dave Horsfall 
To: René J.V. Bertin 
Subject: Re: OT probably, help please

Someone mentioned "launchd.info" (and I daftly deleted the message).  
Does it look as wonky for others as it does for me?  I'm using Firefox 
35.0 (haven't tried others, as the last time I did it buggered up a few 
things) and I get, in the top half, a static window with some sort of an 
index and a silhouette of something looking like a watering can, with a 
full-screen scrolling window under it.

-- 
Dave Horsfall DTM (VK2KFU)  "Bliss is a MacBook with a FreeBSD server."
http://www.horsfall.org/spam.html (and check the home page whilst you're there)___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: OT probably, help please

2015-01-22 Thread René J . V . Bertin
On Friday January 23 2015 08:56:31 James Linder wrote:

> smartctl -a gives zillions of errors eg

>   7 Seek_Error_Rate 0x000f   081   060   030Pre-fail  Always  
>  -   147598082
> 195 Hardware_ECC_Recovered  0x001a   038   025   000Old_age   Always  
>  -   183829319

A zillion is a bit over the top: I see only these 2 indicators that catch 
attention, but without knowing the disk model it's hard to interpret the data. 
port:gsmartcontrol can help with that, btw.

Bad sectors aren't necessarily detected and recorded on the fly, though. I 
always forget if the get stored (and remapped) during the 1st extensive 
self-test after a full disk write or if it's the other way round (last time I 
had to cope with one was about 10y ago) but in your case a full rewrite may not 
be required as long as the disk doesn't spin down after the last error and the 
self test.

Good luck,
R.
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: OT probably, help please

2015-01-22 Thread James Linder

> On 23 Jan 2015, at 12:42 am, William H. Magill  wrote:
> 
>>> I cannot explain why a (normally) rational, sane thinking idiot did not 
>>> make that his first port of call (beautifully synced)
>>> 
>>> Jan 21 00:04:34 haycorn kernel[0]: disk0s2: I/O error.
>>> 
>>> Thanks everybody, and sorry for being an idiot
>> 
>> I wouldn't immediately think about disk i/o errors either from the symptoms 
>> you described (not for short freezes in anyway). Not with an hdd anyway.
>> What's in your logs around those I/O error messages, and what do the 
>> smartmontools (in MacPorts) tell about the disk's health? smartctl -a 
>> /dev/disk0 and do run smartctl -t long /dev/disk0 (disabling disk spin down 
>> for the duration of the test as that would interrupt it)?
>> 
>> A bit too many reports of comparable symptoms in 10.9 somehow related to 
>> disk I/O errors for my comfort zone. OS X wouldn't be doing something low 
>> level that somehow stresses the disk hardware I hope?

I confess to bias suspecting yosemite before anything else!
smartctl -a gives zillions of errors eg

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE  UPDATED  
WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x000e   078   077   006Old_age   Always   
-   183829319
  3 Spin_Up_Time0x0003   100   100   000Pre-fail  Always   
-   0
  4 Start_Stop_Count0x0032   099   099   020Old_age   Always   
-   1749
  5 Reallocated_Sector_Ct   0x0033   100   100   036Pre-fail  Always   
-   0
  7 Seek_Error_Rate 0x000f   081   060   030Pre-fail  Always   
-   147598082
  9 Power_On_Hours  0x0032   078   078   000Old_age   Always   
-   19827
 10 Spin_Retry_Count0x0013   100   100   097Pre-fail  Always   
-   0
 12 Power_Cycle_Count   0x0032   099   099   020Old_age   Always   
-   1505
184 End-to-End_Error0x0032   100   100   099Old_age   Always   
-   0
187 Reported_Uncorrect  0x0032   001   001   000Old_age   Always   
-   34330
188 Command_Timeout 0x0032   100   100   000Old_age   Always   
-   0
189 High_Fly_Writes 0x003a   099   099   000Old_age   Always   
-   1
190 Airflow_Temperature_Cel 0x0022   058   040   045Old_age   Always   
In_the_past 42 (3 248 42 24 0)
194 Temperature_Celsius 0x0022   042   060   000Old_age   Always   
-   42 (0 16 0 0 0)
195 Hardware_ECC_Recovered  0x001a   038   025   000Old_age   Always   
-   183829319
197 Current_Pending_Sector  0x0012   100   100   000Old_age   Always   
-   2
198 Offline_Uncorrectable   0x0010   100   100   000Old_age   Offline  
-   2
199 UDMA_CRC_Error_Count0x003e   200   200   000Old_age   Always   
-   0

James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: OT probably, help please

2015-01-22 Thread Brandon Allbery
On Thu, Jan 22, 2015 at 2:26 PM, René J.V.  wrote:

> Oh wait, but you're running FreeBSD on it ... O:-)


I read "MacBook with a FreeBSD *server*". I used to run that kind of setup
myself (and am trying to scrounge hardware to do so again...).

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: OT probably, help please

2015-01-22 Thread René J . V . Bertin
On Friday January 23 2015 05:53:21 Dave Horsfall wrote:

> Hmmm...  I just tried SMART on my drive, but being an external USB drive 
> (long story) it's not supported, so...

Did you try with the SATSMARTDriver I linked to in my previous post?

> I have been seeing slow performance lately; I bought the MacBook early in
> 2010, but it's a late 2009 model.  I wonder?

A late 2009 model can probably no longer be considered fast; if you've upgraded 
to 10.9 or even 10.10 I'd not exclude the possibility that it's simply 
surpassed by a certain number of new features...
Oh wait, but you're running FreeBSD on it ... O:-)

R
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: OT probably, help please

2015-01-22 Thread Dave Horsfall
On Thu, 22 Jan 2015, William H. Magill wrote:

> After a tremendous amount of effort on the part of numerous kernel 
> programmers at DEC, they discovered that the bottom level BSD I/O 
> modules had not been "looked at" (literally) since PDP days. Disk I/O 
> was being done in 128 byte blocks.

You sure abut this?  My memory of the PDP days (ye olde 11/40) was that 
I/O was the same as the disk sector i.e. 512 bytes; this was V5/V6/V7 
Unix.

> One thing which I noticed immediately when I turned on iCloud disk in 
> Yosemite -- the "lag" involved with launching any program which stored 
> anything "in the cloud." Not unexpected, but significant none the less.

I've never bothered with iCloud; I don't store much stuff anyway (see my 
signature), and it all gets backed up to my Time Capsule.

> Similarly, I had a problem where my internal hard drive would literally 
> not spin-up. Took the iMac in to the Apple Store and they ran their 
> diagnostics and pronounced nothing wrong -- the tests passed with flying 
> colors!
> 
> I finally convinced them that the drive was not spinning up and they got 
> a tech to come out front who had a stethoscope and instantly verified 
> that the drive was not spinning.

Didn't they see the dreaded question mark on booting up?

> I've seen too many cases related to both BSD (and later Mach, i.e. NeXT 
> and OSX) where much of the hardware level "stuff" is completely ignored 
> by any of the upper-level reporting software. -- one of the main reasons 
> why Drive manufacturers developed S.M.A.R.T. -- the OS does not do the 
> job.

Hmmm...  I just tried SMART on my drive, but being an external USB drive 
(long story) it's not supported, so...

> In my experience, by the time the OS flags a Disk error, you have been 
> suffering constant performance degrading failures which are simply below 
> the "reporting threshold", for quite some time.

I have been seeing slow performance lately; I bought the MacBook early in 
2010, but it's a late 2009 model.  I wonder?

-- 
Dave Horsfall DTM (VK2KFU)  "Bliss is a MacBook with a FreeBSD server."
http://www.horsfall.org/spam.html (and check the home page whilst you're there)
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: OT probably, help please

2015-01-22 Thread René J . V . Bertin
On Thursday January 22 2015 11:05:02 Brandon Allbery wrote:

> I think there are a lot of things one can do that can have the side effect
> of pushing the boundaries of hardware (this includes things like
> compression).

Compression? Depending on what kind and the application, it can also shift the 
burden from (mechanical) peripheral hardware to the CPU.

> Not to mention things like SSD where you are explicitly
> trading lifetime for performance.

Indeed.

> Searching for reasons to believe it's
> just to drive obsolescence isn't particularly fruitful, unless you consider
> paranoia an end in itself.

Oh, I'm not. But I also don't believe in the contrary, i.e. avoiding things 
that give debatable (performance) gains at the detriment of longevity.

> I've seen too many cases related to both BSD (and later Mach, i.e. NeXT and
> OSX) where much of the hardware level "stuff" is completely ignored by any
> of the upper-level reporting software. -- one of the main reasons why Drive
> manufacturers developed S.M.A.R.T. -- the OS does not do the job.

FYI: still doesn't properly, BTW - OS X does not provide SMART status for 
external drives, unless you install an additional kext:
https://github.com/kasbert/OS-X-SAT-SMART-Driver .
But SMART status isn't everything: I've already had issues with a drive or 2 
where SMART considered the drive to be fine while it most definitely wasn't.

William: remember the Quantum harddrives that you had to help spin up when they 
reached a certain age? Other than that they were virtually indestructible :)

R

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: OT probably, help please

2015-01-22 Thread William H. Magill

> On Jan 22, 2015, at 4:29 AM, René J.V. Bertin  wrote:
> 
> On Thursday January 22 2015 08:56:25 James Linder wrote:
> 
>> I cannot explain why a (normally) rational, sane thinking idiot did not make 
>> that his first port of call (beautifully synced)
>> 
>> Jan 21 00:04:34 haycorn kernel[0]: disk0s2: I/O error.
>> 
>> Thanks everybody, and sorry for being an idiot
> 
> I wouldn't immediately think about disk i/o errors either from the symptoms 
> you described (not for short freezes in anyway). Not with an hdd anyway.
> What's in your logs around those I/O error messages, and what do the 
> smartmontools (in MacPorts) tell about the disk's health? smartctl -a 
> /dev/disk0 and do run smartctl -t long /dev/disk0 (disabling disk spin down 
> for the duration of the test as that would interrupt it)?
> 
> A bit too many reports of comparable symptoms in 10.9 somehow related to disk 
> I/O errors for my comfort zone. OS X wouldn't be doing something low level 
> that somehow stresses the disk hardware I hope?

Long ago in the days of Ultrix, there were some massive parts of the low-level 
disk-i/o that never saw the light of day.
(Ultrix from DEC being a direct BSD clone.)
None of the hardware level routines were addressed by any of the "accounting 
routines." Made performance look good, but debugging impossible.

Performance was unexplaninedly lower than the new hardware predicted.
After a tremendous amount of effort on the part of numerous kernel programmers 
at DEC, they discovered that the bottom level BSD I/O modules had not been 
"looked at" (literally) since PDP days. Disk I/O was being done in 128 byte 
blocks.
The new hardware had 4096 byte tracks. 
Calculate how many I/Os were required to write a single track!
Increasing the basic block size dramatically cut down on the number of I/Os and 
their consequent overhead - performance improvement was dramatic.

One thing which I noticed immediately when I turned on iCloud disk in Yosemite 
-- the "lag" involved with launching any program which stored anything "in the 
cloud."
Not unexpected, but significant none the less.

Similarly, I had a problem where my internal hard drive would literally not 
spin-up. 
Took the iMac in to the Apple Store and they ran their diagnostics and 
pronounced nothing wrong -- the tests passed with flying colors!

I finally convinced them that the drive was not spinning up and they got a tech 
to come out front who had a stethoscope and instantly verified that the drive 
was not spinning.

I've seen too many cases related to both BSD (and later Mach, i.e. NeXT and 
OSX) where much of the hardware level "stuff" is completely ignored by any of 
the upper-level reporting software. -- one of the main reasons why Drive 
manufacturers developed S.M.A.R.T. -- the OS does not do the job.

In my experience, by the time the OS flags a Disk error, you have been 
suffering constant performance degrading failures which are simply below the 
"reporting threshold", for quite some time.


T.T.F.N.
William H. Magill

mag...@icloud.com
mag...@mac.com
whmag...@gmail.com








___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: OT probably, help please

2015-01-22 Thread Brandon Allbery
On Thu, Jan 22, 2015 at 11:02 AM, René J.V.  wrote:

> And yes, I do keep in mind that Apple has reasons to drive sales and
> incite people to buy new hardware and is probably not above tactics that
> decrease a product's theoretical lifetime.


I think there are a lot of things one can do that can have the side effect
of pushing the boundaries of hardware (this includes things like
compression). Not to mention things like SSD where you are explicitly
trading lifetime for performance. Searching for reasons to believe it's
just to drive obsolescence isn't particularly fruitful, unless you consider
paranoia an end in itself.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: OT probably, help please

2015-01-22 Thread René J . V . Bertin
On Thursday January 22 2015 09:40:28 Brandon Allbery wrote:

> Just for one example (in the area of "complex systems"): HFS+'s hot file
> support is the sort of thing that can exacerbate failing disks... and the
> effect would get worse with certain kinds of changes to what files are
> "hot", which might well cause it to become more evident in a newer OS
> version.

I don't know if the hot file feature is what I was thinking with low level 
operations, but yes, it is something that could exacerbate failing disk by 
concentration frequent read/writes on a specific part of the disk.

> again it'll be too late to save your data. (Yes, yes, have backups ---
> guess what? Backups will *also* make this more obvious. So do you also

I guess you mean full backups which are a way of testing the entire set of 
sectors in use?

> disable backups because "they trigger disk errors"?)

What did you think I was suggesting?

I wasn't. I was asking.
And yes, I do keep in mind that Apple has reasons to drive sales and incite 
people to buy new hardware and is probably not above tactics that decrease a 
product's theoretical lifetime.

R.
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: OT probably, help please

2015-01-22 Thread Brandon Allbery
On Thu, Jan 22, 2015 at 4:29 AM, René J.V.  wrote:

> I wouldn't immediately think about disk i/o errors either from the
> symptoms you described (not for short freezes in anyway). Not with an hdd
> anyway.


I would --- but that may be because I've seen it in action (most closely
related to this thread: freezes like that led me to discover that the HD in
my old iBook was kaput).

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: OT probably, help please

2015-01-22 Thread Brandon Allbery
On Thu, Jan 22, 2015 at 4:29 AM, René J.V.  wrote:

> A bit too many reports of comparable symptoms in 10.9 somehow related to
> disk I/O errors for my comfort zone. OS X wouldn't be doing something low
> level that somehow stresses the disk hardware I hope?


Just for one example (in the area of "complex systems"): HFS+'s hot file
support is the sort of thing that can exacerbate failing disks... and the
effect would get worse with certain kinds of changes to what files are
"hot", which might well cause it to become more evident in a newer OS
version.

And I don't think the right answer here is "simplify" because that just
covers up the fact that it's failing, ensuring that when it becomes obvious
again it'll be too late to save your data. (Yes, yes, have backups ---
guess what? Backups will *also* make this more obvious. So do you also
disable backups because "they trigger disk errors"?)

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: OT probably, help please

2015-01-21 Thread James Linder

> On 22 Jan 2015, at 4:00 am, macports-users-requ...@lists.macosforge.org wrote:
> 
>> 
>> change mail from one entry to another: wheel turns for 10-20 seconds then 
>> all is normal including change topic (repeat previous selection).
>> firefox:youtube watch a clip, midway stops playing and wheel turns for 5-10 
>> seconds before resuming
>> 
>> Thinking this may be a DNS issue I ran wireshark. wiresharks stops while 
>> wheel is turning!
>> 
>> system-monitor shows no (just got the wheel for 5 secs, no response to 
>> usb-keyboard nothing interesting on system-monitor) sys-monitor (pause 
>> again!) ticks every 5 secs even during wheel turning.
>> 
> 
> What do you see in the system.log when (or after...) one of those "wheelies"? 
> Do you have power napping and what have you active?
> 
> Did you use a 10.10 public beta and upgrade to the release version without 
> doing a clean install?
> 
> I *hate* the app nap and sudden termination features that were introduced in 
> 10.9 (it appears they actually experimented with app nap based on 
> SIGSTOP/SIGCONT ...), and am not really glad with the memory compression 
> features either. There's a defaults command to turn off app nap which I'd 
> advise for anyone rarely if ever running off a battery, but I have no idea 
> about tweaking that memory compression thing. And that's almost certainly 
> bound to slow down operation in a more continuous fashion than traditional 
> swap.


I cannot explain why a (normally) rational, sane thinking idiot did not make 
that his first port of call (beatifully synced)

Jan 21 00:04:34 haycorn kernel[0]: disk0s2: I/O error.

Thanks everybody, and sorry for being an idiot
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: OT probably, help please

2015-01-21 Thread James Linder

> On 21 Jan 2015, at 2:38 pm, William H. Magill  wrote:
> 
> 
>> On Jan 20, 2015, at 10:28 PM, James Linder  wrote:
>> 
>> G’day
>> The other day I reported that gnuplot had suddenly stopped working with term 
>> x11 but worked with term aqua.
>> Maybe it was just slow !
>> I have an issue where the system has (suddenly) become very slow …
>> 
>> iMac 27 top:cpu free 99 ish %
>> system-monitor also shows cpu cores at 0% busy
>> men free 8G
>> df 50 ish %
>> yosemite
>> 
>> change mail from one entry to another: wheel turns for 10-20 seconds then 
>> all is normal including change topic (repeat previous selection).
>> firefox:youtube watch a clip, midway stops playing and wheel turns for 5-10 
>> seconds before resuming
>> 
>> Thinking this may be a DNS issue I ran wireshark. wiresharks stops while 
>> wheel is turning!
>> 
>> system-monitor shows no (just got the wheel for 5 secs, no response to 
>> usb-keyboard nothing interesting on system-monitor) sys-monitor (pause 
>> again!) ticks every 5 secs even during wheel turning.
>> 
>> This seems unrelated to macports. Time machine is on an external USB disk 
>> and scheduled to run now (another pause checks:TM disk definitly NOT busy)
>> 
>> So before I nuke this install, any ideas gratefully acceped
>> James 
>> ___
> 
> Sounds like issues with Anti-malware virus programs. 
> The ones that insert themselves into your tcp/ip data stream to examine all 
> of your traffic so that you don't' download "bad stuff."
> 
> I had to shut off thtat processing in Sophos because it had gotten so bad 
> (i.e. taking FOREVER to load any program that talked to the internet.)
> 
> That was a "sudden" change in how Sophos was working. At first I thought it 
> was  simply because I had turned on the iCloud drive (which does impact 
> things).
> But after a lot of trial and no-luck turned off the option in Sophos.
> 
> Long ago I had tried Avast! and discovered that it's anti-malware was simply 
> horrible in what it did to a Mac.

BSD and linux are pretty much of a muchness here. There are no malware or 
virus’ for either so I don’t do anti-virus, hence it’s not that. Thanks too to 
Jeremy it does not look like appnap stuff. (but it could be)

The whole virus scenario is messy. It has been demonstrated as proof of 
concept. Apple’s forray into Konqueror oops I mean Safari is an example of how 
to do it wrong. You basically don’t need to protect your mac, but someone may 
find a weak spot. Will anti-virus save you? $1,000,000 question.

Meanwhile I s-s-st-stu-stutter along debating nuking this whole install …
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: OT probably, help please

2015-01-20 Thread William H. Magill

> On Jan 20, 2015, at 10:28 PM, James Linder  wrote:
> 
> G’day
> The other day I reported that gnuplot had suddenly stopped working with term 
> x11 but worked with term aqua.
> Maybe it was just slow !
> I have an issue where the system has (suddenly) become very slow …
> 
> iMac 27 top:cpu free 99 ish %
> system-monitor also shows cpu cores at 0% busy
> men free 8G
> df 50 ish %
> yosemite
> 
> change mail from one entry to another: wheel turns for 10-20 seconds then all 
> is normal including change topic (repeat previous selection).
> firefox:youtube watch a clip, midway stops playing and wheel turns for 5-10 
> seconds before resuming
> 
> Thinking this may be a DNS issue I ran wireshark. wiresharks stops while 
> wheel is turning!
> 
> system-monitor shows no (just got the wheel for 5 secs, no response to 
> usb-keyboard nothing interesting on system-monitor) sys-monitor (pause 
> again!) ticks every 5 secs even during wheel turning.
> 
> This seems unrelated to macports. Time machine is on an external USB disk and 
> scheduled to run now (another pause checks:TM disk definitly NOT busy)
> 
> So before I nuke this install, any ideas gratefully acceped
> James 
> ___

Sounds like issues with Anti-malware virus programs. 
The ones that insert themselves into your tcp/ip data stream to examine all of 
your traffic so that you don't' download "bad stuff."

I had to shut off thtat processing in Sophos because it had gotten so bad (i.e. 
taking FOREVER to load any program that talked to the internet.)

That was a "sudden" change in how Sophos was working. At first I thought it was 
 simply because I had turned on the iCloud drive (which does impact things).
But after a lot of trial and no-luck turned off the option in Sophos.

Long ago I had tried Avast! and discovered that it's anti-malware was simply 
horrible in what it did to a Mac.


T.T.F.N.
William H. Magill
# iMac11,3 Core i7 [2.93GHz - 8 GB 1067MHz] OS X 10.10.1
# Macmini6,1 Intel Core i5 [2.5 Ghz - 4GB 1600MHz] OS X 10.10.1 OSX Server (now 
dead)

mag...@icloud.com
mag...@mac.com
whmag...@gmail.com








___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


OT probably, help please

2015-01-20 Thread James Linder
G’day
The other day I reported that gnuplot had suddenly stopped working with term 
x11 but worked with term aqua.
Maybe it was just slow !
I have an issue where the system has (suddenly) become very slow …

iMac 27 top:cpu free 99 ish %
system-monitor also shows cpu cores at 0% busy
men free 8G
df 50 ish %
yosemite

change mail from one entry to another: wheel turns for 10-20 seconds then all 
is normal including change topic (repeat previous selection).
firefox:youtube watch a clip, midway stops playing and wheel turns for 5-10 
seconds before resuming

Thinking this may be a DNS issue I ran wireshark. wiresharks stops while wheel 
is turning!

system-monitor shows no (just got the wheel for 5 secs, no response to 
usb-keyboard nothing interesting on system-monitor) sys-monitor (pause again!) 
ticks every 5 secs even during wheel turning.

This seems unrelated to macports. Time machine is on an external USB disk and 
scheduled to run now (another pause checks:TM disk definitly NOT busy)

So before I nuke this install, any ideas gratefully acceped
James 
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Need help with Portfile

2014-12-09 Thread Ryan Schmidt

On Dec 9, 2014, at 8:03 AM, Behrang Saeedzadeh wrote:

> I did invoke the port with "sudo", but somehow didn't get passed to the 
> system command. 

That is correct. MacPorts drops privileges to the unprivileged "macports" user 
to prevent portfiles from doing things to areas of the disk they're not 
supposed to be touching. This can be bypassed by individual ports, but most of 
the time that's not the best thing to do.

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Need help with Portfile

2014-12-09 Thread Behrang Saeedzadeh
I did invoke the port with "sudo", but somehow didn't get passed to the
system command.

Here's my Portfile:

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil;
c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 124084 2014-08-18 17:05:27Z khindenb...@macports.org $

PortSystem  1.0

namefacter
version 2.3.0
categories  sysutils
license Apache-2 MIT
maintainers explanatorygap.net:nigel gmail.com:behrangsa
openmaintainer
supported_archs noarch

description A cross-platform library for describing OS attributes.

long_descriptionA cross-platform library for describing OS attributes. \
Supports multiple resolution mechanisms, any of which \
can  be restricted to working only on certain operating
\
systems or environments. Facter is especially useful
for \
retrieving things like operating system names, \
IP  addresses, MAC addresses, and SSH keys.

homepagehttp://puppetlabs.com/facter
platforms   darwin

master_siteshttp://downloads.puppetlabs.com/facter

checksums   rmd160  a75d4e66b0e11664136df94f8309b33b4037ad26 \
sha256
 a91ea915b276172e002a8670684e5c6be7df1dfdd55db6937d27fffad70c5e51

depends_lib port:ruby port:rb-rubygems

use_configure   no

build {
   system "${prefix}/bin/gem-1.8 install CFPropertyList"
}

test.runno
destroot.cmd${prefix}/bin/ruby1.8 ${worksrcpath}/install.rb \
--destdir=${destroot}


Best regards,
Behrang
http://www.behrang.org

On Tue, Dec 9, 2014 at 11:51 PM, René J.V.  wrote:

> On Tuesday December 09 2014 23:11:44 Behrang Saeedzadeh wrote:
>
> > As part of a Portfile I am writing, I need to install a Ruby gem, so I
> have
> > added this build block:
>
> Is that a build dependency or a part of the port for which you're writing
> the Portfile? If the former, you'd have to write a port for the gem.
> If the latter, the installation is not at its place in the build phase, I
> think.
>
> >
> > build {
> >system "${prefix}/bin/gem-1.8 install CFPropertyList"
> > }
> >
> >
> > This fails, because without root privileges, the gem cannot be installed.
>
> > What's the proper way of invoking such commands that need root level
> > permissions?
>
> #> sudo port install  ;)
>
> R.
> ___
> macports-users mailing list
> macports-users@lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users
>
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Need help with Portfile

2014-12-09 Thread Ryan Schmidt

On Dec 9, 2014, at 6:11 AM, Behrang Saeedzadeh wrote:

> As part of a Portfile I am writing, I need to install a Ruby gem, so I have 
> added this build block:
> 
> build {
>  system "${prefix}/bin/gem-1.8 install CFPropertyList"
> }
> 
> This fails, because without root privileges, the gem cannot be installed.

Presumably `gem install` would install files directly into the prefix, 
bypassing the destroot. We would not want that. Figure out how to get `gem 
install` instead to install into the destroot; root permission should not be 
needed to do so.


> However if I change the build block to use sudo:
> 
> build {
>  system "sudo ${prefix}/bin/gem-1.8 install CFPropertyList"
> }
> 
> It also fails, but this time with this error message:
> 
> :info:build sh: /usr/bin/sudo: Operation not permitted
> 
> What's the proper way of invoking such commands that need root level 
> permissions?

Set

build.asroot yes

in the portfile, but that is not the proper solution for this case. Setting a 
phase's asroot property to yes should not be needed in the vast majority of 
cases.


___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Need help with Portfile

2014-12-09 Thread René J . V . Bertin
On Tuesday December 09 2014 23:11:44 Behrang Saeedzadeh wrote:

> As part of a Portfile I am writing, I need to install a Ruby gem, so I have
> added this build block:

Is that a build dependency or a part of the port for which you're writing the 
Portfile? If the former, you'd have to write a port for the gem.
If the latter, the installation is not at its place in the build phase, I think.

> 
> build {
>system "${prefix}/bin/gem-1.8 install CFPropertyList"
> }
> 
> 
> This fails, because without root privileges, the gem cannot be installed.

> What's the proper way of invoking such commands that need root level
> permissions?

#> sudo port install  ;)

R.
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Need help with Portfile

2014-12-09 Thread Behrang Saeedzadeh
Hi,

As part of a Portfile I am writing, I need to install a Ruby gem, so I have
added this build block:

build {
   system "${prefix}/bin/gem-1.8 install CFPropertyList"
}


This fails, because without root privileges, the gem cannot be installed.
However if I change the build block to use sudo:

build {
   system "sudo ${prefix}/bin/gem-1.8 install CFPropertyList"
}

It also fails, but this time with this error message:

:info:build sh: /usr/bin/sudo: Operation not permitted


What's the proper way of invoking such commands that need root level
permissions?


Best regards,
Behrang
http://www.behrang.org
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help rebuilding ports list... How do I do a 'port provides' without port contents?

2014-10-09 Thread Ryan Schmidt

On Oct 9, 2014, at 4:46 AM, steve jenkin wrote:
> 
> Thanks very much for those answers. I’ve installed what I could.
> 
> I’ve got gcc 4.5 and llvm 3.3/3.6 installed. They don’t have those programs 
> anymore.

Yup, seems you're right.


> It wasn’t obvious from any of the doco that I read that ‘selfupdate’ 
> contained the Macports program.

selfupdate updates MacPorts base, and the ports tree.


> I was wondering if there was a comprehensive place to look within macports.
> It seems in old versions there was a database like the Debian ‘Contents’ 
> file, but now ‘port contents' is handled by the '.tar.bz2’ files used to 
> deactivate/activate, so its not possible to easily recover if the contents 
> files are lost.

There is no central database of port contents at this time. It might be added 
to the new MacPorts web site in the future.



___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help rebuilding ports list... How do I do a 'port provides' without port contents?

2014-10-09 Thread steve jenkin
Ryan,

Thanks very much for those answers. I’ve installed what I could.

I’ve got gcc 4.5 and llvm 3.3/3.6 installed. They don’t have those programs 
anymore.

It wasn’t obvious from any of the doco that I read that ‘selfupdate’ contained 
the Macports program.

I was wondering if there was a comprehensive place to look within macports.
It seems in old versions there was a database like the Debian ‘Contents’ file, 
but now ‘port contents' is handled by the '.tar.bz2’ files used to 
deactivate/activate, so its not possible to easily recover if the contents 
files are lost.

all the best
steve



On 9 Oct 2014, at 6:21 pm, Ryan Schmidt  wrote:

> 
>> On Oct 9, 2014, at 12:18 AM, steve jenkin  wrote:
>> 
>> /opt/local/bin/addr2name.awk-mp-4.3
> 
> gcc43
> 
> 
>> /opt/local/bin/darwinbuild
>> /opt/local/bin/darwinmaster
>> /opt/local/bin/darwinup
>> /opt/local/bin/darwinxref
> 
> darwinbuild
> 
> 
>> /opt/local/bin/llvm-ld-mp-3.1
>> /opt/local/bin/llvm-stub-mp-3.1
> 
> llvm-3.1
> 
> 
>> /opt/local/bin/pcl6
> 
> I do not know. Google says this is GhostPDL
> 
> http://www.ghostscript.com/GhostPCL.html
> 
> However I can't find a MacPorts port of that.
> 
> 
>> /opt/local/bin/daemondo
>> /opt/local/bin/port
>> /opt/local/bin/port-tclsh
>> /opt/local/bin/portf
>> /opt/local/bin/portindex
>> /opt/local/bin/portmirror
> 
> MacPorts base provides these files. They get updated by running "sudo port 
> selfupdate".
> 
> 
>> /opt/local/bin/ppl-config
>> /opt/local/bin/ppl_lcdd
>> /opt/local/bin/ppl_lpsol
>> /opt/local/bin/ppl_pips
> 
> ppl
> 
> 
>> /opt/local/bin/prcc4_bin
>> /opt/local/bin/puic4
> 
> perlqt

--
Steve Jenkin, IT Systems and Design 
0412 786 915 (+61 412 786 915)
PO Box 48, Kippax ACT 2615, AUSTRALIA

stevej098l...@gmail.com
http://members.tip.net.au/~sjenkin

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help rebuilding ports list... How do I do a 'port provides' without port contents?

2014-10-09 Thread Ryan Schmidt

> On Oct 9, 2014, at 12:18 AM, steve jenkin  wrote:
> 
> /opt/local/bin/addr2name.awk-mp-4.3

gcc43


> /opt/local/bin/darwinbuild
> /opt/local/bin/darwinmaster
> /opt/local/bin/darwinup
> /opt/local/bin/darwinxref

darwinbuild


> /opt/local/bin/llvm-ld-mp-3.1
> /opt/local/bin/llvm-stub-mp-3.1

llvm-3.1


> /opt/local/bin/pcl6

I do not know. Google says this is GhostPDL

http://www.ghostscript.com/GhostPCL.html

However I can't find a MacPorts port of that.


> /opt/local/bin/daemondo
> /opt/local/bin/port
> /opt/local/bin/port-tclsh
> /opt/local/bin/portf
> /opt/local/bin/portindex
> /opt/local/bin/portmirror

MacPorts base provides these files. They get updated by running "sudo port 
selfupdate".


> /opt/local/bin/ppl-config
> /opt/local/bin/ppl_lcdd
> /opt/local/bin/ppl_lpsol
> /opt/local/bin/ppl_pips

ppl


> /opt/local/bin/prcc4_bin
> /opt/local/bin/puic4

perlqt
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help rebuilding ports list... How do I do a 'port provides' without port contents?

2014-10-09 Thread Lawrence Velázquez
On Oct 9, 2014, at 1:18 AM, steve jenkin  wrote:

> I’m worried about the "/opt/local/bin/port” series of executables.
> If they change, I won’t get the upgrades, forcing me to reinstall macports 
> from scratch. But now at least I have a port/package list if that happens.
> 
> I tried port “Macports” for those executables, but the port is very definite 
> that ordinary mortals shouldn’t install it - it puts files outside the 
> /opt/local tree - so I didn’t install it.

Not sure what you're worried about? Those executables are part of MacPorts 
base. If you reinstall MacPorts to /opt/local (which happens during "port 
selfupdate" if a base update is available), they'll be overwritten. This is 
entirely fine.

> /opt/local/bin/llvm-ld-mp-3.1
> /opt/local/bin/llvm-stub-mp-3.1

These look like they're from llvm-3.1.

> /opt/local/bin/daemondo
> 
> /opt/local/bin/port
> /opt/local/bin/port-tclsh
> /opt/local/bin/portf
> /opt/local/bin/portindex
> /opt/local/bin/portmirror

These are part of MacPorts base.

> /opt/local/bin/ppl-config
> /opt/local/bin/ppl_lcdd
> /opt/local/bin/ppl_lpsol
> /opt/local/bin/ppl_pips

These are from ppl.

vq
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Help rebuilding ports list... How do I do a 'port provides' without port contents?

2014-10-08 Thread steve jenkin
Somewhere in upgrading to OS/X 10.9.5 I lost the list of ports I had installed.

I’ve spent a lot of time recreating & reinstalling the ports and found the 
Debian ‘Contents’ file a good help.

I’m left with a small number of executables (~20) in /opt/local/bin (out of 
2000+) where I haven’t been able to identify the owning ports of (list below).

"port selfupdate;port upgrade installed” now work OK.

I’m worried about the "/opt/local/bin/port” series of executables.
If they change, I won’t get the upgrades, forcing me to reinstall macports from 
scratch. But now at least I have a port/package list if that happens.

I tried port “Macports” for those executables, but the port is very definite 
that ordinary mortals shouldn’t install it - it puts files outside the 
/opt/local tree - so I didn’t install it.

Can anyone help me identify the ports that own these last few files [below]?

There were a number of executables, like perl Devel::DProf, that were 
deprecated between perl 5.12 and 5.16 and I’ve found alternative ports for.

Regards
steve jenkin

=

Count of Ports installed and files in /opt/local/bin [strictly from macports]

   1054 /Users/steve/macports.10.6.8.installed
  0 /Users/steve/macports.10.9.2.installed
376 /Users/steve/macports.10.9.5.installed

mini-too:tmp steve$ ls -l /opt/local/bin|wc -l
   2264

=

Files I can’t identify owning packages:

/opt/local/bin/addr2name.awk-mp-4.3
/opt/local/bin/daemondo

/opt/local/bin/darwinbuild
/opt/local/bin/darwinmaster
/opt/local/bin/darwinup
/opt/local/bin/darwinxref

/opt/local/bin/llvm-ld-mp-3.1
/opt/local/bin/llvm-stub-mp-3.1

/opt/local/bin/pcl6

/opt/local/bin/port
/opt/local/bin/port-tclsh
/opt/local/bin/portf
/opt/local/bin/portindex
/opt/local/bin/portmirror

/opt/local/bin/ppl-config
/opt/local/bin/ppl_lcdd
/opt/local/bin/ppl_lpsol
/opt/local/bin/ppl_pips

/opt/local/bin/prcc4_bin
/opt/local/bin/puic4

--
Steve J,
0412 786 915 (+61 412 786 915)
PO Box 48, Kippax ACT 2615, AUSTRALIA

stevej098l...@gmail.com
http://members.tip.net.au/~sjenkin

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: cmus and ffmpeg help

2014-08-20 Thread Chris Jones

Hi,

the cmus port does not have an ffmpeg variant, which is why the command 
you tried to run below did not change anything (port silently ignores 
non-existing variants)


 > port variants cmus
cmus has the variants:
   aac: Support aac files
   flac: Support flac files
   mikmod: Support mod files
   mpc: Support musepack files

maybe one of the above does what you want...

Chris

On 20/08/14 12:24, Jeff Friedman wrote:

Hi folks,

I recently installed cmus and I found that my aiff files don't show up
in my library.  I read through the documentation and realised that I
need ffmpeg installed too.

I have tried using the command:

sudo port install cmus +ffmpeg

which does not install the ffmpeg for me.  I have tried installing
ffmpeg separately and then installing cmus using the above command, and
installing cmus again on it's own and it still doesn't work.

Can anyone help me with this one please?

Thanks,
Jeff



___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users



___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


cmus and ffmpeg help

2014-08-20 Thread Jeff Friedman
Hi folks,

I recently installed cmus and I found that my aiff files don't show up in
my library.  I read through the documentation and realised that I need
ffmpeg installed too.

I have tried using the command:

sudo port install cmus +ffmpeg

which does not install the ffmpeg for me.  I have tried installing ffmpeg
separately and then installing cmus using the above command, and installing
cmus again on it's own and it still doesn't work.

Can anyone help me with this one please?

Thanks,
Jeff
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Need help: Some port fetches consistently fail

2014-08-02 Thread Sam Finn
Indeed, this was the problem. I have iterated with Intego and they have fixed 
the problem in a soon-to-be-released build. 

Thanks much to all!

Sam

--
Lee Samuel Finn
lsfin...@icloud.com

On Jul 29, 2014, at 4:37 AM, Chris Jones  wrote:

> On 29/07/14 03:20, Sam Finn wrote:
>> I do have Intego’s NetBarrier installed; however, I’ve shut it down for 
>> these operations.
> 
> Remove it completely then try... My suspicion is it is still somehow in the 
> way...
> 
>> 
>> --
>> Lee Samuel Finn
>> lsf...@gmail.com
>> 
>> 
>> 
>> 
>> On Jul 28, 2014, at 10:16 PM, Ryan Schmidt  wrote:
>> 
>>> Do you have a third-party antivirus program or firewall program or anything 
>>> else installed that would alter how your computer processes network traffic?
>>> 
>> 
>> 
>> 
>> ___
>> macports-users mailing list
>> macports-users@lists.macosforge.org
>> https://lists.macosforge.org/mailman/listinfo/macports-users
>> 
> 
> ___
> macports-users mailing list
> macports-users@lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users

--
Lee Samuel Finn
lsf...@gmail.com




___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Need help: Some port fetches consistently fail

2014-07-29 Thread Chris Jones

On 29/07/14 03:20, Sam Finn wrote:

I do have Intego’s NetBarrier installed; however, I’ve shut it down for these 
operations.


Remove it completely then try... My suspicion is it is still somehow in 
the way...




--
Lee Samuel Finn
lsf...@gmail.com




On Jul 28, 2014, at 10:16 PM, Ryan Schmidt  wrote:


Do you have a third-party antivirus program or firewall program or anything 
else installed that would alter how your computer processes network traffic?





___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users



___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Need help: Some port fetches consistently fail

2014-07-28 Thread Sam Finn
I do have Intego’s NetBarrier installed; however, I’ve shut it down for these 
operations. 

--
Lee Samuel Finn
lsf...@gmail.com




On Jul 28, 2014, at 10:16 PM, Ryan Schmidt  wrote:

> Do you have a third-party antivirus program or firewall program or anything 
> else installed that would alter how your computer processes network traffic?
> 



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Need help: Some port fetches consistently fail

2014-07-28 Thread Ryan Schmidt
Do you have a third-party antivirus program or firewall program or anything 
else installed that would alter how your computer processes network traffic?

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Need help: Some port fetches consistently fail

2014-07-28 Thread Sam Finn
rocessing of port aspell failed
11.698u 0.239s 0:28.19 42.2%0+0k 33+42io 58pf+0w
Appletree [103] Yeah? 


Again, thanks all for any help or suggestions you can offer!

Best, 

Sam

--
Lee Samuel Finn
lsf...@gmail.com




On Jul 28, 2014, at 7:40 PM, Ryan Schmidt  wrote:

> On Jul 28, 2014, at 6:01 PM, Sam Finn wrote:
> 
>> On Jul 28, 2014, at 6:41 PM, Mihai Moldovan wrote:
>> 
>>> You did reinstall
>>> or rebuild MacPorts itself after upgrading to Mavericks, right? sudo port 
>>> -sv
>>> selfupdate takes care of that.
>> 
>> I did a self update without the flags; I just did one with the -s flag to 
>> rebuild from source. I still have the same problem. 
> 
> The '-s' flag applies to building ports, and is not applicable to selfupdate, 
> which always builds from source anyway.
> 
> Mihai's question remains however: did you rebuild MacPorts itself after 
> upgrading to Mavericks? If not, or if you're not sure, force it now with:
> 
> sudo port -f selfupdate
> 
> or download and run the Mavericks version of the MacPorts 2.3.1 installer 
> from our web site.
> 



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Need help: Some port fetches consistently fail

2014-07-28 Thread Ryan Schmidt
On Jul 28, 2014, at 6:01 PM, Sam Finn wrote:

> On Jul 28, 2014, at 6:41 PM, Mihai Moldovan wrote:
> 
>> You did reinstall
>> or rebuild MacPorts itself after upgrading to Mavericks, right? sudo port -sv
>> selfupdate takes care of that.
> 
> I did a self update without the flags; I just did one with the -s flag to 
> rebuild from source. I still have the same problem. 

The '-s' flag applies to building ports, and is not applicable to selfupdate, 
which always builds from source anyway.

Mihai's question remains however: did you rebuild MacPorts itself after 
upgrading to Mavericks? If not, or if you're not sure, force it now with:

sudo port -f selfupdate

or download and run the Mavericks version of the MacPorts 2.3.1 installer from 
our web site.

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Need help: Some port fetches consistently fail

2014-07-28 Thread Sam Finn
I did a self update without the flags; I just did one with the -s flag to 
rebuild from source. I still have the same problem. 

--
Lee Samuel Finn
lsf...@gmail.com




On Jul 28, 2014, at 6:41 PM, Mihai Moldovan  wrote:

> 
> Signed PGP part
> On 28.07.2014 11:46 pm, Sam Finn wrote:
> > No joy.
> 
> I can only suggest adding -R to the previous curl call. I doubt it changes the
> result, but who knows... (-R tries to fetch the remote file's time stamp, if
> possible.)
> 
> Short of that... no idea... MacPorts is using the system's curl library when
> compiling itself, so there shouldn't be any compatibilities. You did reinstall
> or rebuild MacPorts itself after upgrading to Mavericks, right? sudo port -sv
> selfupdate takes care of that.
> 
> 
> 
> 
> Mihai
> 
> 
> 



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Need help: Some port fetches consistently fail

2014-07-28 Thread Mihai Moldovan

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 28.07.2014 11:46 pm, Sam Finn wrote:
> No joy.

I can only suggest adding -R to the previous curl call. I doubt it changes the
result, but who knows... (-R tries to fetch the remote file's time stamp, if
possible.)

Short of that... no idea... MacPorts is using the system's curl library when
compiling itself, so there shouldn't be any compatibilities. You did reinstall
or rebuild MacPorts itself after upgrading to Mavericks, right? sudo port -sv
selfupdate takes care of that.




Mihai
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJT1tGpAAoJEB/WLtluJTqHGAYQAOPHfMX6uGbRU7xXqMcmTX3S
QKPyY3Ddp4WbuMPQWo3OraY2/Cr/vYqaoIajtj2MDirr9Kp0DwZMkpUa7S25KiQv
rOg29jGrDeV5bD6O22+qeA/F0iPgHEueDF1U4Yq9b1AwXiavMDwnp85oo0XlOnNO
mMve9hHsIp42GOJd2t5SRLCnIvG2wrN7o//qfwRctM4r31hI6imXSyveZ3YR0h4d
ILojoPRfwvJON3Bymo5rMQec9pix1PWbMx0r3nApOFbB8ZYsVVbXa7saxLXmGZDo
jRsUSvVxC6Lwr8NI4J5HWYbZTZiEEM0toi/tE++drxpLFEQffwxewZqZdKWFCfC3
WkwDRnTUQJTXLfpI4Z0wQ2Gi2qDqEfP8v5OkDGoNTxSE1tz0wx9XO9SOCI96X81D
Hs2+zg1KWAL/1wdEcb2OK9fyxdQaZL7sio6kv7jyKfPf+WxTG1d9YnQ7VBcurQSe
G0QWtgLDKAKp6y7+wjjOWKfoAqsVoOzoDd3mXm6e7iPmc+w55AUXDBd+Q2MaLv9Z
q6Eoe/aduAjEs8LS3snDR1qPBmvs/8BiJkHJWuDU8GSY+2+H4E9XJYo+ByMB6z8e
hGaJZwfoYxstKPWXR4nKS3nE5mg/PgbtCBsyiL8tWjCAqGKpqj0iUgNuojpvVEKS
D2BZxo/qpMb/K/TjX9hB
=JHQP
-END PGP SIGNATURE-




smime.p7s
Description: S/MIME Cryptographic Signature
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Need help: Some port fetches consistently fail

2014-07-28 Thread Sam Finn
Hi Mihai, 

No joy. On the plus side, I feel a bit better that I haven’t been able to 
figure it out myself ;)

Thanks much for your help, 

Sam

bash-3.2$ sudo port -v fetch expat
Password:
--->  Fetching distfiles for expat
--->  expat-2.1.0.tar.gz doesn't seem to exist in 
/opt/local/var/macports/distfiles/expat
--->  Attempting to fetch expat-2.1.0.tar.gz from 
http://superb-dca2.dl.sourceforge.net/project/expat/expat/2.1.0
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
--->  Attempting to fetch expat-2.1.0.tar.gz from 
http://hivelocity.dl.sourceforge.net/project/expat/expat/2.1.0
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
--->  Attempting to fetch expat-2.1.0.tar.gz from 
http://softlayer-dal.dl.sourceforge.net/project/expat/expat/2.1.0
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
--->  Attempting to fetch expat-2.1.0.tar.gz from 
http://sea.us.distfiles.macports.org/macports/distfiles/expat
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:--  0:00:01 --:--:-- 0
--->  Attempting to fetch expat-2.1.0.tar.gz from 
http://distfiles.macports.org/expat
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
--->  Attempting to fetch expat-2.1.0.tar.gz from 
http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/expat
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
--->  Attempting to fetch expat-2.1.0.tar.gz from 
http://kent.dl.sourceforge.net/project/expat/expat/2.1.0
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
--->  Attempting to fetch expat-2.1.0.tar.gz from 
http://heanet.dl.sourceforge.net/project/expat/expat/2.1.0
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
--->  Attempting to fetch expat-2.1.0.tar.gz from 
http://freefr.dl.sourceforge.net/project/expat/expat/2.1.0
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
--->  Attempting to fetch expat-2.1.0.tar.gz from 
http://optimate.dl.sourceforge.net/project/expat/expat/2.1.0
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
--->  Attempting to fetch expat-2.1.0.tar.gz from 
http://lil.fr.distfiles.macports.org/expat
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
--->  Attempting to fetch expat-2.1.0.tar.gz from 
http://nue.de.distfiles.macports.org/macports/distfiles/expat
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
--->  Attempting to fetch expat-2.1.0.tar.gz from 
http://switch.dl.sourceforge.net/project/expat/expat/2.1.0
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
--->  Attempting to fetch expat-2.1.0.tar.gz from 
http://garr.dl.sourceforge.net/project/expat/expat/2.1.0
  % Tota

Re: Need help: Some port fetches consistently fail

2014-07-28 Thread Mihai Moldovan

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 28.07.2014 11:01 pm, Sam Finn wrote:
> In bash, 
>
> Appletree [132] Yeah? bash
> bash-3.2$ echo "http_proxy: '$http_proxy'; ALL_PROXY: '$ALL_PROXY'"
> http_proxy: ''; ALL_PROXY: ''
> bash-3.2$  echo $http_proxy $ALL_PROXY
>
> bash-3.2$

So there's no global proxy defined...

The only other options added by MacPorts are -R and --disable-epsv. The last
option only applies to FTP transfers, so we can ignore that.

Does "port -v fetch expat" also fail with the aforementioned symptoms?

Feel free to test with -R, but if that doesn't show any 403 errors, I'm out of
ideas what could be wrong.



Mihai
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJT1sHAAAoJEB/WLtluJTqHRroQAJ4XSFHh1vrC2yMiecRLldTO
cuf1VKUhJxDiw3997c0mUjdK6MMUP1VwJda+FNsGSBFnoAlp3SFg3mgQEcpehkGL
c9VHUZmRIp43uHWEiB5/p18CIf0m5fw1M/vN4zyEUT5WTSosBTXZAQvPYCeLfoJu
njln2fK2kXcQrxOhlvfWuXHl46425UShIHDDXabOXyDGm2IRkmBkKLX8DcGGDtQI
RWbPez60FXkRydMLvH9yyH4P7KgZD02zSBUycIlinaJ49sFSBYnIhzgSKyWZiqXJ
bpjN2VMj/+0bYPKYszg0YuWjIJ9id2dR2eTzQeuBLMIEAW0XXGNM/sYKCgi2OFHz
qY+Pjky9dY+cY8e5fT5244unCxOkq0eKNRZMUgVfe+Q0qUWFLhtT782q2LVQ/aZJ
/k4V0YYHqMpwx/u6TvrExSSg2qqkD03f5ip9xQesL0p5KwRcWMFlfDS5Ie7+zPA6
LWXGrR4JztxlXcNwh9CVv7HYZEjb7g9whC+gxlOGZ5PjZ8Oy4311YRfhRTfxWBXc
bV/pbHOzHAVnvp3awI4lWTRuBESCsOozKOS+cQjqPq1mISb2rkv3Wx52hDtFG+fi
VpOu0g5vy8igMqiqSrxXewy4thJKhuKEnRbpCO27DBXsP/qdrXC+KKCrCmahvsf4
KiTO73E0aJq9el9I6yz3
=sI3A
-END PGP SIGNATURE-




smime.p7s
Description: S/MIME Cryptographic Signature
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Need help: Some port fetches consistently fail

2014-07-28 Thread Sam Finn
Appletree [130] Yeah? echo $http_proxy $ALL_PROXY
http_proxy: Undefined variable.

--
Lee Samuel Finn
lsf...@gmail.com




On Jul 28, 2014, at 4:10 PM, Mihai Moldovan  wrote:

> 
> Signed PGP part
> On 28.07.2014 09:54 pm, Sam Finn wrote:
> > Thanks very much for all your efforts!
> >
> > Appletree [129] Yeah? /usr/bin/curl -vo /dev/null -A "MacPorts/2.3.1
> libcurl/7.30.0" http://lil.fr.distfiles.macports.org/expat/expat-2.1.0.tar.gz
> > [...]
> > > GET /expat/expat-2.1.0.tar.gz HTTP/1.1
> > > User-Agent: MacPorts/2.3.1 libcurl/7.30.0
> > > Host: lil.fr.distfiles.macports.org
> > > Accept: */*
> > >
> > < HTTP/1.1 200 OK
> > [...]
> 
> OK, the sent user agent is fine and the HTTP server response is, too.
> 
> What makes me wonder is that your main.log shows "403 OK" as the error 
> message.
> That should be either "200 OK" or "403 Forbidden", but not "403 OK" in 
> general...
> 
> What does "echo $http_proxy $ALL_PROXY" say, if anything?
> 
> 
> 
> Mihai
> 
> 
> 



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Need help: Some port fetches consistently fail

2014-07-28 Thread Mihai Moldovan

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 28.07.2014 09:54 pm, Sam Finn wrote:
> Thanks very much for all your efforts!
>
> Appletree [129] Yeah? /usr/bin/curl -vo /dev/null -A "MacPorts/2.3.1
libcurl/7.30.0" http://lil.fr.distfiles.macports.org/expat/expat-2.1.0.tar.gz
> [...]
> > GET /expat/expat-2.1.0.tar.gz HTTP/1.1
> > User-Agent: MacPorts/2.3.1 libcurl/7.30.0
> > Host: lil.fr.distfiles.macports.org
> > Accept: */*
> >
> < HTTP/1.1 200 OK
> [...]

OK, the sent user agent is fine and the HTTP server response is, too.

What makes me wonder is that your main.log shows "403 OK" as the error message.
That should be either "200 OK" or "403 Forbidden", but not "403 OK" in 
general...

What does "echo $http_proxy $ALL_PROXY" say, if anything?



Mihai
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJT1q4YAAoJEB/WLtluJTqHhRUQAMRbs+4YQb5NTC0YX36LpBPR
1iZACGmEgBBhs81WUUwYupiW5tml4Ux35RB0VBHqIdqryNEDJUnDmQhHa0z6a+ef
FssJiRkS4yX6Sg7T110BvMyATaUd2EMbXKWPMKe6lixUO5mKIXdySu43L/Qag+iK
Wk2MixVfcpTr2Mru+4n2YQxE7RyL68rnW258kAelQUg7GXyvTocW4bggVNK7EL9e
FYiiNNw40NagijuSsZldR5tO4xtN+fsXN4kLfsDwMFCsBsRSCFFj3rSGs3UdU0Gw
lKxDmOqclv5n6laGXr2+vMUobMj3N93t1T3AZFzbXmyK9xYhK53a9D6wlgx0KB4X
fy28sSJSMlofGiTYJlaxoNVk2qWqJTl3zR8gnYUWCSKlMFa4KmPjtcU8+A27RDUj
XGYfGnxcioHcsjNS27KoNgPsTKo5n4n8VQHRik/nwTDU5bhtwO+7+s2moOXgf14+
D3N+PaWLA3qFZXFwEQGRiimodU+j6YrlY535NFVnDnJK1L1geuOlWHWpiC06+zI+
MqesAr6afML8bBtCsHFIY9zVzSZ1v+NDTe2Kd3UAYssbF/Grdgq7kt6Oh4LhsoKm
d6g6DKVRGORsGROS5XWmWy+7eJT4wSB9aY+qNlzECUUr/QCrYSuqQ88hVI/QtBg3
icBudhQkc1dkhmwtU92I
=Ogp8
-END PGP SIGNATURE-




smime.p7s
Description: S/MIME Cryptographic Signature
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Need help: Some port fetches consistently fail

2014-07-28 Thread Sam Finn


Appletree [126] Yeah? /usr/bin/curl -o /dev/null -A "MacPorts/2.3.1 
libcurl/7.30.0" http://lil.fr.distfiles.macports.org/expat/expat-2.1.0.tar.gz
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
100  549k  100  549k0 0   524k  0  0:00:01  0:00:01 --:--:--  525k

--
Lee Samuel Finn
lsf...@gmail.com




On Jul 28, 2014, at 3:44 PM, Mihai Moldovan  wrote:

> 
> Signed PGP part
> On 28.07.2014 09:36 pm, Sam Finn wrote:
> > No 403 error this time:
> 
> Weird.
> 
> But thanks to toby, here's another idea:
> 
> /usr/bin/curl -o /dev/null -A "MacPorts/2.3.1 libcurl/7.30.0"
> http://lil.fr.distfiles.macports.org/expat/expat-2.1.0.tar.gz
> 
> MacPorts is using a special user agent string.
> 
> 
> 
> Mihai
> 
> 
> 



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Need help: Some port fetches consistently fail

2014-07-28 Thread Mihai Moldovan

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 28.07.2014 09:36 pm, Sam Finn wrote:
> No 403 error this time:

Weird.

But thanks to toby, here's another idea:

/usr/bin/curl -o /dev/null -A "MacPorts/2.3.1 libcurl/7.30.0"
http://lil.fr.distfiles.macports.org/expat/expat-2.1.0.tar.gz

MacPorts is using a special user agent string.



Mihai
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJT1qgbAAoJEB/WLtluJTqHi5cP/1IuI3tFvTCdqpy1ype3d8pW
oqk0/0Pd8w+PGzW/XtwxpBRZBLp2y9mRUnLBju91AvTfH8PdepFKrg4FzXMF7/D8
9SX3eIxNHtE9m0vlt1YGlkpDnGB9xog3nyjgcjZBl1zzZI1iO/du+hycn8UKyC5l
NnIdQMF7Cf/WJUSZoJVypJ5wqCTuqJQMq15B4MMnDZP1CsUHIwUrj+3d85RiKJL5
B1lm2ZJ+5ZnJegVZQrggxWRWOUDuRZwTqwUGurYck/YhLVH+hPK1gRnsswLwJWCH
CmwSjC2mIDENJ5N0l0jI2tPmKbCVaZsvQBiybOH9y0lE83OjVI1P8CyziHkxav1l
6SbeOV2ie5fdvTZQn0pJqCa9hGoHLwgZ9p5OuJRWjWfEBgy0IC3QDHinMW9eDNuo
iXSQJgO4N9UsFvGqBuIhNE/zO+4JDx5uBzHXs5hPfQc7+m2x1px0wRlNZ6++LhO7
vrteg5EAfp0wOTtQeN1PH88FTkRZ89C2WTLmhTtCqedpHWyWvtiYJRBnbl/PnmYx
qcV0VvUzU2dJ6P8D4cBcSkwgZTG0m3eossBlQyYt5zUiWONfZQvdfNKJ1gkFPe7z
+d6/ZMl727xrB8BkwaMxb3Go8iyd0A3D8QfP9v01jIXV/VFnF1RJZCO83zQXiJGM
93LLlJ9uDXO1fBaMCnpc
=dAG6
-END PGP SIGNATURE-




smime.p7s
Description: S/MIME Cryptographic Signature
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Need help: Some port fetches consistently fail

2014-07-28 Thread Sam Finn
No 403 error this time: 

Appletree [122] Yeah? /usr/bin/curl -o /dev/null 
http://lil.fr.distfiles.macports.org/expat/expat-2.1.0.tar.gz
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
100  549k  100  549k0 0   521k  0  0:00:01  0:00:01 --:--:--  521k

--
Lee Samuel Finn
lsf...@gmail.com




On Jul 28, 2014, at 3:33 PM, Mihai Moldovan  wrote:

> 
> Signed PGP part
> On 28.07.2014 09:22 pm, Sam Finn wrote:
> > Doesn’t a 403 indicate that the server received and understood the request, 
> > but refused to act on it? In any
> event, there is no proxy and I’ve checked that my firewalls (the mac os 
> firewall
> and intego net barrier) are down. Am I missing something?
> 
> 403 means that the server denied you accessing the file due to (mostly)
> permission problems.
> 
> However, this behavior is not reproducible outside of your environment, so 
> there
> must be something intercepting requests. At least not reproducible by me with
> any provided mirror.
> 
> 
> > Other information that may (or may not) be helpful:
> > * I’m reaching the network through an apple AirPort Extreme, which is
> providing both NAT and DHCP services
> > * The computer I’m working on right now is set-up as the default host (i.e.,
> it has a DHCP reservation, whose IP is the default host).
> 
> What does "/usr/bin/curl -o /dev/null
> http://lil.fr.distfiles.macports.org/expat/expat-2.1.0.tar.gz"; return?
> 
> Still the 403 HTTP error? If yes, it seems to be a site-specific problem.
> 
> 
> 
> Mihai
> 
> 
> 



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Need help: Some port fetches consistently fail

2014-07-28 Thread Mihai Moldovan

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 28.07.2014 09:22 pm, Sam Finn wrote:
> Doesn’t a 403 indicate that the server received and understood the request, 
> but refused to act on it? In any
event, there is no proxy and I’ve checked that my firewalls (the mac os firewall
and intego net barrier) are down. Am I missing something?

403 means that the server denied you accessing the file due to (mostly)
permission problems.

However, this behavior is not reproducible outside of your environment, so there
must be something intercepting requests. At least not reproducible by me with
any provided mirror.


> Other information that may (or may not) be helpful:
> * I’m reaching the network through an apple AirPort Extreme, which is
providing both NAT and DHCP services
> * The computer I’m working on right now is set-up as the default host (i.e.,
it has a DHCP reservation, whose IP is the default host).

What does "/usr/bin/curl -o /dev/null
http://lil.fr.distfiles.macports.org/expat/expat-2.1.0.tar.gz"; return?

Still the 403 HTTP error? If yes, it seems to be a site-specific problem.



Mihai
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJT1qWKAAoJEB/WLtluJTqHR7oP/ivJHy9+kQYNYxMpOrlh6pF9
UJBpTg3nl4sYQjI5br18ZjKEZRBQLNfac5T11aSUtk6HzR1NXhqsY4jAOjHbQxP+
u/ZThqEXT8mT/JVHMO9/u6hF3XVFQSs6QgwbbxUklfqEA/m+3hFs3MKiWvyFBBJR
DJ4OY5FtQRYH1Et7WyWPhvOSDmcR/H75FpEVYBEFwaebTCNXyO8frY9LyTk8RHEp
N6ahznEKWLr+NQI3Y+KH690WY3a4plzdiyi1VU7FPotgHYKXpuo4ym4+lHjRp9Ub
AJUkGmfWOE7yf2mHeocMFgIx2BEDa5m+FsMGhLCQP+SigC+bL3B88DTmo9CkmL1x
ptuDH9A9nscNk3iJlbs4NSuOy/UxzPIi8R5tGy4Z2inCwMbfRk0OZ/CplbPTv5/m
jlfAVHEkVSJOe944VM0VZFTrLjS3VQW4kRw3GJXl1fR2pV8iLmoResqcUkLCmdr4
PP2UJpOBs1vORs2dS3H8P4BUPWSl+bRfeRyaF+qerXdGc3qnXR3pjcX91ETP6SjL
h1dtlDVsfr4/5f0YA1GuYq4pqUcyWbf5xvFur+UMtPjdJMc0EGjRWCE2IkUkuAfL
imhyWVbnqawajbmlfWwA1daskgrrp3L2S+kKqa3RJps201QHgXeJy6d/5Z48/lMi
y4+DLYnwpcsxViDQ9Wp2
=h1nn
-END PGP SIGNATURE-




smime.p7s
Description: S/MIME Cryptographic Signature
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Need help: Some port fetches consistently fail

2014-07-28 Thread Sam Finn
Both agree: 

Appletree [116] Yeah? curl -I 
http://superb-dca2.dl.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz
HTTP/1.1 200 OK
Server: nginx/0.8.55
Date: Mon, 28 Jul 2014 19:31:25 GMT
Content-Type: application/x-gzip
Content-Length: 562616
Last-Modified: Sat, 24 Mar 2012 19:19:12 GMT
Connection: close
Accept-Ranges: bytes

Appletree [117] Yeah? curl -I 
http://cjj.kr.distfiles.macports.org/expat/expat-2.1.0.tar.gz
HTTP/1.1 200 OK
Content-Type: application/x-gzip
Accept-Ranges: bytes
ETag: "683330017"
Last-Modified: Tue, 04 Sep 2012 23:59:26 GMT
Content-Length: 562616
Date: Mon, 28 Jul 2014 19:31:43 GMT
Server: lighttpd/1.4.28


--
Lee Samuel Finn
lsf...@gmail.com




On Jul 28, 2014, at 3:26 PM, Jeremy Lavergne  wrote:

> I would employ curl to check headers on a request, though any tool of choice 
> should work:
> curl -I URL
> 
> For the superb-dca2 mirror, I see it’s running nginx/0.8.55. Is that what you 
> see?
> 
> $ curl -I 
> http://superb-dca2.dl.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz
> HTTP/1.1 200 OK
> Server: nginx/0.8.55
> Date: Mon, 28 Jul 2014 19:24:23 GMT
> Content-Type: application/x-gzip
> Content-Length: 562616
> Last-Modified: Sat, 24 Mar 2012 19:19:12 GMT
> Connection: close
> Accept-Ranges: bytes
> 
> Similarly, the macports mirror is lighttpd:
> $ curl -I http://cjj.kr.distfiles.macports.org/expat/expat-2.1.0.tar.gz
> HTTP/1.1 200 OK
> Content-Type: application/x-gzip
> Accept-Ranges: bytes
> ETag: "683330017"
> Last-Modified: Tue, 04 Sep 2012 23:59:26 GMT
> Content-Length: 562616
> Date: Mon, 28 Jul 2014 19:25:24 GMT
> Server: lighttpd/1.4.28
> 
> If those are different, and the “replacement” server signature doesn’t appear 
> reasonable, we might start looking into DNS records to see if they’re being 
> hijacked.
> 
> 
> 
> On Jul 28, 2014, at 15:22, Sam Finn  wrote:
> 
>> Doesn’t a 403 indicate that the server received and understood the request, 
>> but refused to act on it? In any event, there is no proxy and I’ve checked 
>> that my firewalls (the mac os firewall and intego net barrier) are down. Am 
>> I missing something? 
>> 
>> Other information that may (or may not) be helpful: 
>> * I’m reaching the network through an apple AirPort Extreme, which is 
>> providing both NAT and DHCP services
>> * The computer I’m working on right now is set-up as the default host (i.e., 
>> it has a DHCP reservation, whose IP is the default host). 
>> 
>> Thanks very much for any and all help!
> 



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Need help: Some port fetches consistently fail

2014-07-28 Thread Jeremy Lavergne
I would employ curl to check headers on a request, though any tool of choice 
should work:
curl -I URL

For the superb-dca2 mirror, I see it’s running nginx/0.8.55. Is that what you 
see?

$ curl -I 
http://superb-dca2.dl.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz
HTTP/1.1 200 OK
Server: nginx/0.8.55
Date: Mon, 28 Jul 2014 19:24:23 GMT
Content-Type: application/x-gzip
Content-Length: 562616
Last-Modified: Sat, 24 Mar 2012 19:19:12 GMT
Connection: close
Accept-Ranges: bytes

Similarly, the macports mirror is lighttpd:
$ curl -I http://cjj.kr.distfiles.macports.org/expat/expat-2.1.0.tar.gz
HTTP/1.1 200 OK
Content-Type: application/x-gzip
Accept-Ranges: bytes
ETag: "683330017"
Last-Modified: Tue, 04 Sep 2012 23:59:26 GMT
Content-Length: 562616
Date: Mon, 28 Jul 2014 19:25:24 GMT
Server: lighttpd/1.4.28

If those are different, and the “replacement” server signature doesn’t appear 
reasonable, we might start looking into DNS records to see if they’re being 
hijacked.



On Jul 28, 2014, at 15:22, Sam Finn  wrote:

> Doesn’t a 403 indicate that the server received and understood the request, 
> but refused to act on it? In any event, there is no proxy and I’ve checked 
> that my firewalls (the mac os firewall and intego net barrier) are down. Am I 
> missing something? 
> 
> Other information that may (or may not) be helpful: 
> * I’m reaching the network through an apple AirPort Extreme, which is 
> providing both NAT and DHCP services
> * The computer I’m working on right now is set-up as the default host (i.e., 
> it has a DHCP reservation, whose IP is the default host). 
> 
> Thanks very much for any and all help!

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Need help: Some port fetches consistently fail

2014-07-28 Thread Sam Finn
Hi, 

Doesn’t a 403 indicate that the server received and understood the request, but 
refused to act on it? In any event, there is no proxy and I’ve checked that my 
firewalls (the mac os firewall and intego net barrier) are down. Am I missing 
something? 

Other information that may (or may not) be helpful: 
* I’m reaching the network through an apple AirPort Extreme, which is providing 
both NAT and DHCP services
* The computer I’m working on right now is set-up as the default host (i.e., it 
has a DHCP reservation, whose IP is the default host). 

Thanks very much for any and all help!

Sam

--
Lee Samuel Finn
lsf...@gmail.com




On Jul 28, 2014, at 2:54 PM, Jeremy Lavergne  wrote:

> According to your log, all your requests are being met with 403 Forbidden 
> from any/all web servers.
> 
> Are you sure you don’t continue to have something blocking these requests on 
> your end?
> 
> 
> 
> On Jul 28, 2014, at 14:49, Sam Finn  wrote:
> 
>> Hi, 
>> 
>> Since my upgrade to Mavericks I’ve had a problem with some port fetches 
>> consistently running through a long list of mirrors before eventually 
>> failing. Your help in resolving this problem will be greatly appreciated. 
>> 
>> Here is an example of the problem: 
>> 
>> Appletree [138] Yeah? sudo port install gettext
>> --->  Computing dependencies for gettext
>> --->  Dependencies to be installed: expat libiconv
>> --->  Fetching distfiles for expat
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://superb-dca2.dl.sourceforge.net/project/expat/expat/2.1.0
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://hivelocity.dl.sourceforge.net/project/expat/expat/2.1.0
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://softlayer-dal.dl.sourceforge.net/project/expat/expat/2.1.0
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://sea.us.distfiles.macports.org/macports/distfiles/expat
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://distfiles.macports.org/expat
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/expat
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://kent.dl.sourceforge.net/project/expat/expat/2.1.0
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://heanet.dl.sourceforge.net/project/expat/expat/2.1.0
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://freefr.dl.sourceforge.net/project/expat/expat/2.1.0
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://optimate.dl.sourceforge.net/project/expat/expat/2.1.0
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://lil.fr.distfiles.macports.org/expat
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://nue.de.distfiles.macports.org/macports/distfiles/expat
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://switch.dl.sourceforge.net/project/expat/expat/2.1.0
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://garr.dl.sourceforge.net/project/expat/expat/2.1.0
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/expat
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://citylan.dl.sourceforge.net/project/expat/expat/2.1.0
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/expat
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://ufpr.dl.sourceforge.net/project/expat/expat/2.1.0
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://cjj.kr.distfiles.macports.org/expat
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://nchc.dl.sourceforge.net/project/expat/expat/2.1.0
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://jaist.dl.sourceforge.net/project/expat/expat/2.1.0
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://aarnet.dl.sourceforge.net/project/expat/expat/2.1.0
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/expat
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://internode.dl.sourceforge.net/project/expat/expat/2.1.0
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://jog.id.distfiles.macports.org/macports/mpdistfiles/expat
>> --->  Attempting to fetch expat-2.1.0.tar.gz from 
>> http://waix.dl.sourceforge.net/project/expat/expat/2.1.0
>> --->  Attempting to f

Re: Need help: Some port fetches consistently fail

2014-07-28 Thread Jeremy Lavergne
According to your log, all your requests are being met with 403 Forbidden from 
any/all web servers.

Are you sure you don’t continue to have something blocking these requests on 
your end?



On Jul 28, 2014, at 14:49, Sam Finn  wrote:

> Hi, 
> 
> Since my upgrade to Mavericks I’ve had a problem with some port fetches 
> consistently running through a long list of mirrors before eventually 
> failing. Your help in resolving this problem will be greatly appreciated. 
> 
> Here is an example of the problem: 
> 
> Appletree [138] Yeah? sudo port install gettext
> --->  Computing dependencies for gettext
> --->  Dependencies to be installed: expat libiconv
> --->  Fetching distfiles for expat
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://superb-dca2.dl.sourceforge.net/project/expat/expat/2.1.0
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://hivelocity.dl.sourceforge.net/project/expat/expat/2.1.0
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://softlayer-dal.dl.sourceforge.net/project/expat/expat/2.1.0
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://sea.us.distfiles.macports.org/macports/distfiles/expat
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://distfiles.macports.org/expat
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/expat
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://kent.dl.sourceforge.net/project/expat/expat/2.1.0
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://heanet.dl.sourceforge.net/project/expat/expat/2.1.0
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://freefr.dl.sourceforge.net/project/expat/expat/2.1.0
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://optimate.dl.sourceforge.net/project/expat/expat/2.1.0
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://lil.fr.distfiles.macports.org/expat
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://nue.de.distfiles.macports.org/macports/distfiles/expat
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://switch.dl.sourceforge.net/project/expat/expat/2.1.0
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://garr.dl.sourceforge.net/project/expat/expat/2.1.0
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/expat
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://citylan.dl.sourceforge.net/project/expat/expat/2.1.0
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/expat
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://ufpr.dl.sourceforge.net/project/expat/expat/2.1.0
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://cjj.kr.distfiles.macports.org/expat
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://nchc.dl.sourceforge.net/project/expat/expat/2.1.0
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://jaist.dl.sourceforge.net/project/expat/expat/2.1.0
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://aarnet.dl.sourceforge.net/project/expat/expat/2.1.0
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/expat
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://internode.dl.sourceforge.net/project/expat/expat/2.1.0
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://jog.id.distfiles.macports.org/macports/mpdistfiles/expat
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://waix.dl.sourceforge.net/project/expat/expat/2.1.0
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/expat
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://netcologne.dl.sourceforge.net/project/expat/expat/2.1.0
> --->  Attempting to fetch expat-2.1.0.tar.gz from 
> http://svn.macports.org/repository/macports/distfiles/expat
> Error: org.macports.fetch for port expat returned: fetch failed
> Error: Failed to install expat
> Please see the log file for port expat for details:
> 
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
> Error: The following dependencies were not installed: expat libiconv
> To report a bug, follow the instructions in the guide:
> http://guide.macports.org/#project.tickets
> Error: Processing of port gettext failed
> 
> [Attached is the log file noted in the error message.]
> 
> This happens with most, but not

Need help: Some port fetches consistently fail

2014-07-28 Thread Sam Finn
Hi, Since my upgrade to Mavericks I’ve had a problem with some port fetches consistently running through a long list of mirrors before eventually failing. Your help in resolving this problem will be greatly appreciated. Here is an example of the problem: Appletree [138] Yeah? sudo port install gettext--->  Computing dependencies for gettext--->  Dependencies to be installed: expat libiconv--->  Fetching distfiles for expat--->  Attempting to fetch expat-2.1.0.tar.gz from http://superb-dca2.dl.sourceforge.net/project/expat/expat/2.1.0--->  Attempting to fetch expat-2.1.0.tar.gz from http://hivelocity.dl.sourceforge.net/project/expat/expat/2.1.0--->  Attempting to fetch expat-2.1.0.tar.gz from http://softlayer-dal.dl.sourceforge.net/project/expat/expat/2.1.0--->  Attempting to fetch expat-2.1.0.tar.gz from http://sea.us.distfiles.macports.org/macports/distfiles/expat--->  Attempting to fetch expat-2.1.0.tar.gz from http://distfiles.macports.org/expat--->  Attempting to fetch expat-2.1.0.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/expat--->  Attempting to fetch expat-2.1.0.tar.gz from http://kent.dl.sourceforge.net/project/expat/expat/2.1.0--->  Attempting to fetch expat-2.1.0.tar.gz from http://heanet.dl.sourceforge.net/project/expat/expat/2.1.0--->  Attempting to fetch expat-2.1.0.tar.gz from http://freefr.dl.sourceforge.net/project/expat/expat/2.1.0--->  Attempting to fetch expat-2.1.0.tar.gz from http://optimate.dl.sourceforge.net/project/expat/expat/2.1.0--->  Attempting to fetch expat-2.1.0.tar.gz from http://lil.fr.distfiles.macports.org/expat--->  Attempting to fetch expat-2.1.0.tar.gz from http://nue.de.distfiles.macports.org/macports/distfiles/expat--->  Attempting to fetch expat-2.1.0.tar.gz from http://switch.dl.sourceforge.net/project/expat/expat/2.1.0--->  Attempting to fetch expat-2.1.0.tar.gz from http://garr.dl.sourceforge.net/project/expat/expat/2.1.0--->  Attempting to fetch expat-2.1.0.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/expat--->  Attempting to fetch expat-2.1.0.tar.gz from http://citylan.dl.sourceforge.net/project/expat/expat/2.1.0--->  Attempting to fetch expat-2.1.0.tar.gz from http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/expat--->  Attempting to fetch expat-2.1.0.tar.gz from http://ufpr.dl.sourceforge.net/project/expat/expat/2.1.0--->  Attempting to fetch expat-2.1.0.tar.gz from http://cjj.kr.distfiles.macports.org/expat--->  Attempting to fetch expat-2.1.0.tar.gz from http://nchc.dl.sourceforge.net/project/expat/expat/2.1.0--->  Attempting to fetch expat-2.1.0.tar.gz from http://jaist.dl.sourceforge.net/project/expat/expat/2.1.0--->  Attempting to fetch expat-2.1.0.tar.gz from http://aarnet.dl.sourceforge.net/project/expat/expat/2.1.0--->  Attempting to fetch expat-2.1.0.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/expat--->  Attempting to fetch expat-2.1.0.tar.gz from http://internode.dl.sourceforge.net/project/expat/expat/2.1.0--->  Attempting to fetch expat-2.1.0.tar.gz from http://jog.id.distfiles.macports.org/macports/mpdistfiles/expat--->  Attempting to fetch expat-2.1.0.tar.gz from http://waix.dl.sourceforge.net/project/expat/expat/2.1.0--->  Attempting to fetch expat-2.1.0.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/expat--->  Attempting to fetch expat-2.1.0.tar.gz from http://netcologne.dl.sourceforge.net/project/expat/expat/2.1.0--->  Attempting to fetch expat-2.1.0.tar.gz from http://svn.macports.org/repository/macports/distfiles/expatError: org.macports.fetch for port expat returned: fetch failedError: Failed to install expatPlease see the log file for port expat for details:    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.logError: The following dependencies were not installed: expat libiconvTo report a bug, follow the instructions in the guide:    http://guide.macports.org/#project.ticketsError: Processing of port gettext failed[Attached is the log file noted in the error message.]This happens with most, but not all, ports. There appears to be no rhyme or reason to which succeed or which fail, except that ports that fail on the fetch consistently fail on the fetch. This is happening with all of my systems (three: home, work, and laptop). All three systems are * MacOS Version: 10.9.4* MacPorts Version: 2.3.1Things I’ve tried:* firewall(s) off;* different IPs on the same network; * different networks (home, work, public hotspots, other remote locations in the US and Europe)* Fresh reinstall of MacPortsAgain, thanks in advance for any help you can offer. Best, Sam

main.log
Description: Binary data

--Lee Samuel FinnProfessor, Dept Physics;   Dept Astronomy & AstrophysicsThe Pennsylvania State University104 Davey LaboratoryUniversity Pa

Re: Help with DYLD_LIBRARY_PATH

2014-07-03 Thread Chris Jones



Non I want but build Saga, and use pre-built frameworks shared by other 
softwares.

So what i want is to use the provided basic libs available in MacPorts, but it 
also use the ones i pointed
/Library/Frameworks/GEOS.framework/Versions/Current/unix/lib
/Library/Frameworks/GDAL.framework/Versions/Current/unix/lib
/Library/Frameworks/PROJ.framework/Versions/Current/unix/lib


That is intentionally not supported by MacPorts, for various good 
reasons. See


https://trac.macports.org/wiki/FAQ#syslibs

Chris
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help with DYLD_LIBRARY_PATH

2014-07-03 Thread M-Rick

Le 3 juil. 2014 à 07:41, Ryan Schmidt a écrit :

> 
> On Jul 2, 2014, at 3:04 PM, M-Rick  wrote:
> 
>> I wanted to install SAGA GIS and forcing MacPorts to build over already 
>> existing libraries.
>> I edited the macports.conf file and added this line but MacPorts doesn't 
>> seem to care about…
>> 
>> Is this correct?
>> 
>> extra_env
>> DYLD_LIBRARY_PATH=/Library/Frameworks/GEOS.framework/Versions/Current/unix/lib:/Library/Frameworks/GDAL.framework/Versions/Current/unix/lib:
>>  
>> /Library/Frameworks/PROJ.framework/Versions/Current/unix/lib:/Library/Frameworks/PROJ.framework/Versions/Current/unix/lib:/opt/lib
> 
> It is almost always incorrect for a user to try to set the DYLD_LIBRARY_PATH 
> variable to any value.
> 
> Could you explain in more detail exactly what you're trying to accomplish? 
> Then maybe we can suggest the correct solution. You mentioned "SAGA GIS". Is 
> this something available in MacPorts?

yes
https://www.macports.org/ports.php?by=name&substr=saga
https://trac.macports.org/browser/trunk/dports/gis/saga/Portfile

> If so, what is the port name, or, if it is not yet an official port, where 
> can the portfile be found? Or is it something you're compiling manually? If 
> so, how does this relate to MacPorts? Are you using MacPorts ports as 
> dependencies?

Non I want but build Saga, and use pre-built frameworks shared by other 
softwares.

So what i want is to use the provided basic libs available in MacPorts, but it 
also use the ones i pointed
/Library/Frameworks/GEOS.framework/Versions/Current/unix/lib
/Library/Frameworks/GDAL.framework/Versions/Current/unix/lib
/Library/Frameworks/PROJ.framework/Versions/Current/unix/lib

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Help with DYLD_LIBRARY_PATH

2014-07-02 Thread Ryan Schmidt

On Jul 2, 2014, at 3:04 PM, M-Rick  wrote:

> I wanted to install SAGA GIS and forcing MacPorts to build over already 
> existing libraries.
> I edited the macports.conf file and added this line but MacPorts doesn't seem 
> to care about…
> 
> Is this correct?
> 
> extra_env 
> DYLD_LIBRARY_PATH=/Library/Frameworks/GEOS.framework/Versions/Current/unix/lib:/Library/Frameworks/GDAL.framework/Versions/Current/unix/lib:
>  
> /Library/Frameworks/PROJ.framework/Versions/Current/unix/lib:/Library/Frameworks/PROJ.framework/Versions/Current/unix/lib:/opt/lib

It is almost always incorrect for a user to try to set the DYLD_LIBRARY_PATH 
variable to any value.

Could you explain in more detail exactly what you're trying to accomplish? Then 
maybe we can suggest the correct solution. You mentioned "SAGA GIS". Is this 
something available in MacPorts? If so, what is the port name, or, if it is not 
yet an official port, where can the portfile be found? Or is it something 
you're compiling manually? If so, how does this relate to MacPorts? Are you 
using MacPorts ports as dependencies?

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Help with DYLD_LIBRARY_PATH

2014-07-02 Thread M-Rick
Hi

I wanted to install SAGA GIS and forcing MacPorts to build over already 
existing libraries.
I edited the macports.conf file and added this line but MacPorts doesn't seem 
to care about…

Is this correct?

extra_env   
DYLD_LIBRARY_PATH=/Library/Frameworks/GEOS.framework/Versions/Current/unix/lib:/Library/Frameworks/GDAL.framework/Versions/Current/unix/lib:
 
/Library/Frameworks/PROJ.framework/Versions/Current/unix/lib:/Library/Frameworks/PROJ.framework/Versions/Current/unix/lib:/opt/lib

Best regards.


___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Please help: How to ignore outdated package when upgrading?

2014-04-22 Thread Ryan Schmidt

On Apr 22, 2014, at 07:58, René J.V. Bertin wrote:

> On Tuesday April 22 2014 14:06:19 Asis Hallab wrote:
> 
>> I did this "forced" with the "-f" switch. Unfortunately now I can not
>> see which packages depend on postgresql83 - or can i?
> 
> I think that normally MacPorts would tell you which packages prevent 
> uninstallation (and then proceed if you supplied -f). So if you didn't get 
> any warnings, it may be that there were no dependents.
> 
>> Is there way to infer which packages depend on another, in my case 
>> postgresql83?
> 
> port rdependents 
> 
> lists all dependents recursively (though I think it also lists packages you 
> haven't installed).

That appears to require the port to still be installed:

$ port rdependents postgresql83
Error: Registry error: postgresql83 not registered as installed.

However, this doesn’t:

$ port echo rdependentof:postgresql83

That produces no output on my system so perhaps it only deals with installed 
packages.

This, on the other hand, lists all ports depending directly on postgresql83, 
regardless whether they’re installed or not:

$ port echo depends:postgresql83
BigSQL  
libpqxx26   
libzdb-postgresql83 
MOSS
ocaml-postgresql
pgtcl   
qt4-mac-postgresql83-plugin 
qt4-x11 
rb-plruby   
rb-postgres 
postgresql83-server 
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Please help: How to ignore outdated package when upgrading?

2014-04-22 Thread René J . V . Bertin
On Tuesday April 22 2014 14:06:19 Asis Hallab wrote:

> I did this "forced" with the "-f" switch. Unfortunately now I can not
> see which packages depend on postgresql83 - or can i?

I think that normally MacPorts would tell you which packages prevent 
uninstallation (and then proceed if you supplied -f). So if you didn't get any 
warnings, it may be that there were no dependents.

> Is there way to infer which packages depend on another, in my case 
> postgresql83?

port rdependents 

lists all dependents recursively (though I think it also lists packages you 
haven't installed).

The other way to proceed, after you figure out which packages depend on an 
obsolete package you want to purge, is to do a port install of said packages 
without the variant linking to your obsolete package (e.g. perl5.12). This 
should typically give you a variant that depends on the new dependency, and you 
can then uninstall the other package.

R.
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Please help: How to ignore outdated package when upgrading?

2014-04-22 Thread Asis Hallab
Dear Ryan,

thank you very much for your answer.


> $ sudo port uninstall postgresql83
>

I did this "forced" with the "-f" switch. Unfortunately now I can not
see which packages depend on postgresql83 - or can i?
Is there way to infer which packages depend on another, in my case postgresql83?

I will gladly uninstall them.

Cheers!
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Please help: How to ignore outdated package when upgrading?

2014-04-22 Thread Ryan Schmidt

On Apr 22, 2014, at 05:55, Asis Hallab wrote:

> Dear MacPort Experts,
> 
> thank you for supplying MacPorts. It is very useful indeed.
> 
> I am running MacPorts 2.2.1 on Mac OS 10.9.2 Mavericks.
> When running
> 
> $sudo port upgrade outdated
> 
> I get the following error
> 
> Error: org.macports.configure for port postgresql83 returned:
> configure failure: command execution failed
> 
> As postgresql83 is outdated and I already installed postgresql93 I
> want this update to be skipped.
> But
> 
> $sudo port upgrade outdated not postgresql83
> 
> generates the same error.
> 
> I searched the web on how to solve this as thoroughly as I could, but
> could not find any solution.
> 
> Is there a way to uninstall all packages that depend on postgresl83?
> And why is "[...] and not postgresl83" simply ignored?

MacPorts did not ignore your instruction, but some other port that you have 
installed presumably depends on postgresql83, hence MacPorts was required to 
attempt to update postgresql83 before attempting to upgrade that other port.

Since postgresql83 is old and you already have a newer version, uninstall it:

$ sudo port uninstall postgresql83

This will presumably fail, telling you what other port you have installed 
depends on postgresql83. You can then either uninstall that port as well if you 
no longer need it, or see if it has a variant for a newer version of postgresql 
that you can use instead.

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Please help: How to ignore outdated package when upgrading?

2014-04-22 Thread Asis Hallab
Dear MacPort Experts,

thank you for supplying MacPorts. It is very useful indeed.

I am running MacPorts 2.2.1 on Mac OS 10.9.2 Mavericks.
When running

$sudo port upgrade outdated

I get the following error

Error: org.macports.configure for port postgresql83 returned:
configure failure: command execution failed

As postgresql83 is outdated and I already installed postgresql93 I
want this update to be skipped.
But

$sudo port upgrade outdated not postgresql83

generates the same error.

I searched the web on how to solve this as thoroughly as I could, but
could not find any solution.

Is there a way to uninstall all packages that depend on postgresl83?
And why is "[...] and not postgresl83" simply ignored?

Your help will be much appreciated.
Kind regards!
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


help

2014-04-20 Thread jubril davies
On Sun, Apr 20, 2014 at 3:00 PM, <
macports-users-requ...@lists.macosforge.org> wrote:

> Send macports-users mailing list submissions to
> macports-users@lists.macosforge.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.macosforge.org/mailman/listinfo/macports-users
> or, via email, send a message with subject or body 'help' to
> macports-users-requ...@lists.macosforge.org
>
> You can reach the person managing the list at
> macports-users-ow...@lists.macosforge.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of macports-users digest..."
>
>
> Today's Topics:
>
>1. mysql5 fails to install (Jonathan Koren)
>2. Re: [MacPorts] #43123: p5.12-mail-clamav: error: unknown
>   argument: '-R/opt/local/lib' (Horst Simon)
>3. Re: mysql5 fails to install (Ryan Schmidt)
>4. `ports clean all' warning: No value for java JAVA_HOME was
>   automatically discovered (j. van den hoff)
>5. Post Feb 2013 binary versions of MongoDB missing from mirrors
>   (Behrang Saeedzadeh)
>6. Re: Post Feb 2013 binary versions of MongoDB missing from
>   mirrors (Clemens Lang)
>
>
> --
>
> Message: 1
> Date: Sat, 19 Apr 2014 18:00:26 -0700
> From: Jonathan Koren 
> To: MacPorts Users 
> Subject: mysql5 fails to install
> Message-ID: <72ba17c9-309b-49f7-b83b-9bd8533e8...@robotmonkeys.net>
> Content-Type: text/plain; charset=windows-1252
>
>
> I?m trying to install the mysql5 port ( @5.1.72 ), but it dies in the
> ./configure script.
>
> $ sudo port install -f mysql5
> --->  Computing dependencies for mysql5
> --->  Configuring mysql5
> Error: Failed to configure mysql5, consult
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72/config.log
> Error: org.macports.configure for port mysql5 returned: configure failure:
> command execution failed
> Please see the log file for port mysql5 for details:
>
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/main.log
> To report a bug, follow the instructions in the guide:
> http://guide.macports.org/#project.tickets
> Error: Processing of port mysql5 failed
>
> Check unwinding the logs, show that the configure  invoked was:
> ./configure --prefix=/opt/local --mandir=/opt/local/share/man
> --infodir=/opt/local/share/info --localstatedir=/opt/local/var/db/mysql5
> --libdir=/opt/local/lib/mysql5 --bindir=/opt/local/lib/mysql5/bin
> --includedir=/opt/local/include/mysql5 --datadir=/opt/local/share/mysql5
> --sysconfdir=/opt/local/etc/mysql5 --with-zlib-dir=/opt/local
> --with-ssl=/opt/local --with-extra-charsets=complex
> --with-unix-socket-path=/opt/local/var/run/mysql5/mysqld.sock
> --with-mysqld-user=_mysql --without-docs --with-plugins=all
> --enable-thread-safe-client --without-readline --with-embedded-server
> --with-pic
>
> which fails with:
>
> checking HIST_ENTRY is declared in readline/readline.h... yes
> configure: error: Could not find system readline or libedit libraries
>   Use --with-readline or --with-libedit to use the bundled
>   versions of libedit or readline
>
> That?s a bit odd because macports did install readline as a dependency.
>
> Removing ?without-readline or replacing ?without-readline with
> ?with-readline let?s ./configure succeed, but then running sudo make
> install, fails complaining about abi_check, so something else is still
> wrong.
>
> Does anyone have any idea what is wrong here?
>
> Thanks.
>
> --
>
> Message: 2
> Date: Sun, 20 Apr 2014 11:47:13 +1000
> From: Horst Simon 
> To: MacPorts Users 
> Cc: Ryan Schmidt 
> Subject: Re: [MacPorts] #43123: p5.12-mail-clamav: error: unknown
> argument:   '-R/opt/local/lib'
> Message-ID: <10db30a7-9bc2-45de-b470-4a4c54454...@optusnet.com.au>
> Content-Type: text/plain; charset=windows-1252
>
>
> On 1 Apr 2014, at 16:44, MacPorts  wrote:
>
> > #43123: p5.12-mail-clamav: error: unknown argument: '-R/opt/local/lib'
> > +-
> >  Reporter:  horst.simon@?  |  Owner:  dluke@?
> >  Type:  defect | Status:  new
> >  Priority:  Normal |  Milestone:
> > Component:  ports  |Version:  2.2.1
> > Resolution: |   K

Re: help! - Python, Tkinter and IDLE

2014-04-05 Thread ugajin


Apology accepted.

Yes, I still have to decide which way to go. I was happy enough to revert back 
to Python 2.6.2 on OSX as it seemed the simpler solution. The problem that I 
also encountered at this time if interesting, is an unrelated Python issue. 

On reflection, I have decided that to port install py27-tkinter is a good way 
forward, as I would like also to install the PIL library, and I see I can port 
py27-pil, too. But, I have yet to implement the decision :)

Thanks for your help.

 -A

 

 

 

-Original Message-
From: Ryan Schmidt 
To: uga...@talktalk.net
CC: MacPorts Users 
Sent: Sat, 5 Apr 2014 0:46
Subject: Re: help! - Python, Tkinter and IDLE



On Apr 4, 2014, at 06:54, uga...@talktalk.net wrote:

> I do not believe I told you as you claim, 'And you told us you installed Tcl 
and Tk in /Library/Frameworks. So that could be a problem.'

Sorry, I misremembered your original message, in which you said you had 
downloaded an installer that would install Tcl and Tk there, but that you had 
not run it yet.

> As I have not ported Tcl/Tk, that cannot be the problem. 
> AFAIK to run IDLE Python requires Tcl/tk. 

Indeed, IDLE requires Tcl and tk. And installing the py27-tkinter port would 
install MacPorts Tcl and tk.


 
 
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: help! - Python, Tkinter and IDLE

2014-04-04 Thread Ryan Schmidt

On Apr 4, 2014, at 06:54, uga...@talktalk.net wrote:

> I do not believe I told you as you claim, 'And you told us you installed Tcl 
> and Tk in /Library/Frameworks. So that could be a problem.'

Sorry, I misremembered your original message, in which you said you had 
downloaded an installer that would install Tcl and Tk there, but that you had 
not run it yet.

> As I have not ported Tcl/Tk, that cannot be the problem. 
> AFAIK to run IDLE Python requires Tcl/tk. 

Indeed, IDLE requires Tcl and tk. And installing the py27-tkinter port would 
install MacPorts Tcl and tk.

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: help! - Python, Tkinter and IDLE

2014-04-04 Thread ugajin

 

Yes I may try this, as I have resolved the problem. 


YEAY!

Thanks, all.

-A



 

-Original Message-
From: Lenore Horner 
To: MacPorts Users 
Sent: Fri, 4 Apr 2014 11:52
Subject: Re: help! - Python, Tkinter and IDLE




I have attached a screen grab of the alert message which now appears when I try 
to run IDLE from OSX Python. The message box is itself frozen, and the OK 
button unresponsive. Eventually a shape the size of the IDLE window appears on 
screen as a blank white square, and I have to force quit, to quit the python 
launcher. 
In addition, this is the console message that appears in Terminal:
Apples-iMac-4:scripts apple$ IDLE
11:20:00
Traceback (most recent call last):
  File "", line 1, in 
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/idlelib/run.py",
 line 7, in 
import threading
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py",
 line 14, in 
from time import time as _time, sleep as _sleep
ImportError: cannot import name sleep

The console message has identical content to a message that I am also currently 
investigating, and which had caused me to try to launch IDLE at this time. This 
problem relates to running Python scripts that have import commands to a 
particular 3rd party library, which were working, but now no longer work 
without generating the same console message. Other scripts seem to run OK on 
both OSX Python and the macported Python. I would say the problem is with the 
3rd party library save that IDLE is not related to that library.

This may or may not be a macport issue, but as you say, having both macported 
and OSX versions of Python may be causing a conflict. Please explain how I may 
follow your initial advise on removing manually-installed software it may help.
Install py27-tkinter and IDLE installed by MacPorts python will work.  (At 
least it opens for me when I did only that.  I didn’t actually do anything in 
IDLE.)


Lenore


 
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users

 
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: help! - Python, Tkinter and IDLE

2014-04-04 Thread ugajin

I don't have Python installed in the location /usr/local, and it isn't clear 
which Library you are referring to. 
I do not believe I told you as you claim, 'And you told us you installed Tcl 
and Tk in /Library/Frameworks. So that could be a problem.'
As I have not ported Tcl/Tk, that cannot be the problem. 
AFAIK to run IDLE Python requires Tcl/tk. 
It was perhaps a long shot, but you may have helped rule out a possible cause 
of the problem being due to having both 
MacPorts and Apple-provided versions of Python installed. 

Thanks

-A



 

-Original Message-
From: Ryan Schmidt 
To: uga...@talktalk.net
CC: MacPorts Users 
Sent: Fri, 4 Apr 2014 11:46
Subject: Re: help! - Python, Tkinter and IDLE



On Apr 4, 2014, at 05:17, uga...@talktalk.net wrote:

> This is a follow up, I had originally posted in regard to problems running 
> the 
Tkinter libraries on a Macports installed version of Python. As a short term 
solution I reverted back to the OSX Python version, and I am now in the merde. 
> 
> Recently Ryan, wrote:
> 
> "Software installed in /usr/local or /Library/Frameworks often causes 
> problems 
for MacPorts-installed software. You should use MacPorts, or manually-installed 
software in those locations, not both together; to avoid problems, please 
uninstall the one you don’t want to use."
> 
> This is a bit unclear as there are several Library locations, and because 
Python on OSX v10.6.8 is located here: 
/System/Library/Frameworks/Python.framework/Versions/. 
. .

I don’t doubt that, and there’s nothing wrong with that.

> and I have nothing in /usr/local. In addition, the Macports Python installed 
here: /opt/local/Library/Frameworks/Python.framework/Versions/. . .

I’m not disputing that.

Re-read what I wrote. Software installed in the locations /usr/local or 
/Library/Frameworks is a problem. And you told us you installed Tcl and Tk in 
/Library/Frameworks. So that could be a problem.


> I almost spoke to soon, when I was about to say: 'I am able to run either 
versions quite happily, and do not run the two versions at the same time'. I 
can 
continue to run either Python version happily but with a few exceptions. I 
still 
can't run IDLE with the macports version of Python (I have not yet ported 
Tcl/tk), but it did run with the OSX python version, until now that is. 

The problem is not running them at the same time. The problem is that the 
existence of software in /usr/local or /Library/Frameworks could be detected by 
software you’re trying to build with MacPorts, thereby either causing the build 
to fail, or causing the build to use those libraries instead of the MacPorts 
versions of same that should have been used.


> Thinking about your advice, I pondered whether this is the cause of a problem 
that I am now experiencing, and I looked at un-installing the macports version, 
but I have been unable to proceed with this. I am unable to uninstall python27 
@2.7.6_0 primarily because I want to retain Fontforge which depends on it. I 
guess I could try uninstalling Fontforge and dependencies, but this would leave 
me without Fontforge and it may not resolve the current IDLE issue for OSX 
Python. Another, possible solution is to port Tcl/Tk and re-activate the port 
Python as default, but I am not confident this will not also inherit the 
current 
problem that I am experiencing with IDLE, and I would like to resolve this 
issue 
in the first instance.

My advice refers to the collection of software as a whole. Either use software 
installed by MacPorts (and uninstall software installed in /usr/local or 
/Library/Frameworks), or use software installed in /usr/local or 
/Library/Frameworks (and uninstall MacPorts and all software installed with 
it). 
Mixing and matching will lead to problems.


> I have attached a screen grab of the alert message which now appears when I 
try to run IDLE from OSX Python. The message box is itself frozen, and the OK 
button unresponsive. Eventually a shape the size of the IDLE window appears on 
screen as a blank white square, and I have to force quit, to quit the python 
launcher. 
> In addition, this is the console message that appears in Terminal:
> Apples-iMac-4:scripts apple$ IDLE
> 11:20:00
> Traceback (most recent call last):
>   File "", line 1, in 
>   File 
> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/idlelib/run.py",
>  
line 7, in 
> import threading
>   File 
> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py",
>  
line 14, in 
> from time import time as _time, sleep as _sleep
> ImportError: cannot import name sleep

What is this command “IDLE”? What does “which IDLE” say?

“IDLE” is not installed by the python27 port. The python27 port installs 
“idle2.7”. Please try running “idle2.7”.


> The consol

Re: help! - Python, Tkinter and IDLE

2014-04-04 Thread Lenore Horner

> I have attached a screen grab of the alert message which now appears when I 
> try to run IDLE from OSX Python. The message box is itself frozen, and the OK 
> button unresponsive. Eventually a shape the size of the IDLE window appears 
> on screen as a blank white square, and I have to force quit, to quit the 
> python launcher. 
> In addition, this is the console message that appears in Terminal:
> Apples-iMac-4:scripts apple$ IDLE
> 11:20:00
> Traceback (most recent call last):
>   File "", line 1, in 
>   File 
> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/idlelib/run.py",
>  line 7, in 
> import threading
>   File 
> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py",
>  line 14, in 
> from time import time as _time, sleep as _sleep
> ImportError: cannot import name sleep
> 
> The console message has identical content to a message that I am also 
> currently investigating, and which had caused me to try to launch IDLE at 
> this time. This problem relates to running Python scripts that have import 
> commands to a particular 3rd party library, which were working, but now no 
> longer work without generating the same console message. Other scripts seem 
> to run OK on both OSX Python and the macported Python. I would say the 
> problem is with the 3rd party library save that IDLE is not related to that 
> library.
> 
> This may or may not be a macport issue, but as you say, having both macported 
> and OSX versions of Python may be causing a conflict. Please explain how I 
> may follow your initial advise on removing manually-installed software it may 
> help.
Install py27-tkinter and IDLE installed by MacPorts python will work.  (At 
least it opens for me when I did only that.  I didn’t actually do anything in 
IDLE.)

Lenore

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: help! - Python, Tkinter and IDLE

2014-04-04 Thread Ryan Schmidt

On Apr 4, 2014, at 05:17, uga...@talktalk.net wrote:

> This is a follow up, I had originally posted in regard to problems running 
> the Tkinter libraries on a Macports installed version of Python. As a short 
> term solution I reverted back to the OSX Python version, and I am now in the 
> merde. 
> 
> Recently Ryan, wrote:
> 
> "Software installed in /usr/local or /Library/Frameworks often causes 
> problems for MacPorts-installed software. You should use MacPorts, or 
> manually-installed software in those locations, not both together; to avoid 
> problems, please uninstall the one you don’t want to use."
> 
> This is a bit unclear as there are several Library locations, and because 
> Python on OSX v10.6.8 is located here: 
> /System/Library/Frameworks/Python.framework/Versions/. . .

I don’t doubt that, and there’s nothing wrong with that.

> and I have nothing in /usr/local. In addition, the Macports Python installed 
> here: /opt/local/Library/Frameworks/Python.framework/Versions/. . .

I’m not disputing that.

Re-read what I wrote. Software installed in the locations /usr/local or 
/Library/Frameworks is a problem. And you told us you installed Tcl and Tk in 
/Library/Frameworks. So that could be a problem.


> I almost spoke to soon, when I was about to say: 'I am able to run either 
> versions quite happily, and do not run the two versions at the same time'. I 
> can continue to run either Python version happily but with a few exceptions. 
> I still can't run IDLE with the macports version of Python (I have not yet 
> ported Tcl/tk), but it did run with the OSX python version, until now that 
> is. 

The problem is not running them at the same time. The problem is that the 
existence of software in /usr/local or /Library/Frameworks could be detected by 
software you’re trying to build with MacPorts, thereby either causing the build 
to fail, or causing the build to use those libraries instead of the MacPorts 
versions of same that should have been used.


> Thinking about your advice, I pondered whether this is the cause of a problem 
> that I am now experiencing, and I looked at un-installing the macports 
> version, but I have been unable to proceed with this. I am unable to 
> uninstall python27 @2.7.6_0 primarily because I want to retain Fontforge 
> which depends on it. I guess I could try uninstalling Fontforge and 
> dependencies, but this would leave me without Fontforge and it may not 
> resolve the current IDLE issue for OSX Python. Another, possible solution is 
> to port Tcl/Tk and re-activate the port Python as default, but I am not 
> confident this will not also inherit the current problem that I am 
> experiencing with IDLE, and I would like to resolve this issue in the first 
> instance.

My advice refers to the collection of software as a whole. Either use software 
installed by MacPorts (and uninstall software installed in /usr/local or 
/Library/Frameworks), or use software installed in /usr/local or 
/Library/Frameworks (and uninstall MacPorts and all software installed with 
it). Mixing and matching will lead to problems.


> I have attached a screen grab of the alert message which now appears when I 
> try to run IDLE from OSX Python. The message box is itself frozen, and the OK 
> button unresponsive. Eventually a shape the size of the IDLE window appears 
> on screen as a blank white square, and I have to force quit, to quit the 
> python launcher. 
> In addition, this is the console message that appears in Terminal:
> Apples-iMac-4:scripts apple$ IDLE
> 11:20:00
> Traceback (most recent call last):
>   File "", line 1, in 
>   File 
> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/idlelib/run.py",
>  line 7, in 
> import threading
>   File 
> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py",
>  line 14, in 
> from time import time as _time, sleep as _sleep
> ImportError: cannot import name sleep

What is this command “IDLE”? What does “which IDLE” say?

“IDLE” is not installed by the python27 port. The python27 port installs 
“idle2.7”. Please try running “idle2.7”.


> The console message has identical content to a message that I am also 
> currently investigating, and which had caused me to try to launch IDLE at 
> this time. This problem relates to running Python scripts that have import 
> commands to a particular 3rd party library, which were working, but now no 
> longer work without generating the same console message. Other scripts seem 
> to run OK on both OSX Python and the macported Python. I would say the 
> problem is with the 3rd party library save that IDLE is not related to that 
> library.
> 
> This may or may not be a macport issue, but as 

Re: help on 'Xcode tool not installed'

2014-02-17 Thread Shiyuan
Yes, `port -d sync` fixed the problem. Thanks.


On Mon, Feb 17, 2014 at 2:37 PM, Clemens Lang  wrote:

> Hi,
>
> > Any step did I miss? Why Macports cannot find the portfile of python27?
>
> You don't have a current portindex. Running sudo port sync (if you want to
> see the progress output, and you probably do, because this might take 15
> minutes if you're doing it for the first time, use sudo port -d sync)
> should fix it.
>
> --
> Clemens Lang
>
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: help on 'Xcode tool not installed'

2014-02-17 Thread Clemens Lang
Hi,

> Any step did I miss? Why Macports cannot find the portfile of python27?

You don't have a current portindex. Running sudo port sync (if you want to see 
the progress output, and you probably do, because this might take 15 minutes if 
you're doing it for the first time, use sudo port -d sync) should fix it.

-- 
Clemens Lang
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: help on 'Xcode tool not installed'

2014-02-17 Thread Shiyuan
I do see the Portfile: /opt/local/var/macports/sources/
svn.macports.org/trunk/dports/lang/python27/Portfile

But `port search python27` doesn't return the port python27. So I guess I
must have missed some setup steps. The following is what I have done:

cd /opt/local/var/macports/sources/sudo mkdir -p
svn.macports.org/trunk/dportscd svn.macports.org/trunk/dports/# the
following step takes a whilesudo
/Applications/Xcode.app/Contents/Developer/usr/bin/svn co
http://svn.macports.org/repository/macports/trunk/dports/ .


Then I  commented the following line in
/opt/local/etc/macports/sources.conf:

rsync://rsync.macports.org/release/tarballs/ports.tar [default]

and replaced it with:
file:///opt/local/var/macports/sources/svn.macports.org/trunk/dports[default]

Any step did I miss? Why Macports cannot find the portfile of python27?

Thanks.

On Mon, Feb 17, 2014 at 1:17 PM, Jeremy Lavergne  wrote:

> https://svn.macports.org/repository/macports/trunk/dports/lang/python27/
>
> On Feb 17, 2014, at 16:12, Shiyuan  wrote:
>
> > In fact, I cannot find the python27 in the svn repos svn.macports.org.
>
>
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


  1   2   3   4   5   6   7   >