Opened 14 years ago
Closed 13 years ago
#27670 closed defect (fixed)
xgsch2pcb: python module pygtk is required
Reported by: | acondit@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | anddam (Andrea D'Amore) | |
Port: | xgsch2pcb |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I am running Snow Leopard 10.6.6 and XCode 3.2.3.
:info:configure configure: error: python module pygtk is required
port install pygtk ---reports port not found I have installed py25-gtk and py-gtk2.
Attachments (1)
Change History (8)
Changed 14 years ago by acondit@…
comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | xgsch2pcb configure pygtk removed |
Summary: | xgsch2pcb 0.1.3 configure error -- build failure → xgsch2pcb: python module pygtk is required |
"port search pygtk
" shows that the available ports are py-gtk2 (for python 2.4), py25-gtk (for python 2.5), py26-gtk (for python 2.6), and py27-gtk (for python 2.7). xgsch2pcb does declare a dependency on py25-gtk so that's apparently supposed to be sufficient, but I guess it's not in your case.
From your log, I see:
checking for python... /usr/bin/python checking for python version... 2.6
So that might be wrong. Maybe it should be looking for MacPorts python, not Mac OS X python.
comment:3 Changed 14 years ago by acondit@…
I uninstalled all of my MacPorts python25 stuff and then did "sudo port install xgsch2pcb". This resulted in the reinstallation of all my python25 stuff but xgsch2pcb then built ok.
I am trying to use Mark Sarnoff's X11 wrapper apps but it reports that it "couldn't find 'pcb' executable" and "couldn't find 'gsch2pcb' executable. My guess is that xgsch2pcb is pointing at /usr/bin or usr/local/bin instead of /opt/local/bin where macports installs them.
Alan
comment:4 Changed 14 years ago by acondit@…
Ok, my guess was correct. When I copied gschem and pcb to /usr/bin gsch2pcb could find them. However, then I get this error "Problem initialising org.freedesktop.DBus.Error.NoMemory: Not enough memory".
comment:6 Changed 13 years ago by anddam (Andrea D'Amore)
Can you confirm the original issue is solved?
If you have a different error please file in a new ticket describing it.
comment:7 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
No response; assuming fixed.
log of attempt to install port xgsch2pcb