[texworks] Call for Help: Mac builds
Bruno Voisin
bvoisin at me.com
Sat Feb 5 19:17:02 CET 2011
Le 5 févr. 2011 à 16:47, Joseph Wright a écrit :
> The various builds of libraries go okay, although 'make check' does not
> look entirely happy for poppler. I'm not sure if that is a fault at
> their end.
>
> More importantly, the final buid of TeXworks fails. I'll report back on
> this in full in a bit. For the moment, the important part of the log
> seems to be
>
> [...]
>
> ** BUILD FAILED **
>
> The first line implies that the debug libraries are needed: I'll try
> grabbing those in a bit and try the build process again.
OK, finally here's an alternative try.
Setup
=====
Mac OS X 10.6.6 as virginal as possible: no MacPorts nor Fink, all the past additions had been installed in /usr/local. As far as I remember these additions are:
- All that's installed by MacTeX <http://www.tug.org/mactex/whatsinthepackage.html>: Ghostscript 8.71, convert from ImageMagick 6.6.1, TeX Live 2010 of course.
- Aspell from CocoAspell <http://cocoaspell.leuski.net/>.
- Xpdf tools <http://users.phg-online.de/tk/MOSXS/>.
- FontForge <http://sourceforge.net/projects/fontforge/files/fontforge-executables/>.
- GhostXPS 8.71 <http://www.ghostscript.com/GhostPCL.html>, compiled from source.
- Perl/Tk 804.029 <http://search.cpan.org/~srezic/Tk/>, compiled from source after applying the patch at <https://rt.cpan.org/Public/Bug/Display.html?id=58011#txn-836906>.
None of this should interfere with the build. There must have been fontconfig and pkg-config at some point, since there was a pre-existing /usr/local/lib/pkgconfig/fontconfig.pc. Some app on my setup must contain fontconfig in some form (maybe OpenOffice?), because all font-containing directories get spontaneously files
encodings.dir
fonts.dir
fonts.list
fonts.scale
after some time.
Results
=======
I just followed the sequence at <http://code.google.com/p/texworks/issues/detail?id=107>, including step 3 (fontconfig) and changing the version number to 4.7.1 in step 2. Versions are:
pkg-config-0.25
qt-mac-opensource-4.7.1
qt-mac-opensource-4.7.1-debug-libs
fontconfig-2.8.0
poppler-0.16.2
poppler-data-0.4.4
hunspell-1.2.14
texworks-read-only svn checkout today
Building TeXworks fails exactly as for Joseph Wright (like him I tried without Qt Debug and added it afterwards). The final word seems to be:
ld: symbol(s) not found
collect2: ld returned 1 exit status
** BUILD FAILED **
The following build commands failed:
TeXworks:
Ld /Users/bvoisin/Desktop/TeXworks/texworks-read-only/obj/TeXworks.build/Default/TeXworks.build/Objects-normal/i386/TeXworks normal i386
Ld /Users/bvoisin/Desktop/TeXworks/texworks-read-only/obj/TeXworks.build/Default/TeXworks.build/Objects-normal/ppc/TeXworks normal ppc
(2 failures)
Attached are the output of the configure/make/make install sequences for each of the steps. For poppler the first "sudo make install" is for poppler and the second for poppler-data. For TeXworks the first is before installing Qt-Debug, the second afterwards.
I'll stop at this point. Next week, starting tomorrow, I'll be away at a conference hence unable to pursue the topic.
Bruno Voisin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: build-fontconfig.txt
URL: <http://tug.org/pipermail/texworks/attachments/20110205/22eec088/attachment-0006.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: build-hunspell.txt
URL: <http://tug.org/pipermail/texworks/attachments/20110205/22eec088/attachment-0007.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: build-poppler.txt
URL: <http://tug.org/pipermail/texworks/attachments/20110205/22eec088/attachment-0008.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: builkd-pkg-config.txt
URL: <http://tug.org/pipermail/texworks/attachments/20110205/22eec088/attachment-0009.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: build-texworks-try1.txt
URL: <http://tug.org/pipermail/texworks/attachments/20110205/22eec088/attachment-0010.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: build-texworks-try2.txt
URL: <http://tug.org/pipermail/texworks/attachments/20110205/22eec088/attachment-0011.txt>
-------------- next part --------------
More information about the texworks
mailing list