Re: [Kosmosfs-users] A question on installing TCMalloc
Status: Alpha
Brought to you by:
sriramsrao
|
From: Saptarshi G. <sap...@gm...> - 2008-08-10 18:57:00
|
Thanks. I'll make the modifications and try it out.
Regards
Saptarshi
On Aug 10, 2008, at 2:17 PM, Sriram Rao wrote:
> Hi,
>
> Sorry about that. The Tcmalloc dependency needs to be taken out.
> here is what you do. Edit CMakeLists.txt at the top-level directory
> and add the following line:
>
> [sriram@fedora-vm kfs-0.2]$ svn diff CMakeLists.txt
> Index: CMakeLists.txt
> ===================================================================
> --- CMakeLists.txt (revision 118)
> +++ CMakeLists.txt (working copy)
> @@ -85,6 +85,7 @@
> ENDIF(CMAKE_BUILD_TYPE STREQUAL "Release")
>
> set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
> +set(Tcmalloc_LIBRARIES "")
>
> Aside, without the above line, it compiles fine for me on FC9.
>
> For log4cpp, you need log4cpp-1.0 (don't need the devel version; I'll
> update wiki).
>
> Sriram
>>
>>
>> On Sun, Aug 10, 2008 at 9:24 AM, Saptarshi Guha
>> <sap...@gm...> wrote:
>>> Hi,
>>> While trying to install KFS in my home directory( i do not have
>>> root access)
>>> the following occurred.
>>> a) I have installed log4cpp 0.2.0
>>> b) I could not find log4cpp-devel sources (have they been collated
>>> into
>>> log4cpp?)
>>> c) installed BOOST
>>> All into my home directory.
>>> I then ran cmake on kfs
>>> --------------------
>>> cmake -D CMAKE_BUILD_TYPE=RelWithDebInfo ~/tmp/kfs-0.2.0 -- Found
>>> JNI...building kfs_access
>>> -- Configuring done CMake Warning (dev) at src/cc/common/
>>> CMakeLists.txt:11
>>> (add_library): Policy CMP0003 should be set before this line. Add
>>> code such
>>> as if(COMMAND cmake_policy) cmake_policy(SET CMP0003 NEW)
>>> endif(COMMAND
>>> cmake_policy) as early as possible but after the most recent call to
>>> cmake_minimum_required or cmake_policy(VERSION). This warning
>>> appears
>>> because target "kfsCommon-shared" links to some libraries for
>>> which the
>>> linker must search: pthread and other libraries with known full
>>> path:
>>> /home/sguha/villa/lib/liblog4cpp.so CMake is adding directories in
>>> the
>>> second list to the linker search path in case they are needed to
>>> find
>>> libraries from the first list (for backwards compatibility with
>>> CMake 2.4).
>>> Set policy CMP0003 to OLD or NEW to enable or disable this behavior
>>> explicitly. Run "cmake --help-policy CMP0003" for more
>>> information. This
>>> warning is for project developers. Use -Wno-dev to suppress it.
>>> ----------------------
>>> And then ran gmake
>>> however at 36%, i get the following error
>>> [ 37%] Built target kfsIO
>>> Linking CXX executable logcompactor
>>> c++: $(Tcmalloc_LIBRARIES): No such file or directory
>>> gmake[2]: *** [src/cc/meta/logcompactor] Error 1
>>> gmake[1]: *** [src/cc/meta/CMakeFiles/logcompactor.dir/all] Error 2
>>> gmake: *** [all] Error 2
>>> I have seen this error in the mailing list but no resolution.
>>> Any pointers on how I can proceed?
>>>
>>> regards
>>> Saptarshi
>>>
>>> P.S
>>> uname -a
>>> Linux a.b.c.edu 2.6.18-92.1.6.el5 #1 SMP Fri Jun 20 02:36:06 EDT
>>> 2008 x86_64
>>> x86_64 x86_64 GNU/Linux
>>>
>>>
>>> Saptarshi Guha | sap...@gm... |
>>> http://www.stat.purdue.edu/~sguha
>>>
>>> Machines that have broken down will work perfectly when the
>>> repairman
>>> arrives.
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win
>>> great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in
>>> the world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Kosmosfs-users mailing list
>>> Kos...@li...
>>> https://lists.sourceforge.net/lists/listinfo/kosmosfs-users
>>>
>>>
>>
Saptarshi Guha | sap...@gm... | http://www.stat.purdue.edu/~sguha
Murphy's Law, that brash proletarian restatement of Godel's Theorem.
-- Thomas Pynchon, "Gravity's Rainbow"
|