Re: [softwerk-dev] Troubles with Softwerk
Status: Beta
Brought to you by:
pbd
|
From: Josh G. <jg...@us...> - 2000-11-28 06:13:39
|
Paul Barton-Davis wrote:
> >checking for pbd-config...
> >/home/dlphilp/softwerk-1.99.1/libs/bin/pbd-config
> >checking for libpbd - version >= 1.1.0... 1.1.1
> >checking if libpbd sane... no
> >configure: error: *** libgtkmmext requires libpbd v1.1, but it doesn't
> >appear to be installed
> >make: *** [.configured_gtkmmext] Error 1
>
> i know you said you did this, and i apologize for having a hard time
> believing that the config.log you sent me corresponded to this
> sequence of events. the "sanity" test consists of a test program
> compilation, and when it fails, the autoconf system prints the program
> source out in config.log. Can you take another look (and send it to me ?)
>
> it will be in libs/build/gtkmmext/config.log, which you might not know.
>
I actually had the same experience.. When I took the output from the libpbd
test program (in config.log) and stuck it in a file and compiled it with the
same compile line configure did, it compiled fine.. I think its the return
value from this test program.. I posted it below. It appears that the
version comparison does a !=.. Since its checking for 1.1.0 wouldn't this be
wrong?
Josh
#include <stdio.h>
#include <pbd/version.h>
#include <pbd/transmitter.h>
Transmitter error(Transmitter::Error);
Transmitter info(Transmitter::Info);
Transmitter warning(Transmitter::Warning);
Transmitter fatal(Transmitter::Fatal);
int main(int argc,char **argv)
{
if (pbd_major_version!=$pbd_major_version ||
pbd_minor_version!=$pbd_minor_version ||
pbd_micro_version!=$pbd_micro_version)
{ printf("(%d.%d.%d) ",
pbd_major_version,pbd_minor_version,pbd_micro_version);
return 1;
}
}
|