Good to know. Actually the direct inclusion of malloc.h is obsolete, I
fixed that in the source code:
<https://code.google.com/p/votca/source/detail?r=41e8c56223&repo=csg>

Cheers,

Christoph

2011/8/23 Marc-André Dubois <[email protected]>:
> Problem solved, I only change
> #include <malloc.h> for #include </usr/include/malloc/malloc.h> in
> gmxtrajectoryreader.cc
>
> Thanks for your help.
> Marc-André Dubois
> Le 2011-08-22 à 20:20, Marc-André Dubois a écrit :
>
> Thanks a lot, I will check this tomorrow.
>
> Marc-André Dubois
> Université de Montréal
> Montréal, Québec, Canada
> 1-514-659-6305
> [email protected]
>
> Le 2011-08-22 à 18:24, Christoph Junghans <[email protected]> a écrit :
>
> Ah, osx is not my specialty (maybe Sikandar can help).
>
> I guess, first you have to find malloc.h.
>
> Maybe it is in /usr/include/malloc, otherwise you can use find to find it
> with:
>
> $find / -name malloc.h
>
> Once you have the path to malloc.h just add an option like
>
> -DCMAKE_INCLUDE_PATH=/dir/of/malloc/ to the cmake (or build.sh)
>
> command.
>
> Cheers,
>
> Christoph
>
> 2011/8/23 Marc-André Dubois <[email protected]>:
>
> Thanks Christoph. I'm running osx, libc should be already installed…
>
> Marc
>
> Le 2011-08-22 à 17:42, Christoph Junghans a écrit :
>
> Hi Marc,
>
> malloc.h is usually a part of the libc, so possibly you have to
>
> install the libc's development package.
>
> Under linux that is usually called glibc-dev or glibc-devel.
>
> Cheers,
>
> Christoph
>
>
> 2011/8/22 Marc-André Dubois <[email protected]>:
>
> Hi guys,
>
>              I tried to install VOTCA. First of all, I tried to compile the
> different dependencies after what I installed VOTCA Tools. At this point,
> everything works like a charm. I tried to install VOTCA CSG, but it fails at
> a certain point writing:
>
> [ 49%] Building CXX object
> src/libcsg/CMakeFiles/votca_csg.dir/modules/io/gmxtrajectoryreader.cc.o
>
> /Users/ma/VOTCA/src/csg/src/libcsg/modules/io/gmxtrajectoryreader.cc:18:20:
> error: malloc.h: No such file or directory
>
> make[2]: ***
> [src/libcsg/CMakeFiles/votca_csg.dir/modules/io/gmxtrajectoryreader.cc.o]
> Error 1
>
> make[1]: *** [src/libcsg/CMakeFiles/votca_csg.dir/all] Error 2
>
> make: *** [all] Error 2
>
> I think the problem concerns my GROMACS repertory which is not the default
> one. Isn't? I tried multiple time to redo my procedure following your
> website, but I am not able to go further this step. Thanks for your help,
>
> Marc-André Dubois
>
> Université de Montréal,
>
> Québec, Canada
>
> [email protected]
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "votca" group.
>
> To post to this group, send email to [email protected].
>
> To unsubscribe from this group, send email to
> [email protected].
>
> For more options, visit this group at
> http://groups.google.com/group/votca?hl=en.
>
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "votca" group.
>
> To post to this group, send email to [email protected].
>
> To unsubscribe from this group, send email to
> [email protected].
>
> For more options, visit this group at
> http://groups.google.com/group/votca?hl=en.
>
>
>
>
>
> --
>
> Dr. Christoph Junghans
>
> Votca Core Developer
>
> Web: http://www.votca.org
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "votca" group.
>
> To post to this group, send email to [email protected].
>
> To unsubscribe from this group, send email to
> [email protected].
>
> For more options, visit this group at
> http://groups.google.com/group/votca?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "votca" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/votca?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "votca" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/votca?hl=en.
>



-- 
Dr. Christoph Junghans
Votca Core Developer

Web: http://www.votca.org

-- 
You received this message because you are subscribed to the Google Groups 
"votca" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/votca?hl=en.

Reply via email to