On 20 April 2012 22:09, Tudor Girba <[email protected]> wrote: > Hi, > > Ok, I am trying to install Cairo on Mac Lion, but it proves to be a bit too > difficult. > > I do "sudo port install cairo +universal" and I get the output as listed > below. Any ideas? Is there no simple way to just get the pre-built library > from somewhere?
you running into similar problems that me.. since cairo having multiple dependencies, and uses other well common libs, they were already existed on my mac, before i tried to install cairo. So i had to rebuild them with +universal flag, because they were built only for 64 bits. btw, this is another answer to your question, about why i cannot just bundle prebuilt cairo library with VM and free you from dubious tasks of building it. because it depends on like 5 or 6 another libraries. So, bundling cairo library will mean bundling it together with all those libs.. So, maintaining such huge amount is not fun, especially taking into account that there are official maintainers for those libraries already, and they know how to deal with problems if one arises (like migrating from one OS version to another or updating them). > > ------------OUTPUT-------------- > > ---> Computing dependencies for cairo > ---> Dependencies to be installed: expat fontconfig freetype bzip2 zlib > libiconv gperf pkgconfig glib2 gettext ncurses libffi perl5 perl5.12 gdbm xz > libpixman libpng xorg-xcb-util xorg-libxcb python27 db46 libedit openssl > python_select sqlite3 xorg-libXau xorg-xproto xorg-libXdmcp > xorg-libpthread-stubs xorg-xcb-proto libxml2 xrender xorg-libX11 > xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-xcmiscproto > xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-renderproto > ---> Activating expat @2.1.0_0+universal > Error: Target org.macports.activate returned: Image error: > /opt/local/bin/xmlwf already exists and does not belong to a registered port. > Unable to activate port expat. Use 'port -f activate expat' to force the > activation. > Error: Failed to install expat > Log for expat is at: > /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log > Error: The following dependencies were not installed: expat fontconfig > freetype bzip2 zlib libiconv gperf pkgconfig glib2 gettext ncurses libffi > perl5 perl5.12 gdbm xz libpixman libpng xorg-xcb-util xorg-libxcb python27 > db46 libedit openssl python_select sqlite3 xorg-libXau xorg-xproto > xorg-libXdmcp xorg-libpthread-stubs xorg-xcb-proto libxml2 xrender > xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-xcmiscproto > xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-renderproto > Error: Status 1 encountered during processing. > To report a bug, see <http://guide.macports.org/#project.tickets> > > > > > Cheers, > Doru > > > On 20 Apr 2012, at 02:48, Fernando Olivero wrote: > >> Hi Tudor, >> >> I'm forwarding the notes and email i've sent when i successfully compiled >> Cairo. >> (You can check previous mails on this matter also) >> >> Hope it helps! >> >> >> --------------------------------------------------------------------------------------------------------------------------------- >> >> Regarding the build, after a lonnnngg series of errors, i also managed >> to build universal binaries of Cairo, using MacPorts (brew just >> doesn't ease the task of creating 32 bit libraries). >> sudo port cairo +universal, worked for me, taking at least 30 min to build. >> >> ATTENTION: Before entering the port cairo install command, I've had to >> manually install appleGcc4.2, found @ [1] (file name >> gcc-42-5666.3-darwin11.pkg. Given that i have Lion, XCode4.2, and if >> you just allow macports to build appleGcc4.2, it will run a process >> that consumes resources and finally stalls your computer! >> >> I've attached a screen shot that may help somebody else, for setting >> up the examples. Using NativeBoost Cog VM for Mac, downloadable from >> NativeBoost site or Jenkins. >> ..... >> >> Fernando >> [1] http://r.research.att.com/tools/ >> >> >> sudo port install cairo +universal >> >> file /opt/local/lib/libcairo.2.dylib >> /opt/local/lib/libcairo.2.dylib: Mach-O universal binary with 2 architectures >> /opt/local/lib/libcairo.2.dylib (for architecture i386): Mach-O >> dynamically linked shared library i386 >> /opt/local/lib/libcairo.2.dylib (for architecture x86_64): Mach-O >> 64-bit dynamically linked shared library x86_64 >> >> >> >> >> On Fri, Apr 20, 2012 at 12:47 AM, Francisco Garau >> <[email protected]> wrote: >>> On 19 April 2012 23:06, Alexis Parseghian >>> <[email protected]<mailto:[email protected]>> wrote: >>> On Thu, Apr 19, 2012 at 6:16 PM, Igor Stasenko >>> <[email protected]<mailto:[email protected]>> wrote: >>>> strange.. that video , if streamed from flash.. seems to be without >>>> sound track :( >>>> >>>> but if you click on "download this video" link, then everything is ok.. >>> >>> No such luck here ; no sound whatsoever, in any version, downloaded or >>> streamed. >>> >>> >>> Same for me... no sound :-( >> > > -- > www.tudorgirba.com > > "No matter how many recipes we know, we still value a chef." > > > > > > > -- Best regards, Igor Stasenko.
