Skip Menu |

This queue is for tickets about the Cairo CPAN distribution.

Report information
The Basics
Id: 78714
Status: resolved
Priority: 0/
Queue: Cairo

People
Owner: Nobody in particular
Requestors: nate [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.101
Fixed in: (no value)



Message body is not shown because it is too large.

A library error - not sure if I should expect perl build process to be smart enough to recognise that the ld command complained/failed? (I noticed this when I reviewed the email that came back from RT). N
Subject: Re: [rt.cpan.org #78714]
Date: Wed, 01 Aug 2012 14:41:43 +0200
To: bug-Cairo [...] rt.cpan.org
From: Torsten Schoenfeld <kaffeetisch [...] gmx.de>
On 01.08.2012 14:36, Nathan Bailey via RT wrote: Show quoted text
> A library error - not sure if I should expect perl build process to be smart enough to recognise > that the ld command complained/failed?
Well, the messages ld: warning: ignoring file /sw/lib/libcairo.dylib, file was built for unsupported file format which is not the architecture being linked (x86_64) ld: warning: ignoring file /sw/lib/libfreetype.dylib, file was built for unsupported file format which is not the architecture being linked (x86_64) ld: warning: ignoring file /sw/lib/libfontconfig.dylib, file was built for unsupported file format which is not the architecture being linked (x86_64) are just warnings. The linker actually officially succeeded, even though it clearly didn't. I don't think ExtUtils::MakeMaker can detect this. But on to your actual problem: were you able to find cairo, freetype, fontconfig libs for your architecture?
Subject: Re: [rt.cpan.org #78714]
Date: Wed, 1 Aug 2012 22:54:16 +1000
To: bug-Cairo [...] rt.cpan.org
From: Nathan Bailey <nate [...] polynate.net>
Short answer: yes. Longer answer: I had… fun. I found this page: http://cairographics.org/end_to_end_build_for_mac_os_x/ Which I then realised was dated. So I downloaded more up-to-date versions, but LATEST cairo files are xz. I tried a quick xz build but couldn't find the appropriate executable so gave up and got the .gz ones. Then the pkg-config build tripped on my glib (my fink install is quite dated). On my new Mac (this one), I've started using brew. So I tried to brew glib, which was working, when I suddenly realised I could just brew cairo. If I had've thought of that sooner, I could've saved myself half an hour :-) Chart::Clicker is now successfully installed. thanks Torsten! N On 1 August 2012 22:41, Torsten Schoenfeld via RT <bug-Cairo@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=78714 > > > On 01.08.2012 14:36, Nathan Bailey via RT wrote:
>> A library error - not sure if I should expect perl build process to be smart enough to recognise >> that the ld command complained/failed?
> > Well, the messages > > ld: warning: ignoring file /sw/lib/libcairo.dylib, file was built for > unsupported file format which is not the architecture being linked (x86_64) > ld: warning: ignoring file /sw/lib/libfreetype.dylib, file was built > for unsupported file format which is not the architecture being linked > (x86_64) > ld: warning: ignoring file /sw/lib/libfontconfig.dylib, file was > built for unsupported file format which is not the architecture being > linked (x86_64) > > are just warnings. The linker actually officially succeeded, even > though it clearly didn't. I don't think ExtUtils::MakeMaker can detect > this. > > But on to your actual problem: were you able to find cairo, freetype, > fontconfig libs for your architecture? >
Alright, I'm glad it's working for you now. Marking as resolved.