Re: Check dependencts for camlimages

2014-01-18 Thread Tim Johnson
* Ryan Schmidt ryandes...@macports.org [140116 17:09]:
  Do I presume that it is safe to uninstall camlimages?
 
 Sure. If anything depends on it, MacPorts will tell you and will not 
 uninstall it.
 
 
  If so, what is the correct syntax?
 
 sudo port uninstall camlimages
  Done. thanks. 
 
  I don't recall installing camlimages and since it has no dependents,
  how might it have gotten on my machine?
 
 You either installed it, or another port you installed installed it as a 
 dependency.
  As I presumed. Thanks again.
-- 
Tim 
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com, http://www.tj49.com
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Troubles installing rc

2014-01-18 Thread Harald Hanche-Olsen
Before I get to the main point: How do I search for tickets regarding
the rc port? The search string is too short, and obviously I don't
want all tickets with the letter pair rc appearing in the ticket
description anyway.

destroot fails for rc:

/usr/bin/install -c history /opt/local/bin/- ;\
rm -f /opt/local/bin/--;  ln /opt/local/bin/- /opt/local/bin/-- ;\
rm -f /opt/local/bin/-p;  ln /opt/local/bin/- /opt/local/bin/-p ;\
rm -f /opt/local/bin/--p; ln /opt/local/bin/- /opt/local/bin/--p
install: /opt/local/bin/-: Operation not permitted

Before you ask: Yes, I am running as root. But I'm intrigued by these
lines in the log file:

:notice:destroot ---  Staging rc into destroot
:debug:destroot Can't run destroot under sudo without elevated privileges (due 
to mtree).
:debug:destroot Run destroot without sudo to avoid root privileges.
:debug:destroot Going to escalate privileges back to root.
:debug:destroot euid changed to: 0. egid changed to: 0.

It seems like these operations may have failed to work as expected.
Or maybe it's some other newfangled security device misfiring.
I can certainly run the install command by hand without problem.

OS version: 10.9.1
Port version: 2.2.1
Xcode version: 5.0.2

I'd file a ticket, except for my inability to search for relevant
tickets already in the system.

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


python27 IDLE doesn't run

2014-01-18 Thread Lenore Horner
When I double-click the IDLE icon in the MacPorts Python folder nothing happens 
except that the following line gets written to console.
1/18/14 08:54:26.526 com.apple.launchd.peruser.502[185]: 
(org.python.IDLE.129216[59547]) Exited with code: 1

port installed python* yields
  python27 @2.7.6_0 (active)
  python_select @0.3_3 (active)

I’m not even sure how IDLE got there let alone what to reinstall to fix it or 
what to file a ticket against.  I’ve tried the following.

locate org.python.IDLE
/private/var/db/BootCaches/07AF3A6E-E096-404E-B37E-A310F2681E39/app.org.python.IDLE.playlist

port provides 
/private/var/db/BootCaches/07AF3A6E-E096-404E-B37E-A310F2681E39/app.org.python.IDLE.playlist
/private/var/db/BootCaches/07AF3A6E-E096-404E-B37E-A310F2681E39/app.org.python.IDLE.playlist
 is not provided by a MacPorts port.

OK it did come from MacPorts python.
port contents python27 | grep IDLE
  /Applications/MacPorts/Python 2.7/IDLE.app/Contents/Info.plist
  /Applications/MacPorts/Python 2.7/IDLE.app/Contents/MacOS/IDLE
  /Applications/MacPorts/Python 2.7/IDLE.app/Contents/MacOS/Python
  /Applications/MacPorts/Python 2.7/IDLE.app/Contents/PkgInfo
  /Applications/MacPorts/Python 2.7/IDLE.app/Contents/Resources/IDLE.icns
  /Applications/MacPorts/Python 
2.7/IDLE.app/Contents/Resources/PythonCompiled.icns
  /Applications/MacPorts/Python 
2.7/IDLE.app/Contents/Resources/PythonSource.icns
  /Applications/MacPorts/Python 2.7/IDLE.app/Contents/Resources/idlemain.py

Ahah.  Let’s try showing the contents and clicking on the IDLE terminal command 
there.  That yields the following.
/Applications/MacPorts/Python\ 2.7/IDLE.app/Contents/MacOS/IDLE ; exit;
Traceback (most recent call last):
  File /Applications/MacPorts/Python 
2.7/IDLE.app/Contents/Resources/idlemain.py, line 71, in module
from idlelib import macosxSupport
  File 
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/idlelib/macosxSupport.py,
 line 6, in module
import Tkinter
  File 
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py,
 line 39, in module
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter
logout

[Process completed]

I just did port upgrade last night and this is still happening.  I’m not sure 
why the console error seems to point to someplace other than the macports 
files.  But the macports command also has errors if I run it directly from the 
command line.  

