Re: Idle (Python) on OS X Mavericks

2014-05-28 Thread James Griffin

 On 28 May 2014, at 07:40, Ned Deily n...@acm.org wrote:
 
 In article 53854428.7000...@macports.org,
 Joshua Root j...@macports.org wrote:
 
 Ok, I’ve got python2.7 and 3.4 from Macports installed. I’m trying to use 
 idle but the error printed is:
 
 ** IDLE can’t import Tkinter. Your Python may not be configured for tk **
 
 I also installed the py34-tkinter port as I believe this port contains the 
 required libraries for Idle. The same error is printed. 
 
 Could it be a $PATH issue or missing libraries issue or both?
 
 PATH is currently set to: 
 
 /Users/jamie/bin:/opt/local/bin:/opt/local/sbin:/usr/local/sbin:/Users/jamie
 /bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bi
 n:/usr/texbin
 
 Some repetition of directories but that shouldn’t cause a problem (I don’t 
 think)
 
 Would anyone be able to offer some advice/info?
 
 How are you starting IDLE? I just installed python34 and py34-tkinter
 and double-clicking on /Applications/MacPorts/Python 3.4/IDLE.app works
 fine. (If you want to run /Applications/MacPorts/Python 2.7/IDLE.app
 then of course you would need py27-tkinter.)
 
 Also what port variant of tk are you using?  The quartz variant has open 
 issues for 10.9.x and Xcode 5.1:
 
 https://trac.macports.org/ticket/42850
 
 (ping!)
 
 -- 
 Ned Deily,
 n...@acm.org
 
 

Hi sorry to have wasted your time, it was a few simple but stupid errors on my 
part. I needed the correct tkinter library for the python I'm using and a few 
environment variables. 

Thank you both for your help anyway. 

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


Re: Warning When Using OpenDNS

2014-05-22 Thread James Griffin


 On 22 May 2014, at 14:46, Daniel J. Luke dl...@geeklair.net wrote:
 
 On May 22, 2014, at 6:14 AM, Clemens Lang c...@macports.org wrote:
 
 With OpenDNS it will probably not cause issues, but often providers do the 
 same
 thing to their customers and return an IP address at their data center 
 instead
 of the proper NXDOMAIN response. MacPorts then tries to find the fastest 
 mirror
 out of a set of mirrors by selecting the server with the lowest ping response
 time. If your provider is providing the bogus DNS answers it is usually the
 fastest, gets selected and downloads fail. The OpenDNS servers are probably 
 not
 the fastest to ping, though.
 
 they might be (they have a bunch of 'good' anycasted locations that make them 
 close to a lot of people), but I'm not sure how poorly they interact with 
 macports
 
 Also note that you can disable this behavior in OpenDNS' control panel.
 
 if you use OpenDNS, you should disable this (you can leave all of the other 
 stuff enabled). In their dashboard it's Settings - Advanced Setting - 
 Domain Typos - Enable type correction (and NX Domain redirection) 
 
 You want that turned off. For a dynamic IP connection, you then also want to 
 enable Dynamic IP Update and install the opendns client (to make sure you 
 keep your settings when your IP changes).
 
 The google dns servers don't do NXDOMAIN redirection, so they're a reasonable 
 alternative also (if there's some reason why you don't want to use your ISP's 
 nameserver). You could also run your own local recursive caching resolver 
 (unbound and bind9 are both available in macports).
 
 --
 Daniel J. Luke

 +==

I have been using my own name servers and mail servers but I've got fed up with 
bothering tbh. 

I came across opendns a fee days ago just thought I'd try it out. They claimed 
it would speed up my browsing and also add a layer of protection from malware 
etc.
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: X windows and applications advice

2014-05-21 Thread James Griffin


 On 20 May 2014, at 22:18, Brandon Allbery allber...@gmail.com wrote:
 
 On Tue, May 20, 2014 at 5:06 PM, Gustavo Seabra gustavo.sea...@gmail.com 
 wrote:
 On May 20, 2014, at 5:44 PM, Ryan Schmidt ryandes...@macports.org wrote:
  And in case it's not clear, XQuartz is the same software that's available 
  in MacPorts in the xorg-* ports. The versions in MacPorts are just usually 
  a little bit newer. I prefer to install X11 with MacPorts for this reason, 
  and because there will
  be less duplication of files.
 
 OK, in this case, what are the advantages (if any) of using XQuartz?
 
 
 I find it useful to be able to upgrade MacPorts without having to worry about 
 disturbing X11, since I can more easily upgrade it separately.
 
 -- 
 brandon s allbery kf8nh   sine nomine associates
 allber...@gmail.com  ballb...@sinenomine.net
 unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
 


