News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Ubuntu cbprofile

Started by EverDream, October 25, 2006, 08:12:41 AM

Previous topic - Next topic

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...
Be patient!
This bug will be fixed soon...

_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...
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

#3
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


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 =



_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):
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
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:

ddd

Quote from: _teo_ on October 25, 2006, 11:30:33 AM

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:

Make install only overwrites and install new files. In this case you want to remove profiler.* that was wrong.

mandrav

Quote from: _teo_ on October 25, 2006, 10:36:30 AM
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...
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.

I am not angry. I 'm just trying to understand what's wrong with our search feature and no one seems to be using it.
This particular "problem" has popped up a lot lately and, as a matter of fact, the solution has been posted too many times. So please don't tell me that you searched and found nothing...
Be patient!
This bug will be fixed soon...

killerbot

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):
EDIT: Do a 'make uninstall' first


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 =




I know what's going on : will fix this afternoon -> like you said, to be safe start the build process from ./bootstrap again and so on !!!

_teo_

Quote from: mandrav on October 25, 2006, 11:52:45 AM
Quote from: _teo_ on October 25, 2006, 10:36:30 AM
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...
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.

I am not angry. I 'm just trying to understand what's wrong with our search feature and no one seems to be using it.
This particular "problem" has popped up a lot lately and, as a matter of fact, the solution has been posted too many times. So please don't tell me that you searched and found nothing...
Well, I wouldn't argue. My point is that little more friendliness wouldn't hurt. And if you allow me this final comment: you will only benefit from a strong community, thus the newcomers shouldn't be scared.

MortenMacFly

Quote from: _teo_ on October 25, 2006, 04:21:54 PM
you will only benefit from a strong community, thus the newcomers shouldn't be scared.
Yes, but if we work 24/7 on aswering the same question over and over again because people do not search (and this happens far to often) - there will be *no* development at all. You'll have to keep that in mind, too.
With regards Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

_teo_

Quote from: MortenMacFly on October 25, 2006, 04:23:48 PM
Quote from: _teo_ on October 25, 2006, 04:21:54 PM
you will only benefit from a strong community, thus the newcomers shouldn't be scared.
Yes, but if we work 24/7 on aswering the same question over and over again because people do not search (and this happens far to often) - there will be *no* development at all. You'll have to keep that in mind, too.
With regards Morten.
I completely agree with you. However one can simply take a deep breath and be polite.

Look, I appreciate your work. And I'm sure many others feel the same. So, maybe other people in this community can answer such questions and thus letting you concentrate in development. Unfortunately, as you know, I am newcomer too. I'm familiar neither with software nor with people here. So, I cannot do that, but I'm sure others can do it.

To those who read: people, please give a hand to development team.


stahta01

Quote from: _teo_ on October 25, 2006, 04:46:49 PM
To those who read: people, please give a hand to development team.

I do my best to help newbies in order to help the development team. Since, I do NOT know enough to do development. But, some newbies do NOT know how to use GCC or minGW GCC as much as I do. And, I consider myself just barely knowledgeable about GCC/MinGW. This site should NOT have to help newbies use GCC/minGW except in how to use it with code::blocks. The newbies should be directed to a page in C::B wiki that has a list of links to learn about GCC/GDB/minGW GCC. I would prefer a list of external support forums for each compiler C::B supports also. Too much development team time is wasted on NON C::B issues.

The worse newbies do not seem to have ever used a compiler, note I have only tried to help one this bad and I don't plan to help him ever again. I give kudos to the members who have the ability to help a person who seems to be unable to understand answers and blames the person who gives what to me is clear answers to be to one with the communication problem. But, I just try to think of blue sky to cool myself down.

Tim S   
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

MortenMacFly

Quote from: _teo_ on October 25, 2006, 04:46:49 PM
I completely agree with you. However one can simply take a deep breath and be polite.
Don't worry - we are answering over and over again, usually. But there are cases where this is just annoying and you ask yourself exactly this question: "Why don't thy search.". I believe that this is really what mandrav meant (that includes the hint to the answer). So in fact, this wasn't meant unpolite but one can take it as that, agreed. Sorry that you were the one that got hit, honestly - be patient with us, too. ;-)
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]