Hi,<div><br></div><div>We have been working on porting TeXworks ( version 0.3) as a package on Fink.</div><div><br></div><div>We are using the following Fink packages for building TeXworks:</div><div><br></div><div><ul><li>


qt4-mac ( v <span style="border-collapse:collapse;font-family:'Trebuchet MS', sans-serif">4.6.3-2)</span></li><li>poppler4-qt4-mac ( v <span style="border-collapse:collapse;font-family:'Trebuchet MS', sans-serif">0.10.7-3)</span></li>


<li>fontconfig-config ( v <span style="border-collapse:collapse;font-family:'Trebuchet MS', sans-serif">2.8.0-4)</span></li><li>poppler-data ( v <span style="border-collapse:collapse;font-family:'Trebuchet MS', sans-serif">0.2.1-1)</span></li>


<li>hunspell ( v <span style="border-collapse:collapse;font-family:'Trebuchet MS', sans-serif">1.2.12-1002)</span></li><li><span style="border-collapse:collapse;font-family:arial, sans-serif">poppler4-xpdf ( v </span><span style="border-collapse:collapse;font-family:'Trebuchet MS', sans-serif">0.10.7-1)</span></li>


<li><span style="border-collapse:collapse;font-family:arial, sans-serif">libhunspell ( v </span><span style="border-collapse:collapse;font-family:'Trebuchet MS', sans-serif">1.2.12-1002)</span></li>
</ul></div>
<div><br></div><div>When building TeXworks after installing the above metioned packages, we are getting the following failure:</div>

<div><br></div><div><div><font color="#000099"><i>CompileC obj/TeXworks.build/Default/TeXworks.build/Objects-normal/i386/TWApp.o src/TWApp.cpp normal i386 c++ com.apple.compilers.gcc.4_2</i></font></div>
<div><font color="#000099"><i>    cd /sw/src/fink.build/texworks-0.3-1/texworks-0.3</i></font></div><div><font color="#000099"><i>    setenv LANG en_US.US-ASCII</i></font></div>
<div><font color="#000099"><i>    /usr/bin/g++-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -fvisibility=hidden -fvisibility-inlines-hidden -mmacosx-version-min=10.4 -gdwarf-2 -I/sw/src/fink.build/texworks-0.3-1/texworks-0.3/obj/TeXworks.build/Default/TeXworks.build/TeXworks.hmap -F/sw/src/fink.build/texworks-0.3-1/texworks-0.3/build/Default -I/sw/src/fink.build/texworks-0.3-1/texworks-0.3/build/Default/include -I/sw/lib/qt4-mac/include/QtUiTools -I/sw/lib/qt4-mac/include/QtCore -I/sw/lib/qt4-mac/include/QtGui -I/sw/lib/qt4-mac/include/QtXml -I/sw/lib/qt4-mac/include/QtScriptTools -I/sw/lib/qt4-mac/include/QtScript -I/usr/include -I/sw/include/poppler -I/sw/opt/kde4/mac/include/poppler/qt4 -I/sw/include/hunspell -I/sw/lib/fontconfig2/include -Imoc -Iui -I/usr/local/include -I/System/Library/Frameworks/CarbonCore.framework/Headers -I/usr/local/Qt4.7/mkspecs/macx-xcode -I/sw/src/fink.build/texworks-0.3-1/texworks-0.3/obj/TeXworks.build/Default/TeXworks.build/DerivedSources/i386 -I/sw/src/fink.build/texworks-0.3-1/texworks-0.3/obj/TeXworks.build/Default/TeXworks.build/DerivedSources -pipe -DTW_BUILD_ID=personal -DHAVE_POPPLER_XPDF_HEADERS -fexceptions -g -Wall -W -DQT_SCRIPT_LIB -DQT_SCRIPTTOOLS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -c /sw/src/fink.build/texworks-0.3-1/texworks-0.3/src/TWApp.cpp -o /sw/src/fink.build/texworks-0.3-1/texworks-0.3/obj/TeXworks.build/Default/TeXworks.build/Objects-normal/i386/TWApp.o</i></font></div>


<div><font color="#000099"><i><br></i></font></div><div><font color="#000099"><i>/sw/src/fink.build/texworks-0.3-1/texworks-0.3/src/TWApp.cpp: In member function ‘void TWApp::init()’:</i></font></div>
<div><font color="#000099"><i>/sw/src/fink.build/texworks-0.3-1/texworks-0.3/src/TWApp.cpp:159: error: no matching function for call to ‘GlobalParams::GlobalParams(char*)’</i></font></div><div><font color="#000099"><i>/sw/include/poppler/GlobalParams.h:162: note: candidates are: GlobalParams::GlobalParams()</i></font></div>


<div><font color="#000099"><i>/sw/include/poppler/GlobalParams.h:157: note:                 GlobalParams::GlobalParams(const GlobalParams&)</i></font></div><div><font color="#000099"><i>** BUILD FAILED **</i></font></div>


<div><font color="#000099"><i><br></i></font></div><div><font color="#000099"><i><br></i></font></div><div><font color="#000099"><i>The following build commands failed:</i></font></div>
<div><font color="#000099"><i>TeXworks:</i></font></div><div><font color="#000099"><i><span style="white-space:pre-wrap">     </span>CompileC obj/TeXworks.build/Default/TeXworks.build/Objects-normal/i386/TWApp.o /sw/src/fink.build/texworks-0.3-1/texworks-0.3/src/TWApp.cpp normal i386 c++ com.apple.compilers.gcc.4_2</i></font></div>


<div><font color="#000099"><i>(1 failure)</i></font></div></div><div><br></div><div><br></div><div>Please suggest any possible fixes for the above build failure.</div><div><br></div><div>Thanks & Regards,</div>
<div>Prerna Atri.</div>