I had XQuartz installed. I hadn't logged in and out (maybe irrelevant) but I 
simply deleted by selecting moving to trash. Is that all that's needed to get 
rid of it? I'm gunna build macports version. 
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: X windows and applications advice

2014-05-21 Thread James Griffin


 On 21 May 2014, at 11:12, Ryan Schmidt ryandes...@macports.org wrote:
 
 On May 21, 2014, at 04:50, James Griffin wrote:
 
 I had XQuartz installed. I hadn't logged in and out (maybe irrelevant) but I 
 simply deleted by selecting moving to trash. Is that all that's needed to 
 get rid of it? I'm gunna build macports version.
 
 I don't know. Did you check if XQuartz publishes an uninstall script, or 
 uninstall instructions?
 
 If you had informed launchd that you want to use XQuartz as your display, 
 you'll have to tell launchd to stop doing that. You may instead want to tell 
 it to use the MacPorts version.
 
 
 

I'll check for launchd stuff. I did try to find an uninstall script but nowt 
there. 

The macports install is pulling in texlive but I've already got mactex 
installed so not sure why it needs to do that. I suppose I could just stick 
with the macports texlive instead of the tug.org package. 
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


X windows and applications advice

2014-05-20 Thread James Griffin
Hi everyone, 

I wanted to run some xterms earlier and found I needed to install
XQuartz. Then I remembered (possibly incorrectly) that I could use X11
built using Macports.

Would you say using the X11 implementation is better in terms of using
and availability of X applications, many of which I will install using
Macports? I mean, the applications from Macports, are they able to be
used on XQuartz X server, I'm guessing they can be. 

I'm not experienced with X11 on Mac computers really so I apologise if
this is a silly question. 

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


Re: X windows and applications advice

2014-05-20 Thread James Griffin


 On 20 May 2014, at 22:18, Brandon Allbery allber...@gmail.com wrote:
 
 On Tue, May 20, 2014 at 5:06 PM, Gustavo Seabra gustavo.sea...@gmail.com 
 wrote:
 On May 20, 2014, at 5:44 PM, Ryan Schmidt ryandes...@macports.org wrote:
  And in case it's not clear, XQuartz is the same software that's available 
  in MacPorts in the xorg-* ports. The versions in MacPorts are just usually 
  a little bit newer. I prefer to install X11 with MacPorts for this reason, 
  and because there will
  be less duplication of files.
 
 OK, in this case, what are the advantages (if any) of using XQuartz?
 
 
 I find it useful to be able to upgrade MacPorts without having to worry about 
 disturbing X11, since I can more easily upgrade it separately.
 
 -- 
 brandon s allbery kf8nh   sine nomine associates
 allber...@gmail.com  ballb...@sinenomine.net
 unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
 ___
 

Ok looks like I'm ditching XQuartz and building macports' version. 

Helpful info, thanks everyone. 

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


Re: Launch Daemon Script For Clamav

2014-05-12 Thread James Griffin
Ok thanks, I'll try that port. 

Jamie. 

Sent from my iPhone

 On 12 May 2014, at 16:46, Daniel J. Luke dl...@geeklair.net wrote:
 
 On May 12, 2014, at 11:39 AM, Jamie Paul Griffin jp...@icloud.com wrote:
 
 I've reinstalled Clamav after not using it for a while and I'm wondering 
 about getting it initiated on system-startup. I've looked but don't see a 
 launchd script like the there used to be. 
 
 So I guess my questions are should there be one and if so, where can I get 
 it?
 
 Any help would be great. Thanks very much.
 
 you probably want to install the clamav-server port.
 
 --
 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: Broken perl configuration

2013-02-22 Thread James Griffin
- Daniel J. Luke dl...@geeklair.net [2013-02-21 11:46:29 -0500] - :

...

 Nope, but in general MacPorts (or any package management system) works best 
 when you 'buy in' and just use it for all your install management.

