[squeak-dev] Building 32-bit Cairo library on Macs

Igor Stasenko siguctua at gmail.com
Wed Nov 23 15:50:25 UTC 2011


Hello,

i'd like to know, if there's anyone who can help with making 32-bit
version of cairo library on macs?

Because if i just do:
port install cairo

everything is ok, except that VM cannot use that library because it is 64bit..

And if i  set
build_arch to "i386"
in /opt/local/etc/macports/macports.conf

and run it, it also doesn't going well (see the end of mail), because
of having too much dependecies from libraries which already installed
and 64-bit :(

Is there a way to tell port to just build stuff in a separate place..
or is there a way to build cairo library without port?

 sudo port install cairo
Warning: port definitions are more than two weeks old, consider using selfupdate
--->  Fetching pkgconfig
--->  Attempting to fetch pkg-config-0.25.tar.gz from
http://lil.fr.distfiles.macports.org/pkgconfig
--->  Verifying checksum(s) for pkgconfig
--->  Extracting pkgconfig
--->  Applying patches to pkgconfig
--->  Configuring pkgconfig
--->  Building pkgconfig
--->  Staging pkgconfig into destroot
--->  Installing pkgconfig @0.25_1
--->  Deactivating pkgconfig @0.23_1
--->  Activating pkgconfig @0.25_1
--->  Cleaning pkgconfig
--->  Fetching libpixman
--->  Attempting to fetch pixman-0.20.0.tar.bz2 from
http://lil.fr.distfiles.macports.org/libpixman
--->  Verifying checksum(s) for libpixman
--->  Extracting libpixman
--->  Configuring libpixman
--->  Building libpixman
--->  Staging libpixman into destroot
--->  Installing libpixman @0.20.0_0
--->  Deactivating libpixman @0.16.4_0
--->  Activating libpixman @0.20.0_0
--->  Cleaning libpixman
--->  Fetching xorg-util-macros
--->  Attempting to fetch util-macros-1.11.0.tar.bz2 from
http://lil.fr.distfiles.macports.org/xorg-util-macros
--->  Verifying checksum(s) for xorg-util-macros
--->  Extracting xorg-util-macros
--->  Configuring xorg-util-macros
--->  Building xorg-util-macros
--->  Staging xorg-util-macros into destroot
--->  Installing xorg-util-macros @1.11.0_0
--->  Deactivating xorg-util-macros @1.5.0_0
--->  Activating xorg-util-macros @1.11.0_0
--->  Cleaning xorg-util-macros
--->  Fetching xorg-xtrans
--->  Attempting to fetch xtrans-1.2.6.tar.bz2 from
http://lil.fr.distfiles.macports.org/xorg-xtrans
--->  Verifying checksum(s) for xorg-xtrans
--->  Extracting xorg-xtrans
--->  Configuring xorg-xtrans
--->  Building xorg-xtrans
--->  Staging xorg-xtrans into destroot
--->  Installing xorg-xtrans @1.2.6_0
--->  Deactivating xorg-xtrans @1.2.5_0
--->  Activating xorg-xtrans @1.2.6_0
--->  Cleaning xorg-xtrans
--->  Fetching xorg-bigreqsproto
--->  Attempting to fetch bigreqsproto-1.1.1.tar.bz2 from
http://lil.fr.distfiles.macports.org/xorg-bigreqsproto
--->  Verifying checksum(s) for xorg-bigreqsproto
--->  Extracting xorg-bigreqsproto
--->  Configuring xorg-bigreqsproto
--->  Building xorg-bigreqsproto
--->  Staging xorg-bigreqsproto into destroot
--->  Installing xorg-bigreqsproto @1.1.1_0
--->  Deactivating xorg-bigreqsproto @1.1.0_0
--->  Activating xorg-bigreqsproto @1.1.1_0
--->  Cleaning xorg-bigreqsproto
--->  Fetching xorg-xcmiscproto
--->  Attempting to fetch xcmiscproto-1.2.1.tar.bz2 from
http://lil.fr.distfiles.macports.org/xorg-xcmiscproto
--->  Verifying checksum(s) for xorg-xcmiscproto
--->  Extracting xorg-xcmiscproto
--->  Configuring xorg-xcmiscproto
--->  Building xorg-xcmiscproto
--->  Staging xorg-xcmiscproto into destroot
--->  Installing xorg-xcmiscproto @1.2.1_0
--->  Deactivating xorg-xcmiscproto @1.2.0_0
--->  Activating xorg-xcmiscproto @1.2.1_0
--->  Cleaning xorg-xcmiscproto
--->  Fetching xorg-xextproto
--->  Attempting to fetch xextproto-7.1.2.tar.bz2 from
http://lil.fr.distfiles.macports.org/xorg-xextproto
--->  Verifying checksum(s) for xorg-xextproto
--->  Extracting xorg-xextproto
--->  Configuring xorg-xextproto
--->  Building xorg-xextproto
--->  Staging xorg-xextproto into destroot
--->  Installing xorg-xextproto @7.1.2_0
--->  Deactivating xorg-xextproto @7.1.1_0
--->  Activating xorg-xextproto @7.1.2_0
--->  Cleaning xorg-xextproto
--->  Fetching xorg-inputproto
--->  Attempting to fetch inputproto-2.0.1.tar.bz2 from
http://lil.fr.distfiles.macports.org/xorg-inputproto
--->  Verifying checksum(s) for xorg-inputproto
--->  Extracting xorg-inputproto
--->  Configuring xorg-inputproto
--->  Building xorg-inputproto
--->  Staging xorg-inputproto into destroot
--->  Installing xorg-inputproto @2.0.1_0
--->  Deactivating xorg-inputproto @2.0_0
--->  Activating xorg-inputproto @2.0.1_0
--->  Cleaning xorg-inputproto
--->  Fetching xorg-xproto
--->  Attempting to fetch xproto-7.0.20.tar.bz2 from
http://lil.fr.distfiles.macports.org/xorg-xproto
--->  Verifying checksum(s) for xorg-xproto
--->  Extracting xorg-xproto
--->  Configuring xorg-xproto
--->  Building xorg-xproto
--->  Staging xorg-xproto into destroot
--->  Installing xorg-xproto @7.0.20_0
--->  Deactivating xorg-xproto @7.0.16_0
--->  Activating xorg-xproto @7.0.20_0
--->  Cleaning xorg-xproto
--->  Computing dependencies for xorg-libXdmcp
--->  Fetching xorg-libXdmcp
--->  Attempting to fetch libXdmcp-1.1.0.tar.bz2 from
http://lil.fr.distfiles.macports.org/xorg-libXdmcp
--->  Verifying checksum(s) for xorg-libXdmcp
--->  Extracting xorg-libXdmcp
--->  Configuring xorg-libXdmcp
--->  Building xorg-libXdmcp
--->  Staging xorg-libXdmcp into destroot
--->  Computing dependencies for xorg-libXdmcp
--->  Installing xorg-libXdmcp @1.1.0_0
--->  Deactivating xorg-libXdmcp @1.0.3_0
--->  Activating xorg-libXdmcp @1.1.0_0
--->  Cleaning xorg-libXdmcp
--->  Computing dependencies for xorg-libXau
--->  Fetching xorg-libXau
--->  Attempting to fetch libXau-1.0.6.tar.bz2 from
http://lil.fr.distfiles.macports.org/xorg-libXau
--->  Verifying checksum(s) for xorg-libXau
--->  Extracting xorg-libXau
--->  Configuring xorg-libXau
--->  Building xorg-libXau
--->  Staging xorg-libXau into destroot
--->  Computing dependencies for xorg-libXau
--->  Installing xorg-libXau @1.0.6_0
--->  Deactivating xorg-libXau @1.0.5_0
--->  Activating xorg-libXau @1.0.6_0
--->  Cleaning xorg-libXau
--->  Computing dependencies for libxml2
--->  Dependencies to be installed: libiconv zlib
--->  Fetching libxml2
--->  Attempting to fetch libxml2-2.7.8.tar.gz from
http://lil.fr.distfiles.macports.org/libxml2
--->  Verifying checksum(s) for libxml2
--->  Extracting libxml2
--->  Configuring libxml2
Error: You cannot install libxml2 for the architecture(s) i386 because
Error: its dependency libiconv only contains the architecture(s) x86_64.
Error:
Error: Did you upgrade to a new version of Mac OS X? If so, please see
Error:
Error:     http://trac.macports.org/wiki/Migration
Error:
Error: Target org.macports.configure returned: incompatible
architectures in dependencies
Log for libxml2 is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libxml2/main.log
Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade xrender failed
To report a bug, see <http://guide.macports.org/#project.tickets>


-- 
Best regards,
Igor Stasenko.



More information about the Squeak-dev mailing list