Author Topic: Buildng 3811 for MacOSX fails.  (Read 4643 times)

bnilsson

  • Guest
Buildng 3811 for MacOSX fails.
« on: April 04, 2007, 09:07:31 pm »
I have not been updating for some time, but now I get this:

Quote
Tiger:~/cb/trunk/src/src/resources bnilsson$ make
Making all in icons
make[1]: Nothing to be done for `all'.
Making all in images
Making all in 16x16
make[2]: Nothing to be done for `all'.
Making all in settings
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.
make[1]: Nothing to be done for `all-am'.
Tiger:~/cb/trunk/src/src/resources bnilsson$ cd ..
Tiger:~/cb/trunk/src/src bnilsson$ make
Making all in wxAUI
make[1]: Nothing to be done for `all'.
Making all in resources
Making all in icons
make[2]: Nothing to be done for `all'.
Making all in images
Making all in 16x16
make[3]: Nothing to be done for `all'.
Making all in settings
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
make[2]: Nothing to be done for `all-am'.
/bin/sh ../../libtool --tag=CXX   --mode=link g++  -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions   -o codeblocks app.o appglobals.o compilersettingsdlg.o crashhandler.o dlgabout.o dlgaboutplugin.o environmentsettingsdlg.o main.o prefix.o printdlg.o scriptconsole.o scriptingsettingsdlg.o splashscreen.o startherepage.o -LwxAUI -lwxaui -L../sdk -lcodeblocks -L/opt/local/lib  -L/opt/local/lib -L/opt/local/lib -framework QuickTime -framework IOKit -framework Carbon -framework Cocoa -framework System  /opt/local/lib/libwx_macud-2.6.a -lpng -lz -ljpeg -ltiff -framework WebKit -lwxregexud-2.6 -lz -lpthread -liconv  -lpthread -ldl
g++ -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -o codeblocks app.o appglobals.o compilersettingsdlg.o crashhandler.o dlgabout.o dlgaboutplugin.o environmentsettingsdlg.o main.o prefix.o printdlg.o scriptconsole.o scriptingsettingsdlg.o splashscreen.o startherepage.o -framework QuickTime -framework IOKit -framework Carbon -framework Cocoa -framework System -framework WebKit -Wl,-bind_at_load  -L/Users/bnilsson/cb/trunk/src/src/wxAUI /Users/bnilsson/cb/trunk/src/src/wxAUI/.libs/libwxaui.a -L/Users/bnilsson/cb/trunk/src/sdk /Users/bnilsson/cb/trunk/src/sdk/.libs/libcodeblocks.a -L/opt/local/lib /opt/local/lib/libwx_macud-2.6.a /opt/local/lib/libpng12.dylib /opt/local/lib/libtiff.dylib /opt/local/lib/libjpeg.dylib -lc -lwxregexud-2.6 -lz /opt/local/lib/libiconv.dylib -lpthread -ldl
/usr/bin/ld: Undefined symbols:
_XML_ErrorString
_XML_GetCurrentLineNumber
_XML_GetErrorCode
_XML_Parse
_XML_ParserCreate
_XML_ParserFree
_XML_SetCharacterDataHandler
_XML_SetCommentHandler
_XML_SetDefaultHandler
_XML_SetElementHandler
_XML_SetUnknownEncodingHandler
_XML_SetUserData
collect2: ld returned 1 exit status
make[1]: *** [codeblocks] Error 1
make: *** [all-recursive] Error 1

I guess something xml-related is missing. What?

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: Buildng 3811 for MacOSX fails.
« Reply #1 on: April 05, 2007, 05:08:51 pm »
Those symbols are from expat, so it seems that it and wxXML are missing from your DarwinPorts libraries ?

bnilsson

  • Guest
Re: Buildng 3811 for MacOSX fails.
« Reply #2 on: April 05, 2007, 07:37:58 pm »
As far as I can see, I have what is needed:

$ port list installed
<snip>
expat                          @2.0.0          textproc/expat
wxMac                          @2.6.3          graphics/wxMac
</snip>
So it is not recognized or found.
Is there a simple way of checking what support there is inside wxMac?


Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: Buildng 3811 for MacOSX fails.
« Reply #3 on: April 05, 2007, 08:04:59 pm »
The only difference I can see is that you are using the static/debug build, while I normally use the dynamic/release build. Guess I need to build a static + debug version of wxWidgets, and see what the problem might be (looks like a missing lib somewhere)

bnilsson

  • Guest
Re: Buildng 3811 for MacOSX fails.
« Reply #4 on: April 06, 2007, 12:24:45 pm »
I reinstalled wxMac dynamic/release, and then it was ok.
BTW, at launch, CB complained that codesnippets.xml could not be opened, and then crashed.
It turned out that my ~/.codeblocks directory was missing. I would have expected that it should then create a new .codeblocks with default contents, like it used to. Has this changed?

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: Buildng 3811 for MacOSX fails.
« Reply #5 on: April 06, 2007, 09:41:50 pm »
It should create the directory (as you say), but it also should be located in ~/Library/Application Support/CodeBlocks for the wxMac version ?