-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 3/31/11 5:59 AM, Prerna Atri wrote:
> Hi,
> 
> The following is the list of the failures that are encountered while
> building TeXworks:
> 
> In file included from
> /sw/src/fink.build/texworks-0.3-1/texworks-0.3/src/TWApp.h:33,
> 
>                  from
> /sw/src/fink.build/texworks-0.3-1/texworks-0.3/src/TWApp.cpp:22:
> 
> /sw/src/fink.build/texworks-0.3-1/texworks-0.3/src/TWUtils.h:34:22:
> error: hunspell.h: No such file or directory
> 

That's installed by libhunspell (my Fink tree is /sw32):

$ dpkg -S hunspell.h
libhunspell: /sw32/include/hunspell/hunspell.hxx
libhunspell: /sw32/include/hunspell/hunspell.h

> In file included from
> /sw/src/fink.build/texworks-0.3-1/texworks-0.3/src/TWApp.cpp:25:
> 
> /sw/src/fink.build/texworks-0.3-1/texworks-0.3/src/PDFDocument.h:36:25:
> error: poppler-qt4.h: No such file or directory
> 

$ dpkg -S poppler-qt4.h
poppler4-qt4-mac: /sw32/opt/kde4/mac/include/poppler/qt4/poppler-qt4.h

> /sw/src/fink.build/texworks-0.3-1/texworks-0.3/src/TWApp.cpp:56:28:
> error: poppler-config.h: No such file or directory

$ dpkg -S poppler-config.h
poppler4-xpdf: /sw32/include/poppler/poppler-config.h
> 
> /sw/src/fink.build/texworks-0.3-1/texworks-0.3/src/TWApp.cpp:57:26:
> error: GlobalParams.h: No such file or directory
> 
> 

$ dpkg -S GlobalParams.h
poppler4-xpdf: /sw32/include/poppler/GlobalParams.h

> 
> 
> 
> 
> 
> 
> Many of the poppler and hunspell source and header files that are not
> available as part of the .deb packages poppler4-qt4-mac and hunspell,
> are leading to these failures. 
> Please find attached the complete build log with the mail.
> 
> Thanks & Regards,
> Prerna Atri.
> 

They are *all* available, as above.  You were looking in the wrong
package for several of the cases, so you'll need to add BuildDepends on
poppler4-xpdf and libhunspell.

As for the issue with poppler-qt4.h, you will need to make sure that
%p/opt/kde4/mac/include/poppler/qt4 is added to the directories that the
compiler searches for include files.  How to do that depends on the
details of texworks--I don't know whether it uses the standard CPPFLAGS
variable or  not.
- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2UcHsACgkQB8UpO3rKjQ/f7ACdEhrsY2zyHknjTw5cGVRdPdNA
thkAnRzJmVejxQlxqWDYAfo0NmjFEq6E
=4Mxq
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to