Jump to content
Asdruv

SystemC TLM CMake install bug

Recommended Posts

Hi!

 

I found a minor bug in one of the CMakeLists.txt files:

docs/CMakeLists.txt

points to the file:

docs/tlm/ChangeLog

Which doesn't seem to exist anymore. This causes the installation to fail with the current git revision (fd4bedd5).

Here's the error message I'm getting on GNU/Linux:

-- Installing: /opt/systemc/share/doc/systemc/sysc/archived/FuncSpec20.pdf
-- Installing: /opt/systemc/share/doc/systemc/sysc/archived/WhitePaper20.pdf
-- Installing: /opt/systemc/share/doc/systemc/sysc/archived/UserGuide20.pdf
-- Installing: /opt/systemc/share/doc/systemc/sysc/archived/SystemC_2_1_overview.pdf
-- Installing: /opt/systemc/share/doc/systemc/sysc/archived/SystemC_2_1_features.pdf
-- Installing: /opt/systemc/share/doc/systemc/sysc/SystemC_2011_New_Features.pdf
CMake Error at docs/cmake_install.cmake:77 (file):
  file INSTALL cannot find "/tmp/systemc/docs/tlm/ChangeLog".
Call Stack (most recent call first):
  cmake_install.cmake:87 (include)


make: *** [install] Error 1
Makefile:73: recipe for target 'install' failed
The command '/bin/sh -c cmake .. && make && make install' returned a non-zero code: 2

 

I've attached a patch to remove the file entry which fixes the installation issue.

I hope this is useful!

 

Have a nice day.

tlm_doc_cmake_fix.patch

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...