[CMake] installation problem

Zhuang Song zhuang.song at gmail.com
Sun May 2 17:53:36 EDT 2010


Hi Bill,

Thank you for pointing this out. I did try several times to install
CMake. When I started with a clean build/source tree, I got a lot of
other errors in bootstrap.  I tried to attach the output of bootstrap with error
messages, but it was hold by the maillist moderator because the file
size exceeded
the limit. Anyway, the final message is: "Curses libraries were not found.
Curses GUI for CMake will not be built."

My system is AMD x86-64, GNU/Linux 2.6.9. When I compile from the
source code of CMake, I was wondering if the source code of CMake for
Linux (version 2.8.1) has any issue with 64 bit Linux system.

Thanks,
Zhuang

>
>
> On Sun, May 2, 2010 at 6:19 AM, Bill Hoffman <bill.hoffman at kitware.com> wrote:
>> On 5/2/2010 4:55 AM, Michael Wild wrote:
>>>
>>>
>>> On Sun, May 2, 2010 at 3:40 AM, Zhuang Song <zhuang.song at gmail.com
>>> <mailto:zhuang.song at gmail.com>> wrote:
>>>
>>>    Hi!
>>>    I am trying to install CMake in our Linux server. I follow the three
>>>    steps: $ ./bootstrap; make; make install
>>>
>>>    in running bootstrap, I got the following messages:
>>>
>>>    ***********************************
>>>    cmSystemTools.o: In function
>>>    `cmSystemTools::RemoveRPath(std::basic_string<char,
>>>    std::char_traits<char>, std::allocator<char> > const&,
>>>    std::basic_string<char, std::char_traits<char>, std::allocator<char>
>>>     >*, bool*)':
>>>    cmSystemTools.cxx:(.text+0x3d0): undefined reference to
>>>    `cmELF::cmELF(char const*)'
>>>    cmSystemTools.cxx:(.text+0x3f9): undefined reference to
>>>    `cmELF::GetRPath()'
>>>    cmSystemTools.cxx:(.text+0x426): undefined reference to
>>>    `cmELF::GetRunPath()'
>>>    cmSystemTools.cxx:(.text+0x4a7): undefined reference to
>>>    `cmELF::GetDynamicEntryCount() const'
>>>    cmSystemTools.cxx:(.text+0x5a2): undefined reference to
>>>    `cmELF::GetDynamicEntryPosition(int) const'
>>>    cmSystemTools.cxx:(.text+0x5dc): undefined reference to
>>>    `cmELF::GetDynamicEntryPosition(int) const'
>>>    cmSystemTools.cxx:(.text+0x612): undefined reference to
>>>    `cmELF::GetDynamicEntryPosition(int) const'
>>>    cmSystemTools.cxx:(.text+0x6d2): undefined reference to
>>>    `cmELF::ReadBytes(unsigned long, unsigned long, char*) const'
>>>    cmSystemTools.cxx:(.text+0x766): undefined reference to
>>>    `cmELF::~cmELF()'
>>>    cmSystemTools.cxx:(.text+0x77e): undefined reference to
>>>    `cmELF::~cmELF()'
>>>    cmSystemTools.o: In function
>>>    `cmSystemTools::CheckRPath(std::basic_string<char,
>>>    std::char_traits<char>, std::allocator<char> > const&,
>>>    std::basic_string<char, std::char_traits<char>, std::allocator<char> >
>>>    const&)':
>>>    cmSystemTools.cxx:(.text+0xee6): undefined reference to
>>>    `cmELF::cmELF(char const*)'
>>>    cmSystemTools.cxx:(.text+0xeef): undefined reference to
>>>    `cmELF::GetRPath()'
>>>    cmSystemTools.cxx:(.text+0xf03): undefined reference to
>>>    `cmELF::GetRunPath()'
>>>    cmSystemTools.cxx:(.text+0xf73): undefined reference to
>>>    `cmELF::~cmELF()'
>>>    cmSystemTools.cxx:(.text+0xf89): undefined reference to
>>>    `cmELF::~cmELF()'
>>>    cmSystemTools.o: In function
>>>    `cmSystemTools::ChangeRPath(std::basic_string<char,
>>>    std::char_traits<char>, std::allocator<char> > const&,
>>>    std::basic_string<char, std::char_traits<char>, std::allocator<char> >
>>>    const&, std::basic_string<char, std::char_traits<char>,
>>>    std::allocator<char> > const&, std::basic_string<char,
>>>    std::char_traits<char>, std::allocator<char> >*, bool*)':
>>>    cmSystemTools.cxx:(.text+0x10d8): undefined reference to
>>>    `cmELF::cmELF(char const*)'
>>>    cmSystemTools.cxx:(.text+0x1117): undefined reference to
>>>    `cmELF::GetRPath()'
>>>    cmSystemTools.cxx:(.text+0x1155): undefined reference to
>>>    `cmELF::GetRunPath()'
>>>    cmSystemTools.cxx:(.text+0x1698): undefined reference to
>>>    `cmELF::~cmELF()'
>>>    cmSystemTools.cxx:(.text+0x16b0): undefined reference to
>>>    `cmELF::~cmELF()'
>>>    cmSystemTools.o: In function
>>>    `cmSystemTools::GuessLibrarySOName(std::basic_string<char,
>>>    std::char_traits<char>, std::allocator<char> > const&,
>>>    std::basic_string<char, std::char_traits<char>, std::allocator<char>
>>>     >&)':
>>>    cmSystemTools.cxx:(.text+0x1a91): undefined reference to
>>>    `cmELF::cmELF(char const*)'
>>>    cmSystemTools.cxx:(.text+0x1aab): undefined reference to
>>>    `cmELF::GetSOName(std::basic_string<char, std::char_traits<char>,
>>>    std::allocator<char> >&)'
>>>    cmSystemTools.cxx:(.text+0x1c6d): undefined reference to
>>>    `cmELF::~cmELF()'
>>>    cmSystemTools.cxx:(.text+0x1c89): undefined reference to
>>>    `cmELF::~cmELF()'
>>>    cmSystemTools.o: In function `cmELF::operator bool() const':
>>>    cmSystemTools.cxx:(.text._ZNK5cmELFcvbEv[cmELF::operator bool()
>>>    const]+0x11): undefined reference to `cmELF::Valid() const'
>>>    collect2: ld returned 1 exit status
>>>    gmake: *** [cmake] Error 1
>>>    ---------------------------------------------
>>>    Error when bootstrapping CMake:
>>>    Problem while running gmake
>>>
>>>    ***********************************
>>>
>>>    Could anyone let me know what is the problem here?
>>>
>> Start with a clean build/source tree, this is a known issue with the
>> bootstrap process.   If you run the bootstrap more than once you can get
>> this error.
>>
>> -Bill
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/listinfo/cmake
>>
>
>
>
> --
> Zhuang Song, Ph.D.
> Postdoctoral Fellow
> Department of Psychiatry
> University of California, San Diego
> 3350 La Jolla Village Drive (116A)
> San Diego, CA  92161
>



-- 
Zhuang Song, Ph.D.
Postdoctoral Fellow
Department of Psychiatry
University of California, San Diego
3350 La Jolla Village Drive (116A)
San Diego, CA  92161


More information about the CMake mailing list