WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: help me to build "microdc2"  (Read 1632 times)

Offline bonbob

  • Jr. Member
  • **
  • Posts: 99
help me to build "microdc2"
« 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?

Offline bonbob

  • Jr. Member
  • **
  • Posts: 99
Re: help me to build "microdc2"
« Reply #1 on: December 30, 2019, 03:23:22 PM »
Yep... seems i need libreadline5-dev which is not present in repo.  :-\

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: help me to build "microdc2"
« Reply #2 on: December 31, 2019, 12:30:50 AM »
Could you post the actual error message?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: help me to build "microdc2"
« Reply #3 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"

Offline bonbob

  • Jr. Member
  • **
  • Posts: 99
Re: help me to build "microdc2"
« Reply #4 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