I found this which may be relevant.
http://stackoverflow.com/questions/5459444/tkinter-python-may-not-be-configured-for-tk
If it fails with No module named _tkinter, your Python configuration needs 
to be modified to include this module (which is an extension module implemented 
in C). Do not edit Modules/Setup (it is out of date). You may have to install 
Tcl and Tk (when using RPM, install the -devel RPMs as well) and/or edit the 
setup.py script to point to the right locations where Tcl/Tk is installed. If 
you install Tcl/Tk in the default locations, simply rerunning make should 
build the _tkinter extension.”
This doesn’t really make sense to me though because I thought Macports itself 
used Tcl so wouldn’t Tcl/Tk be installed already?


10.9.1
Macports 2.2.1
MacBook Air (core2 duo chip)

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


Re: python27 IDLE doesn't run

2014-01-18 Thread Kevin Walzer

On 1/18/14, 9:21 AM, Lenore Horner wrote:

This doesn’t really make sense to me though because I thought Macports
itself used Tcl so wouldn’t Tcl/Tk be installed already?


Python in MacPorts would not link against the system Tcl/Tk. Try 
installing the Tcl/Tk +quartz variant and then installing Tkinter (or 
re-installing, if necessary, not sure which package that is).


--Kevin


--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: python27 IDLE doesn't run

2014-01-18 Thread Brandon Allbery
On Sat, Jan 18, 2014 at 9:34 AM, Kevin Walzer k...@codebykevin.com wrote:

 On 1/18/14, 9:21 AM, Lenore Horner wrote:

 This doesn’t really make sense to me though because I thought Macports
 itself used Tcl so wouldn’t Tcl/Tk be installed already?


 Python in MacPorts would not link against the system Tcl/Tk. Try
 installing the Tcl/Tk +quartz variant and then installing Tkinter (or
 re-installing, if necessary, not sure which package that is).


py??-tkinter for the appropriate Python version (so, in this case,
py27-tkinter). But this leads directly to the question: if it requires
py-tkinter, why isn't it installed with that port, or maybe a separate port
that depends on py-tkinter?

-- 
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: python27 IDLE doesn't run

2014-01-18 Thread Lenore Horner

On Jan 18, 2014, at 9:43, Brandon Allbery allber...@gmail.com wrote:

 On Sat, Jan 18, 2014 at 9:34 AM, Kevin Walzer k...@codebykevin.com wrote:
 On 1/18/14, 9:21 AM, Lenore Horner wrote:
 This doesn’t really make sense to me though because I thought Macports
 itself used Tcl so wouldn’t Tcl/Tk be installed already?
 
 Python in MacPorts would not link against the system Tcl/Tk. Try installing 
 the Tcl/Tk +quartz variant and then installing Tkinter (or re-installing, if 
 necessary, not sure which package that is).
 
 py??-tkinter for the appropriate Python version (so, in this case, 
 py27-tkinter). But this leads directly to the question: if it requires 
 py-tkinter, why isn't it installed with that port, or maybe a separate port 
 that depends on py-tkinter?

Since py27-tkinter depends on python27, doesn’t IDLE have to be a separate port 
from python27?  

Lenore Horner


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


Re: python27 IDLE doesn't run

2014-01-18 Thread Jeremy Lavergne
I vaguely remember the py-tkinter port being split off from python (log says 3 
years ago), perhaps it wasn’t a 100% clean split? 
http://trac.macports.org/ticket/27768

On Jan 18, 2014, at 11:16, Lenore Horner lenorehor...@sbcglobal.net wrote:

 Since py27-tkinter depends on python27, doesn’t IDLE have to be a separate 
 port from python27?  
 

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


Re: Troubles installing rc

2014-01-18 Thread Davor Cubranic
You can use “Ticket Query” with “port is” set to “rc”. Or just use this URL: 
https://trac.macports.org/query?port=rc

Davor

On Jan 18, 2014, at 5:08 AM, Harald Hanche-Olsen han...@math.ntnu.no wrote:

 Before I get to the main point: How do I search for tickets regarding
 the rc port? The search string is too short, and obviously I don't
 want all tickets with the letter pair rc appearing in the ticket
 description anyway.
 
 destroot fails for rc:
 
 /usr/bin/install -c history /opt/local/bin/- ;\
rm -f /opt/local/bin/--;  ln /opt/local/bin/- /opt/local/bin/-- ;\
rm -f /opt/local/bin/-p;  ln /opt/local/bin/- /opt/local/bin/-p ;\
rm -f /opt/local/bin/--p; ln /opt/local/bin/- /opt/local/bin/--p
 install: /opt/local/bin/-: Operation not permitted
 
 Before you ask: Yes, I am running as root. But I'm intrigued by these
 lines in the log file:
 
 :notice:destroot ---  Staging rc into destroot
 :debug:destroot Can't run destroot under sudo without elevated privileges 
 (due to mtree).
 :debug:destroot Run destroot without sudo to avoid root privileges.
 :debug:destroot Going to escalate privileges back to root.
 :debug:destroot euid changed to: 0. egid changed to: 0.
 
 It seems like these operations may have failed to work as expected.
 Or maybe it's some other newfangled security device misfiring.
 I can certainly run the install command by hand without problem.
 
 OS version: 10.9.1
 Port version: 2.2.1
 Xcode version: 5.0.2
 
 I'd file a ticket, except for my inability to search for relevant
 tickets already in the system.
 
 – Harald
 ___
 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