User forums > Help
Problems making CB for OSX from wiki instructions
bnilsson:
I have problems following the wiki instructions on building CB for OSX.
I do
./configure --enable-contrib
and get (in make src/plugins/contrib)
ar cru .libs/libwxPdfDocument.a .libs/pdfannotation.o .libs/pdfbarcode.o .libs/pdfcolor.o .libs/pdfdoc.o .libs/pdfencrypt.o .libs/pdffont.o .libs/pdfform.o .libs/pdfgraphics.o .libs/pdfimage.o .libs/pdfkernel.o .libs/pdfxml.o~ranlib .libs/libwxPdfDocument.a
ar: .libs/pdfxml.o~ranlib: No such file or directory
What is ".libs/pdfxml.o~ranlib"?
bnilsson:
Platform:
PowerMac dual G5 2.3GHz
OSX 10.4.7
wxwidgets 2.6.3
codeblocks from http://www.codeblocks.org/source_code.shtml
I applied the patches as indicated by the wiki page, there were many FAILED chunks but anyway, now it built after editing menuutils.cpp and dragscroll.cpp. Some functions TODO had been implemented (by the patches?) without removing the empty TODO declarations.
(I had the naive assumption that patches of some age would go into the fresh distribution, but this was obviously wrong.)
This version of CB does not load the plugins. It is looking for the wrong plugins, or the wrong plugins (names?) are installed.
CB says it wants .zip plugins, but there are only .la and .so files in the plugins folder.
But this would go into another thread.
Pecan:
--- Quote from: bnilsson on September 24, 2006, 12:52:59 pm ---Platform:
PowerMac dual G5 2.3GHz
OSX 10.4.7
wxwidgets 2.6.3
codeblocks from http://www.codeblocks.org/source_code.shtml
I applied the patches as indicated by the wiki page, there were many FAILED chunks but anyway, now it built after editing menuutils.cpp and dragscroll.cpp. Some functions TODO had been implemented (by the patches?) without removing the empty TODO declarations.
(I had the naive assumption that patches of some age would go into the fresh distribution, but this was obviously wrong.)
This version of CB does not load the plugins. It is looking for the wrong plugins, or the wrong plugins (names?) are installed.
CB says it wants .zip plugins, but there are only .la and .so files in the plugins folder.
But this would go into another thread.
--- End quote ---
PluginManager.cpp is looking for name.zip for it manifest.xml file, while MAC plugin names are libname.so etc. So the ziped manifest file name should be libname.zip, not name.zip in .../share/codeblocks.
So if the plugin is named DragScroll.so, the manifest.xml should be ziped into .../share/codeblocks/libDragScroll.zip
Also,
DragScroll and Keybinder have been fixed in SVN and tested on the MAC as of 2006/09/23 SVN 2993
afb:
--- Quote from: Pecan on September 24, 2006, 01:57:31 pm ---Also,
DragScroll and Keybinder have been fixed in SVN and tested on the MAC as of 2006/09/23 SVN 2993
--- End quote ---
I've updated the Wiki and removed the workaround patch.
Will update the Portfile when I have built rev 2994 locally.
bnilsson:
Two things:
1) There is no libdebuggergdb plugin, and CB complains that it cannot load it.
2) There are some failures when applying the plugin patch:
patch -p0 -i codeblocks-rev2890_pluginslib.patch
patching file src/plugins/contrib/codesnippets/Makefile.am
Hunk #1 FAILED at 10.
1 out of 1 hunk FAILED -- saving rejects to file src/plugins/contrib/codesnippets/Makefile.am.rej
patching file src/plugins/contrib/profiler/Makefile.am
patching file src/plugins/contrib/wxSmith/defwidgets/Makefile.am
patching file src/plugins/contrib/wxSmith/properties/Makefile.am
patching file src/plugins/contrib/wxSmith/Makefile.am
patching file src/plugins/contrib/wxSmith/resources/Makefile.am
patching file src/plugins/contrib/envvars/Makefile.am
Hunk #1 FAILED at 9.
1 out of 1 hunk FAILED -- saving rejects to file src/plugins/contrib/envvars/Makefile.am.rej
patching file src/plugins/contrib/codestat/Makefile.am
patching file src/plugins/contrib/help_plugin/Makefile.am
patching file src/plugins/contrib/byogames/Makefile.am
Hunk #1 FAILED at 8.
1 out of 1 hunk FAILED -- saving rejects to file src/plugins/contrib/byogames/Makefile.am.rej
patching file src/plugins/contrib/source_exporter/Makefile.am
patching file src/plugins/contrib/cb_koders/Makefile.am
patching file src/plugins/contrib/keybinder/Makefile.am
patching file src/plugins/contrib/dragscroll/Makefile.am
Hunk #1 FAILED at 8.
1 out of 1 hunk FAILED -- saving rejects to file src/plugins/contrib/dragscroll/Makefile.am.rej
patching file src/plugins/astyle/Makefile.am
patching file src/plugins/debuggergdb/Makefile.am
Hunk #1 FAILED at 13.
1 out of 1 hunk FAILED -- saving rejects to file src/plugins/debuggergdb/Makefile.am.rej
patching file src/plugins/codecompletion/Makefile.am
patching file src/plugins/todo/Makefile.am
patching file src/plugins/classwizard/Makefile.am
patching file src/plugins/compilergcc/Makefile.am
patching file src/plugins/autosave/Makefile.am
Hunk #1 FAILED at 8.
1 out of 1 hunk FAILED -- saving rejects to file src/plugins/autosave/Makefile.am.rej
patching file src/plugins/defaultmimehandler/Makefile.am
patching file src/plugins/xpmanifest/Makefile.am
patching file src/plugins/scriptedwizard/Makefile.am
Hunk #1 FAILED at 12.
1 out of 1 hunk FAILED -- saving rejects to file src/plugins/scriptedwizard/Makefile.am.rej
Is this something to worry about?
Navigation
[0] Message Index
[#] Next page
Go to full version