<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hello sir, <div><br></div><div>I am not programming any more </div><div><br></div><div>Have a good day </div><div><div><br>On 15 Jan 2019, at 22:18, Jonathan Busby <<a href="mailto:jonathanbusby@gmail.com">jonathanbusby@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jan 14, 2019 at 11:45 AM BERTRAND Joël <<a href="mailto:joel.bertrand@systella.fr" target="_blank">joel.bertrand@systella.fr</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"><br>
        No idea. If you want to debug, please re-run unmodified <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
(./autogen.sh will rebuild regular configure script) and check error in<br>
config.log.<br></blockquote><div><br></div><div>I deleted the build directory, untared the source again, and ran configure with the "--enable-rplcas" option. I get the same error, which can be found in config.log<br></div><div><br></div><div>"</div><div>configure:7464: checking for main in -lm<br>configure:7483: gcc -o conftest -g -O2  -O2 -fno-strict-overflow  -pthread conftest.c -lm  -lcurl >&5<br>/usr/bin/ld: cannot find -lcurl<br>collect2: error: ld returned 1 exit status<br>configure:7483: $? = 1<br>configure: failed program was:<br>| /* confdefs.h */<br>| #define PACKAGE_NAME "rpl"<br>| #define PACKAGE_TARNAME "rpl"<br>| #define PACKAGE_VERSION "4.1.29"<br>| #define PACKAGE_STRING "rpl 4.1.29"<br>| #define PACKAGE_BUGREPORT ""<br>| #define PACKAGE_URL ""<br>| #define PACKAGE "rpl"<br>| #define VERSION "4.1.29"<br>| #define HAVE_INLINE 1<br>| /* end confdefs.h.  */<br>| <br>| <br>| int<br>| main ()<br>| {<br>| return main ();<br>|   ;<br>|   return 0;<br>| }<br>configure:7492: result: no<br>configure:7502: error: Can not find libm !<br>"<br></div><div> </div><div>The "
usr/bin/ld: cannot find -lcurl" is strange since I have curl and libcurl installed. I have a feeling that the failure to link / find libcurl is the problem.</div><div><br></div><div>EDIT 1 : Indeed, for some reason, the GNU autotools link against libcurl ( in the autoconf generated "
gcc -o conftest -g -O2  -O2 -fno-strict-overflow  -pthread conftest.c -lm  -lcurl >&5

" ) and after I installed the development files for libcurl, the build "succeeded", in a way.</div><div><br></div><div>After, starting the build again, when the motif source was being built, I received the build error :</div><div><br></div><div>"</div><div>Making install in Mrm<br>make[4]: Entering directory '/home/jdb2/src/rpl2/rpl-4.1.29/tools/motif-2.3.8/lib/Mrm'<br>make  install-am<br>make[5]: Entering directory '/home/jdb2/src/rpl2/rpl-4.1.29/tools/motif-2.3.8/lib/Mrm'<br>make[6]: Entering directory '/home/jdb2/src/rpl2/rpl-4.1.29/tools/motif-2.3.8/lib/Mrm'<br> /bin/mkdir -p '/home/jdb2/src/rpl2/rpl-4.1.29/tools/motif-2.3.8/install/lib'<br> /bin/bash ../../libtool   --mode=install /usr/bin/install -c   <a href="http://libMrm.la">libMrm.la</a> '/home/jdb2/src/rpl2/rpl-4.1.29/tools/motif-2.3.8/install/lib'<br>libtool:   error: error: cannot install '<a href="http://libMrm.la">libMrm.la</a>' to a directory not ending in /usr/lib<br>Makefile:435: recipe for target 'install-libLTLIBRARIES' failed<br>make[6]: *** [install-libLTLIBRARIES] Error 1<br>make[6]: Leaving directory '/home/jdb2/src/rpl2/rpl-4.1.29/tools/motif-2.3.8/lib/Mrm'<br>Makefile:656: recipe for target 'install-am' failed<br>make[5]: *** [install-am] Error 2<br>make[5]: Leaving directory '/home/jdb2/src/rpl2/rpl-4.1.29/tools/motif-2.3.8/lib/Mrm'<br>Makefile:650: recipe for target 'install' failed<br>make[4]: *** [install] Error 2<br>make[4]: Leaving directory '/home/jdb2/src/rpl2/rpl-4.1.29/tools/motif-2.3.8/lib/Mrm'<br>Makefile:396: recipe for target 'install-recursive' failed<br>make[3]: *** [install-recursive] Error 1<br>make[3]: Leaving directory '/home/jdb2/src/rpl2/rpl-4.1.29/tools/motif-2.3.8/lib'<br>Makefile:453: recipe for target 'install-recursive' failed<br>make[2]: *** [install-recursive] Error 1<br>make[2]: Leaving directory '/home/jdb2/src/rpl2/rpl-4.1.29/tools/motif-2.3.8'<br>Makefile:1215: recipe for target 'tools/motif-2.3.8/install/lib/libXm.a' failed<br>make[1]: *** [tools/motif-2.3.8/install/lib/libXm.a] Error 2<br>make[1]: Leaving directory '/home/jdb2/src/rpl2/rpl-4.1.29'<br>Makefile:964: recipe for target 'all' failed<br>make: *** [all] Error 2<br>"</div><div><br></div><div>After I typed "make" again, this time the build completed successfully. :)</div><div><br></div><div>The problem I'm having now is that basic tests are failing. For example, if I untar tests/tests.tar.gz and run "rpl arith.rpl" I get the error :</div><div><br></div><div>"</div><div>+++Error : Undefined implicit name [92178]<br></div><div>"<br></div><div><br></div><div>Also, when I run "rpl --help" I get an error after the license text that reads :</div><div><br></div><div>"<br></div><div>+++Error : Any executable definition</div><div>"</div><div><br></div><div>Any thoughts?</div><div><br></div><div>Thanks,</div><div><br></div><div>Jonathan<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
        Regards,<br>
<br>
        JKB<br>
_______________________________________________<br>
RPL2 mailing list<br>
<a href="mailto:RPL2@rayleigh.systella.fr" target="_blank">RPL2@rayleigh.systella.fr</a><br>
<a href="https://www.systella.fr/cgi-bin/mailman/listinfo/rpl2" rel="noreferrer" target="_blank">https://www.systella.fr/cgi-bin/mailman/listinfo/rpl2</a><br>
<a href="http://www.rpl2.net" rel="noreferrer" target="_blank">http://www.rpl2.net</a><br>
</blockquote></div></div></div></div></div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>RPL2 mailing list</span><br><span><a href="mailto:RPL2@rayleigh.systella.fr">RPL2@rayleigh.systella.fr</a></span><br><span><a href="https://www.systella.fr/cgi-bin/mailman/listinfo/rpl2">https://www.systella.fr/cgi-bin/mailman/listinfo/rpl2</a></span><br><span><a href="http://www.rpl2.net">http://www.rpl2.net</a></span><br></div></blockquote></div></body></html>