User forums > Help
Ubuntu cbprofile
EverDream:
Hi i installed code blocks yesterday.
However at startup there is always : "The file CBProfiler.zip could not be found.
Please check your installation." , the same error like thread on mac os but i'm on ubuntu.
Could you help me? :)
Thanks
mandrav:
Can you help me here? Why didn't you just search for it before asking? Is the search hard to find? Is it hard to work with?
I 'm just trying to understand why people never search these days...
_teo_:
--- Quote from: mandrav on October 25, 2006, 08:31:06 am ---Can you help me here? Why didn't you just search for it before asking? Is the search hard to find? Is it hard to work with?
I 'm just trying to understand why people never search these days...
--- End quote ---
Uhmm, why are you so angry? Is there any solution to this? I searched the forums and found nothing. However there are many posts reporting this particular problem.
ddd:
The solution:
1) rename share/codeblocks/profiler.zip -> CBProfiler.zip
2) rename share/codeblocks/plugins/libprofiler.so -> libCBProfiler.so
3) rename share/codeblocks/plugins/libprofiler.la -> libCBProfiler.la
Or apply this patch and rebuild (you might have to run bootstrap again):
EDIT: Do a 'make uninstall' first
--- Code: ---Index: src/plugins/contrib/profiler/Makefile.am
===================================================================
--- src/plugins/contrib/profiler/Makefile.am (revision 3139)
+++ src/plugins/contrib/profiler/Makefile.am (arbetskopia)
@@ -6,13 +6,13 @@
libdir = $(pkgdatadir)/plugins
-lib_LTLIBRARIES = libprofiler.la
+lib_LTLIBRARIES = libCBProfiler.la
-libprofiler_la_LDFLAGS = -module -version-info 0:1:0 -shared -no-undefined -avoid-version
+libCBProfiler_la_LDFLAGS = -module -version-info 0:1:0 -shared -no-undefined -avoid-version
-libprofiler_la_LIBADD = ../../../sdk/libcodeblocks.la
+libCBProfiler_la_LIBADD = ../../../sdk/libcodeblocks.la
-libprofiler_la_SOURCES = cbprofilerconfig.cpp \
+libCBProfiler_la_SOURCES = cbprofilerconfig.cpp \
cbprofiler.cpp \
cbprofilerexec.cpp
Index: src/plugins/contrib/profiler/resources/Makefile.am
===================================================================
--- src/plugins/contrib/profiler/resources/Makefile.am (revision 3139)
+++ src/plugins/contrib/profiler/resources/Makefile.am (arbetskopia)
@@ -1,7 +1,7 @@
EXTRA_DIST = configuration.xrc main_dialog.xrc manifest.xml
-pkgdata_DATA = profiler.zip
+pkgdata_DATA = CBProfiler.zip
CLEANFILES = $(pkgdata_DATA)
-profiler.zip:
- PWD=`pwd` cd $(srcdir) && zip $(PWD)/profiler.zip manifest.xml *.xrc > /dev/null
+CBProfiler.zip:
+ PWD=`pwd` cd $(srcdir) && zip $(PWD)/CBProfiler.zip manifest.xml *.xrc > /dev/null
Index: src/plugins/contrib/profiler/cbprofiler.unix.cbp
===================================================================
--- src/plugins/contrib/profiler/cbprofiler.unix.cbp (revision 3139)
+++ src/plugins/contrib/profiler/cbprofiler.unix.cbp (arbetskopia)
@@ -9,7 +9,7 @@
<Option virtualFolders="" />
<Build>
<Target title="default">
- <Option output="../../../devel/share/codeblocks/plugins/libcbprofiler.so" />
+ <Option output="../../../devel/share/codeblocks/plugins/libCBProfiler.so" />
<Option type="3" />
<Option compiler="gcc" />
</Target>
@@ -71,4 +71,4 @@
</Unit>
<Extensions />
</Project>
-</CodeBlocks_project_file>
\ Inget radslut vid filslut
+</CodeBlocks_project_file>
Index: src/tools/cb_share_config/Makefile.am
===================================================================
--- src/tools/cb_share_config/Makefile.am (revision 3139)
+++ src/tools/cb_share_config/Makefile.am (arbetskopia)
@@ -1,6 +1,6 @@
bin_PROGRAMS = cb_share_config
-INCLUDES = $(WX_CXXFLAGS)
+INCLUDES = $(WX_CXXFLAGS) -I$(top_srcdir)/src/sdk
cb_share_config_LDFLAGS =
--- End code ---
_teo_:
--- Quote from: ddd on October 25, 2006, 10:49:41 am ---The solution:
1) rename share/codeblocks/profiler.zip -> CBProfiler.zip
2) rename share/codeblocks/plugins/libprofiler.so -> libCBProfiler.so
3) rename share/codeblocks/plugins/libprofiler.la -> libCBProfiler.la
Or apply this patch and rebuild (you might have to run bootstrap again):
--- End quote ---
Good, I'll update to head revision later today.
--- Quote from: ddd on October 25, 2006, 10:49:41 am ---EDIT: Do a 'make uninstall' first
--- End quote ---
Do I always need to make uninstall? Isn't it sufficient to just make install when I compile the newer version? I thought the newer one will simply override previous one. Sorry for my ignorance. :oops:
Navigation
[0] Message Index
[#] Next page
Go to full version