Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: bonbob on December 29, 2019, 01:15:02 PM

Title: help me to build "microdc2"
Post by: bonbob on December 29, 2019, 01:15:02 PM
Hi. Compilation stopped on many 'rl_xxxxx' undeclared functions. Installig readline-dev has no effect.
maybe libreadline needed? How can i get it?
Title: Re: help me to build "microdc2"
Post by: bonbob on December 30, 2019, 03:23:22 PM
Yep... seems i need libreadline5-dev which is not present in repo.  :-\
Title: Re: help me to build "microdc2"
Post by: Juanito on December 31, 2019, 12:30:50 AM
Could you post the actual error message?
Title: Re: help me to build "microdc2"
Post by: Juanito on December 31, 2019, 01:30:46 AM
Using microdc2-0.15.6, there is a bug in the configure script (reported in 2009):

if test $LIBXML2_VERSION -ge 2616; then

should read:

if test $LIBXML2_VERSION > 2616; then

Once corrected, microdc2 compiles using "tce-load -i compiletc readline-dev libxml2-dev"
Title: Re: help me to build "microdc2"
Post by: bonbob on December 31, 2019, 04:24:00 AM
Hey Wizard, what is the secret of your magic? I have wasted a couple of whole nights with no result, but after your post microdc compiled sucsessfully.

by the way, i didn't find this lines in configure file
Code: [Select]
if test $LIBXML2_VERSION -ge 2616; then
source files was taken from here github.com/jnwatts/microdc2