This is absolutely good advice. If you start to use Macports, simply use 
Macports for all of your software needs and installations, rather than 
installing things manually - it only leads to problems. I found that out the 
hard way when I stopped using Dovecot from Macports and decided to upgrade the 
Mac OS OX version, and spamassassin, and mutt. Everything became a mess. Had I 
just stuck to using Macports for all of these installations I wouldn't have had 
any of the headaches I experienced when trying to fix things. 

For example: if you are using a FreeBSD system or a Linux system, hardly anyone 
bothers to build and install source code themselves. They just use the package 
management system that comes with the OS. This is the same principle. It ensure 
that software is compiled correctly for the platform, that libraries and 
dependencies are configured and installed correctly, etc.


-- 
Primary Key: 4096R/1D31DC38 2011-12-03
Key Fingerprint: A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: UNIX commands font

2013-02-14 Thread James Griffin
- Lawrence Velázquez lar...@macports.org [2013-02-13 21:53:16 -0500] 
- :

 On Feb 13, 2013, at 9:22 PM, Alejandro Imass aim...@yabarana.com wrote:
 
  Do modern BSDs tend to default to another shell?
  
  sh and maybe tcsh - no bash included on most BSDs AFAIK unless it's from 
  ports.
 
 Huh. I don't recall having to use tcsh the last time I used FreeBSD, but I 
 very well might have installed zsh from ports during the installation 
 process, avoiding the default shell entirely.

Yes, FreeBSD defaults to csh which is a link to tcsh; OpenBSD which is my 
primary platform uses ksh or rather their own modified pdksh. They have 
incorporated some bash-like things. NetBSD defaults to sh, but you can choose 
other shells, either csh or ksh - bash is not included in the default 
installation. 

-- 
Primary Key: 4096R/1D31DC38 2011-12-03
Key Fingerprint: A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: UNIX commands font

2013-02-14 Thread James Griffin
- Eneko Gotzon Ares enekogot...@gmail.com [2013-02-13 23:25:53 +0100] 
- :

 I'm start learning UNIX.
 Please, is there a canonical way, may be a font, for write UNIX
 commands among normal text?
 Thanks!
 --
 Eneko Gotzon Ares

When I got my first Mac, I wanted to learn UNIX. I bought some excellent books 
published by O'Reilly, which focus on the UNIX subsystem of Mac OS X. I can 
recommend these books or others like it. That's the best way.

Also first thing to learn is the shell. Read the man pages and get some books 
specific to the shell you are going to use. ksh is my preferred shell, bash is 
probably used more. 

-- 
Primary Key: 4096R/1D31DC38 2011-12-03
Key Fingerprint: A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: question about frequency of updates

2013-02-13 Thread James Griffin
- Ryan Schmidt ryandes...@macports.org [2013-02-12 14:52:17 -0600] - :

 
 On Feb 12, 2013, at 14:13, Comer Duncan wrote:
 
  I am wondering whether I might put in a  task in launchd to automatically 
  do something like  'sudo port selfupdate;  sudo port upgrade outdated' ?  
  Or should I just make a reminder to run these by hand occasionally? I would 
  like it if the macport distribution would be reasonably 
  self-updating...since I tend to forget.
 
 We're not very automatically-updating at the moment unfortunately. It's 
 probably a better idea to set a reminder to do it yourself manually every 
 month or two, because ports will often print messages that you need to read 
 and act upon.

Personally, I'd say updating once a month is sufficient. That's the frequency I 
update myself anyway. 

Jamie

-- 
Primary Key: 4096R/1D31DC38 2011-12-03
Key Fingerprint: A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Side effects?

2013-01-31 Thread James Griffin
* Ian Wadham iandw...@gmail.com [2013-01-31 14:34:06 +1100]:
 
 BTW, does Macports have a nice safe GUI?
 
 Cheers, Ian W.

My feeling is that Macports doesn't need a GUI. Using the command-line
is part of the fun. When I got my first Mac I spent literally all
of my computing time on it using the Terminal. I bought some books
specific to the UNIX subsystem of Mac OS X and that's the reason I
became addicted to UNIX systems. If Apple ever decided to remove
the access to the UNIX subsystem I'd stop using Mac's completely.
Bit OT there, sorry :-)

I can understand, though, why some people might find a Macports GUI
helpful. But personally I'd never use it.

-- 
Primary Key: 4096R/1D31DC38 2011-12-03
Key Fingerprint: A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users