User forums > Help

Ubuntu cbprofile

<< < (2/3) > >>

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:


--- End quote ---
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...

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

--- End quote ---

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

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


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

--- End quote ---

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

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

--- End quote ---

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

--- End quote ---
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.

--- End quote ---
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.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version