Ticket #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: | and.damore@… | |
| Port: | xgsch2pcb |
Description (last modified by ryandesign@…) (diff)
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
Change History
comment:1 Changed 2 years ago by ryandesign@…
- Keywords xgsch2pcb configure pygtk removed
- Description modified (diff)
- Summary changed from xgsch2pcb 0.1.3 configure error -- build failure to 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 2 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 2 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".


log of attempt to install port xgsch2pcb