<div dir="ltr"><div>Just installed swig and now met with another error. Can't find what is really wrong.<br></div><div><span style="font-family:monospace">RTEMS Source Builder - Set Builder, 6 (c938bd7cbe16)<br>Build Set: 6/rtems-llvm<br>Build Set: devel/swig.bset<br>Build Set: devel/autotools-internal.bset<br>config: devel/autoconf-2.69-1.cfg<br>package: autoconf-2.69-x86_64-linux-gnu-1<br>building: autoconf-2.69-x86_64-linux-gnu-1<br>sizes: autoconf-2.69-x86_64-linux-gnu-1: 7.493MB (installed: 0.000B)<br>cleaning: autoconf-2.69-x86_64-linux-gnu-1<br>config: devel/automake-1.12.6-1.cfg<br>package: automake-1.12.6-x86_64-linux-gnu-1<br>building: automake-1.12.6-x86_64-linux-gnu-1<br>sizes: automake-1.12.6-x86_64-linux-gnu-1: 8.085MB (installed: 0.000B)<br>cleaning: automake-1.12.6-x86_64-linux-gnu-1<br>config: devel/libtool-2.4.2-1.cfg<br>package: libtool-2.4.2-x86_64-linux-gnu-1<br>building: libtool-2.4.2-x86_64-linux-gnu-1<br>sizes: libtool-2.4.2-x86_64-linux-gnu-1: 12.775MB (installed: 0.000B)<br>cleaning: libtool-2.4.2-x86_64-linux-gnu-1<br>cleaning: autoconf-2.69-x86_64-linux-gnu-1<br>cleaning: automake-1.12.6-x86_64-linux-gnu-1<br>cleaning: libtool-2.4.2-x86_64-linux-gnu-1<br>Build Sizes: usage: 12.775MB total: 79.327MB (sources: 79.308MB, patches: 19.412KB, installed 0.000B)<br>Build Set: Time 0:00:17.154758<br>config: devel/swig-4.0.1.cfg<br>package: swig-4.0.1-x86_64-linux-gnu-1<br>building: swig-4.0.1-x86_64-linux-gnu-1<br>sizes: swig-4.0.1-x86_64-linux-gnu-1: 106.899MB (installed: 0.000B)<br>cleaning: swig-4.0.1-x86_64-linux-gnu-1<br>cleaning: swig-4.0.1-x86_64-linux-gnu-1<br>Build Set: Time 0:01:27.065144<br>config: tools/rtems-llvm-8.0.1.cfg<br>package: rtems-llvm-8.0.1-x86_64-linux-gnu-1<br>building: rtems-llvm-8.0.1-x86_64-linux-gnu-1<br>error: building rtems-llvm-8.0.1-x86_64-linux-gnu-1<br>Build FAILED<br>  See error report: rsb-report-rtems-llvm-8.0.1-x86_64-linux-gnu-1.txt<br>error: building rtems-llvm-8.0.1-x86_64-linux-gnu-1<br>Build Set: Time 0:04:53.632167<br>Build FAILED</span></div><div>The error report: <a href="https://pastebin.com/nFYzqWqY">https://pastebin.com/nFYzqWqY</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 30, 2021 at 2:24 PM Joel Sherrill <<a href="mailto:joel@rtems.org">joel@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, Jul 30, 2021 at 12:46 AM Ida Delphine <<a href="mailto:idadelm@gmail.com" target="_blank">idadelm@gmail.com</a>> wrote:<br>
><br>
> Hello everyone,<br>
> I have been trying to build llvm using the command<br>
> ../source-builder/sb-set-builder --prefix=$HOME/development/rtems/6 6/rtems-llvm<br>
> Here's the error report<br>
> <a href="https://pastebin.com/vAXgwXMW" rel="noreferrer" target="_blank">https://pastebin.com/vAXgwXMW</a><br>
<br>
It would have been helpful to have put the error lines in the email<br>
and a link to the full log.<br>
<br>
-- Could NOT find libedit (missing: libedit_INCLUDE_DIRS libedit_LIBRARIES)<br>
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)<br>
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146<br>
(message):<br>
Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR)<br>
Call Stack (most recent call first):<br>
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393<br>
(_FPHSA_FAILURE_MESSAGE)<br>
/usr/share/cmake-3.16/Modules/FindSWIG.cmake:64<br>
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)<br>
tools/lldb/scripts/CMakeLists.txt:18 (find_package)<br>
<br>
> Please what am I missing?<br>
<br>
Based on google results and other people having the same issue, you may not<br>
have swig installed. It is something to install with npm from what I<br>
see. Other people<br>
have it but need to set some variables to let cmake know where it is.<br>
<br>
Hopefully installing it will help. Chris should comment on this from<br>
an RSB perspective.<br>
<br>
--joel<br>
<br>
><br>
> _______________________________________________<br>
> devel mailing list<br>
> <a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>