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?

------------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."







Reply via email to