Re: [Proftpd-user] How to execute unit and regression tests
Gunjan Aggarwal <[email protected]>
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <[email protected]> |
I installed libcheck by downloading its source code (version 0.12.0) and executed following commands to build and install it: ``` |$ mkdir build $ cd build $ cmake ../ $ make $ CTEST_OUTPUT_ON_FAILURE=1 make test $ make install | ``` I also tried to install libcheck-devel as "sudo apt-get install check-devel" and "sudo apt-get install libcheck-devel" but none of the packages exist. Is there a particular version of libcheck that I should install? Thanks, Gunjan On 1/30/2018 4:30 AM, Matus UHLAR - fantomas wrote: > On 29.01.18 17:09, Gunjan Aggarwal wrote: >> Today I installed libcheck, following the log: > >> After installing libcheck, I tried to configure ProFTPD as following: >> ``` >> ./configure --enable-tests --with-includes=/usr/local/include >> --with-libraries=/usr/local/lib >> ``` >> >> But I am still getting error that libcheck library is missing: >> ``` >> checking check.h usability... yes >> checking check.h presence... yes >> checking for check.h... yes >> checking for tcase_create in -lcheck... no >> configure: error: libcheck support, required for tests, not present >> -- aborting > > you apparentlky need libcheck-devel or some similar library. > linux distributions often split library into multiple packages. > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html