[texworks] fontconfig issues

Stephen Moye sgmoye at me.com
Fri Sep 26 17:37:47 CEST 2008


On Sep 26, 2008, at 11:19 AM, Stephen Moye wrote:

> On Sep 26, 2008, at 10:35 AM, Jonathan Kew wrote:
>
>> On 26 Sep 2008, at 2:57 PM, Stephen Moye wrote:
>>
>>> Thanks -- I went back to fontconfig.org and the file (v2.6)  
>>> downloaded in record time, compiled, as did poppler without so  
>>> much as a hiccup.
>>>
>>> Likewise, qmake seemed to work, but 'make' returns this:
>>>
>>> 	make: *** No targets specified and no makefile found.  Stop.
>>>
>>> Almost there... what's next?
>>
>> On the Mac, qmake will by default create an Xcode project file, not  
>> a makefile.
>>
>> So after "qmake", try
>>
>> open TeXworks.xcodeproj
>>
>> to open the project, then Build.
>>
>> Warning: I suspect you may still have another issue to tackle. If  
>> your setup is anything like mine, the poppler build probably didn't  
>> find Qt by default, and therefore won't have built the poppler-qt4  
>> interfaces. When I build this, I set some flags for the configure  
>> script: POPPLER_QT4_CFLAGS and ...LIBS or something like that.  
>> Sorry, I don't recall the exact details offhand.
>>
>> JK
>
> I'm learning more about Mac programming than I think I want to  
> know... ;>}
>
> Actually, I'm a lot closer than I thought I would be. This is what  
> I'm getting from Xcode:
>
> ---------------------------
>
> Building target ???TeXworks??? of project ???TeXworks??? with  
> configuration ???Debug??? ??? (4 errors, 1 warning)
> 	    cd /Projects/texworks-app
>   /Developer/usr/bin/g++-4.0 -o /Projects/texworks-app/obj/ 
> TeXworks.build/Debug/TeXworks.build/Objects-normal/i386/TeXworks -L/ 
> Projects/texworks-app/build/Debug -L/Library/Frameworks -L/usr/local/ 
> lib -L/System/Library/Frameworks -F/Projects/texworks-app/build/ 
> Debug -filelist /Projects/texworks-app/obj/TeXworks.build/Debug/ 
> TeXworks.build/Objects-normal/i386/TeXworks.LinkFileList -lpoppler- 
> qt4.3 -lhunspell-1.2.0.0.0 -framework QtXml -framework QtGui - 
> framework Carbon -framework AppKit -framework QtCore -framework  
> ApplicationServices -arch i386 -mmacosx-version-min=10.3 - 
> headerpad_max_install_names -L/Library/Frameworks -F/Library/ 
> Frameworks -L/usr/local/lib -lz -lm
> ld: warning in /usr/local/lib/libhunspell-1.2.0.0.0.dylib, file is  
> not of required architecture
> Undefined symbols:
> "_Hunspell_suggest", referenced from:
>     CompletingEdit::contextMenuEvent(QContextMenuEvent*)        in  
> CompletingEdit.o
> "_Hunspell_spell", referenced from:
>     CompletingEdit::contextMenuEvent(QContextMenuEvent*)        in  
> CompletingEdit.o
>     TeXHighlighter::spellCheckRange(QString const&, int, int,  
> QTextCharFormat const&)in TeXHighlighter.o
> "_Hunspell_create", referenced from:
>     TWUtils::getDictionary(QString const&) in TWUtils.o
> "_Hunspell_get_dic_encoding", referenced from:
>     TeXDocument::setLanguage(QString const&)  in TeXDocument.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> 		ld: warning in /usr/local/lib/libhunspell-1.2.0.0.0.dylib, file is  
> not of required architecture
> 		  "_Hunspell_suggest", referenced from:
> 		      CompletingEdit::contextMenuEvent(QContextMenuEvent*)         
> in CompletingEdit.o
> 		  "_Hunspell_spell", referenced from:
> 		      CompletingEdit::contextMenuEvent(QContextMenuEvent*)         
> in CompletingEdit.o
> 		      TeXHighlighter::spellCheckRange(QString const&, int, int,  
> QTextCharFormat const&)in TeXHighlighter.o
> 		  "_Hunspell_create", referenced from:
> 		      TWUtils::getDictionary(QString const&) in TWUtils.o
> 		  "_Hunspell_get_dic_encoding", referenced from:
> 		      TeXDocument::setLanguage(QString const&)  in TeXDocument.o
> 		ld: symbol(s) not found
> 		collect2: ld returned 1 exit status
> Build failed (4 errors, 1 warning)
>
> ---------------------
>
> I am prepared to give this up if this presents too involved a fix.
>
> Thanks for all your help.
>
> Stephen Moye

A picture is worth a thousand words, so I'm sending a screenshot of  
the above...

Stephen Moye

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture 1.jpg
Type: image/jpeg
Size: 214625 bytes
Desc: not available
Url : http://tug.org/pipermail/texworks/attachments/20080926/eaaa7694/attachment-0001.jpg 
-------------- next part --------------



More information about the texworks mailing list