[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-poppler
Subject:    Re: [poppler] make error poppler 0.10.5 and also 0.10.6
From:       Baz <brian.ewins () gmail ! com>
Date:       2009-04-22 12:35:38
Message-ID: 2faad3050904220535i52993b23ye50cca493f3bf729 () mail ! gmail ! com
[Download RAW message or body]

2009/4/22 Norman Khine <norman@khine.net>:
> On Wed, Apr 22, 2009 at 12:20 PM, Baz <brian.ewins@gmail.com> wrote:
>> 2009/4/21 Albert Astals Cid <aacid@kde.org>:
>>> A Dimarts, 21 d'abril de 2009, Norman Khine va escriure:
>>>> it seems i don't have fontcofig on my system, would you know how to install
>>>> it?
>>>
>>> Don't reply to me only, mail the mailing list.
>>>
>>> I don't use OS X so the answer is http://www.fontconfig.org
>
> Thanks, I found the link just after I posted the question ;)
>
>>>
>>> Albert
>>>
>>
>> Norman, you appear to be using fink (from the '/sw' in your build).
>> I'd suggest that you install the fink version of poppler first -
>> that'll install all the runtime dependencies you need at least. I
>> believe you want the poppler4 package:
>> http://pdb.finkproject.org/pdb/package.php/poppler4
>>
>> From a development point of view, its a little easier to build with
>> macports, since that installs build-time dependencies too.
>
> yes, i do realise now. do you also use fink or just macports?

At the moment I'm trying to fix an issue in evince, which is more than
a little awkward to build in any of these[1] - so I'm using
VirtualBox, and the Gnome Developer Kit iso (ubuntu with latest gnome,
development tools, etc), and jhbuild. So effectively I'm just doing
linux development there. If you're porting stuff to OS X its useful to
have an environment like this anyway, so you can see how things are
supposed to work.

I used to do work on cairo, and used macports for that. I found fink
to be more usable from a day-to-day perspective, but for development,
it lags behind the releases offered by macports; also with macports
you get access to the recipe that they used to build the project,
making it relatively easy to get your own build going. If you're
building gnome desktop apps though, you should use jhbuild.

At one point I had both fink and macports on the same machine. Not a
good idea, I think, you can't mix and match.

Cheers,
Baz

[1] it builds, with a bit of effort, but when you run it it refuses to
open pdf files, and there's issues with xquartz displaying menus above
other programs. I didn't pursue this too far, I wanted to test my
patches on an otherwise-flawless evince, not something that doesn't
quite work anyway.

>
>>
>> -Baz
>>
>>>>
>>>> On Mon, Apr 20, 2009 at 8:28 PM, Albert Astals Cid <aacid@kde.org> wrote:
>>>> > A Dilluns, 20 d'abril de 2009, Norman Khine va escriure:
>>>> >> Hello,
>>>> >> I am trying to build poppler on OS X 10.4, but get this error when:
>>>> >
>>>> > Which fontconfig version do you have?
>>>> >
>>>> > Albert
>>>> >
>>>> >> $ make
>>>> >> ...
>>>> >> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
>>>> >> -I.. -I.. -I../goo  -I/sw/include/cairo -I/sw/include/pixman-1
>>>> >> -I/sw/include/freetype2 -I/sw/include -I/sw/include/libpng12
>>>> >> -I/usr/X11R6/include -I/usr/X11/include  -I/sw/include/libxml2
>>>> >> -I/sw/include -I/sw/include/freetype2 -I/sw/include
>>>> >> -I/usr/X11R6/include    -I/sw/include  -Wall -Wno-write-strings
>>>> >> -I/sw/include -D_THREAD_SAFE  -MT GlobalParams.lo -MD -MP -MF
>>>> >> .deps/GlobalParams.Tpo -c -o GlobalParams.lo GlobalParams.cc
>>>> >> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../goo
>>>> >> -I/sw/include/cairo -I/sw/include/pixman-1 -I/sw/include/freetype2
>>>> >> -I/sw/include -I/sw/include/libpng12 -I/usr/X11R6/include
>>>> >> -I/usr/X11/include -I/sw/include/libxml2 -I/sw/include
>>>> >> -I/sw/include/freetype2 -I/sw/include -I/usr/X11R6/include
>>>> >> -I/sw/include -Wall -Wno-write-strings -I/sw/include -D_THREAD_SAFE
>>>> >> -MT GlobalParams.lo -MD -MP -MF .deps/GlobalParams.Tpo -c
>>>> >> GlobalParams.cc  -fno-common -DPIC -o .libs/GlobalParams.o
>>>> >> GlobalParams.cc: In function 'FcPattern* buildFcPattern(GfxFont*)':
>>>> >> GlobalParams.cc:985: error: 'FC_WIDTH_CONDENSED' was not declared in
>>>> >> this scope GlobalParams.cc:1020: error: 'FC_WEIGHT_EXTRALIGHT' was not
>>>> >> declared in this scope
>>>> >> GlobalParams.cc:1023: error: 'FC_WEIGHT_NORMAL' was not declared in this
>>>> >> scope GlobalParams.cc:1027: error: 'FC_WEIGHT_EXTRABOLD' was not
>>>> >> declared in this scope
>>>> >> GlobalParams.cc:1035: error: 'FC_WIDTH_ULTRACONDENSED' was not
>>>> >> declared in this scope
>>>> >> GlobalParams.cc:1036: error: 'FC_WIDTH_EXTRACONDENSED' was not
>>>> >> declared in this scope
>>>> >> GlobalParams.cc:1037: error: 'FC_WIDTH_CONDENSED' was not declared in
>>>> >> this scope GlobalParams.cc:1038: error: 'FC_WIDTH_SEMICONDENSED' was not
>>>> >> declared in this scope
>>>> >> GlobalParams.cc:1039: error: 'FC_WIDTH_NORMAL' was not declared in this
>>>> >> scope GlobalParams.cc:1040: error: 'FC_WIDTH_SEMIEXPANDED' was not
>>>> >> declared in this scope
>>>> >> GlobalParams.cc:1041: error: 'FC_WIDTH_EXPANDED' was not declared in
>>>> >> this scope GlobalParams.cc:1042: error: 'FC_WIDTH_EXTRAEXPANDED' was not
>>>> >> declared in this scope
>>>> >> GlobalParams.cc:1043: error: 'FC_WIDTH_ULTRAEXPANDED' was not declared
>>>> >> in this scope
>>>> >> GlobalParams.cc:1083: error: 'FC_WIDTH' was not declared in this scope
>>>> >> make[3]: *** [GlobalParams.lo] Error 1
>>>> >> make[2]: *** [all] Error 2
>>>> >> make[1]: *** [all-recursive] Error 1
>>>> >> make: *** [all] Error 2
>>>> >> _______________________________________________
>>>> >> poppler mailing list
>>>> >> poppler@lists.freedesktop.org
>>>> >> http://lists.freedesktop.org/mailman/listinfo/poppler
>>>
>>>
>>> _______________________________________________
>>> poppler mailing list
>>> poppler@lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/poppler
>>>
>>
>
_______________________________________________
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic