A Mac again.
To reproduce this, you need to have applied the diff -c from ticket 1829594 to src/xmlcopyeditor.cpp.
See the attached config.status for the build configuration.
See also ticket 1829594 for config.log
$ make clean
$ ./config.status
$ make
[All is well until, suddenly!]
/bin/sh ../libtool --tag=CXX --mode=link g++ -I/opt/local/include -Wall -g -fexceptions -Wall -g -fexceptions -I/opt/local/lib/wx/include/mac-unicode-release-2.8 -I/opt/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ -o xmlcopyeditor -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime -lwx_macu_stc-2.8 -lwx_macu_richtext-2.8 -lwx_macu-2.8 -lexpat -lxslt -lxml2 -lpcre -lxerces-c xmlcopyeditor.o associatedialog.o casehandler.o contexthandler.o globalreplacedialog.o housestyle.o housestylereader.o myhtmlpane.o nocasecompare.o readfile.o replace.o spellcheck.o styledialog.o wraplibxml.o wrapregex.o wraptempfilename.o xmlassociatedtd.o xmlassociatexsd.o xmlassociatexsl.o xmlctrl.o xmldoc.o xmlencodinghandler.o xmlfilterreader.o xmlpromptgenerator.o xmlrulereader.o xmlschemalocator.o xmlutf8reader.o xsllocator.o wrapexpat.o mypropertysheet.o rule.o housestylewriter.o myipc.o aboutdialog.o pathresolver.o mynotebook.o insertpanel.o xmlwordcount.o getword.o locationpanel.o catalogresolver.o getlinuxappdir.o xmlparseschemans.o xmlshallowvalidator.o wrapxerces.o findreplacepanel.o xmlschemaparser.o commandpanel.o binaryfile.o xmlencodingspy.o
mkdir .libs
g++ -I/opt/local/include -Wall -g -fexceptions -Wall -g -fexceptions -I/opt/local/lib/wx/include/mac-unicode-release-2.8 -I/opt/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ -o xmlcopyeditor -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime xmlcopyeditor.o associatedialog.o casehandler.o contexthandler.o globalreplacedialog.o housestyle.o housestylereader.o myhtmlpane.o nocasecompare.o readfile.o replace.o spellcheck.o styledialog.o wraplibxml.o wrapregex.o wraptempfilename.o xmlassociatedtd.o xmlassociatexsd.o xmlassociatexsl.o xmlctrl.o xmldoc.o xmlencodinghandler.o xmlfilterreader.o xmlpromptgenerator.o xmlrulereader.o xmlschemalocator.o xmlutf8reader.o xsllocator.o wrapexpat.o mypropertysheet.o rule.o housestylewriter.o myipc.o aboutdialog.o pathresolver.o mynotebook.o insertpanel.o xmlwordcount.o getword.o locationpanel.o catalogresolver.o getlinuxappdir.o xmlparseschemans.o xmlshallowvalidator.o wrapxerces.o findreplacepanel.o xmlschemaparser.o commandpanel.o binaryfile.o xmlencodingspy.o -Wl,-bind_at_load -L/opt/local/lib -lwx_macu_stc-2.8 -lwx_macu_richtext-2.8 -lwx_macu-2.8 /opt/local/lib/libexpat.dylib /usr/lib/libxslt.dylib -L/usr/lib /usr/lib/libxml2.dylib -lpthread -lz /usr/lib/libiconv.dylib -lm /opt/local/lib/libpcre.dylib -lxerces-c
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: can't locate file for: -lwx_macu_richtext-2.8
collect2: ld returned 1 exit status
make[1]: *** [xmlcopyeditor] Error 1
make: *** [all-recursive] Error 1
Here's where the dodgy library is put in.
$ grep -n lwx_macu_richtext config.status
584:s,@WX_LIBS@,|#_!!_#|-L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime -lwx_macu_stc-2.8 -lwx_macu_richtext-2.8 -lwx_macu-2.8 ,g
config.status
Logged In: YES
user_id=1298822
Originator: NO
Hi Adam sorry about the long delay! I've had very erratic internet access recently and by the time the connection went back up I'd lost sight of your query.
It seems that your wxW installation doesn't come with the rich text component by default. If you can, enable it specifically when you build wxW. If it hasn't been ported to Mac for some reason, just #ifdef the contents of the insert symbol dialog method. It's the only place I'm using the component. (The symbol dialog was written for the rich text editor but works just as well without it.)
Best
Gerald
Can we close this? I don't have a mac to check with..
Please let me know if I missed anything.