Hi, still newbie-ish, I thought I would retry after a six month hiatus to
install MacPorts (now 1.9.0) with suitable Xcode on a three year old Core Duo
MacBook running Snow Leopard 10.6.3 and then
sudo port -d install py26-psycopg2 +postgresql84
which gave several architecture warnings, among the first of which was
ld: warning: in Parser/acceler.o, file was built for unsupported file
format which is not the architecture being linked (i386)
... and later:
Undefined symbols:
"_main", referenced from:
start in crt1.10.6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
however, after a port clean, reissuing the above with +universal appended
seemed happy, after which
sudo port -d install py26-mx-base +universal
also seemed happy, but
sudo port -d install py26-wxpython +universal
was unhappy, reporting
DEBUG: Searching for dependency: wxWidgets-python DEBUG: Didn't find receipt,
going to depspec regex for: wxWidgets-python DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/wxWidgets-python
DEBUG: OS darwin/10.3.0 (Mac OS X 10.6) arch i386 DEBUG: org.macports.load
registered provides 'load', a pre-existing procedure. Target override will not
be provided DEBUG: org.macports.unload registered provides 'unload', a
pre-existing procedure. Target override will not be provided DEBUG:
org.macports.distfiles registered provides 'distfiles', a pre-existing
procedure. Target override will not be provided DEBUG: Using group file
/opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/archcheck-1.0.tcl
DEBUG: universal_variant is false, so not adding the default universal variant
DEBUG: Requested variant universal is not provided by port wxWidgets-python.
DEBUG: Executing variant gtk provides gtk
Error: Cannot install py26-wxpython for the arch(s) 'i386 x86_64' because
Error: its dependency wxWidgets-python does not build for the required arch(s)
by default Error: and does not have a universal variant. DEBUG: architecture
mismatch while executing "mportdepends $mport $target" (procedure "mportexec"
line 44) invoked from within "mportexec $workername $target" Error: Unable to
execute port: architecture mismatch To report a bug, see
<http://guide.macports.org/#project.tickets> MacBook:~ djb$
so, not understanding whether it was my adding of "+universal" that was the
problem, I tried instead
sudo port -d install py26-wxpython
which gave
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/libxml2.py",
line 1, in <module> import libxml2mod ImportError:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/libxml2mod.so,
2): no suitable image found. Did find:
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/libxml2mod.so:
mach-o, but wrong architecture make[2]: *** [de/gnome-doc-xslt.xml] Error 1
make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 shell
command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnome-doc-utils/work/gnome-doc-utils-0.18.1"
&& /usr/bin/make all " returned error 2 Error: Target org.macports.build
returned: shell command failed DEBUG: Backtrace: shell command failed while
executing "command_exec build" (procedure "portbuild::build_main" line 8)
invoked from within "$procedure $targetname"
Warning: the following items did not execute (for gnome-doc-utils):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install Log for gnome-doc-utils is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnome-doc-utils/main.log
Error: The following dependencies failed to build: wxWidgets-python gtk2 atk
gtk-doc gnome-doc-utils jasper jpeg pango cairo libpixman libpng
shared-mime-info tiff xorg-libXcomposite xorg-compositeproto xorg-libXfixes
xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi
xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto Error:
Status 1 encountered during processing. To report a bug, see
<http://guide.macports.org/#project.tickets> MacBook:~ djb$
any wrong choices, or workarounds?
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users