This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] Problem building CVS: OFX version?

Tags: None
(comma "," separated)
User avatar
wolfemi1
Registered Member
Posts
58
Karma
0
OS
Hello all,

I'm running Kubuntu 9.04 right now, and I'm having a problem running the ./configure step. I get the following error:

Code: Select all
checking if OFX direct connect is desired... yes
./configure: line 34445: syntax error near unexpected token `OFX,libofx'
./configure: line 34445: `    PKG_CHECK_MODULES(OFX,libofx >= 0.8.2)'


In the configure file, the line refers to the following code:

Code: Select all
  if test "$enable_ofxplugin" != "no"; then
    CFLAGS="$ac_save_CFLAGS"
    PKG_CHECK_MODULES(OFX,libofx >= 0.8.2)
  fi


Commenting out this section makes the configure work, but it causes problems during the build. I have both ofx and libofx-dev packages installed, and they are version 0.9.0-3ubuntu1. Any ideas on what I might be doing wrong?


wolfemi1, proud to be a member of KDE forums since 2008-Dec.
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS
wolfemi1 wrote:In the configure file, the line refers to the following code:

Code: Select all
  if test "$enable_ofxplugin" != "no"; then
    CFLAGS="$ac_save_CFLAGS"
    PKG_CHECK_MODULES(OFX,libofx >= 0.8.2)
  fi



Hmm, that part looks very different here in the configure file:

Code: Select all
  if test "$enable_ofxplugin" != "no"; then
    CFLAGS="$ac_save_CFLAGS"

pkg_failed=no
{ $as_echo "$as_me:$LINENO: checking for OFX" >&5
$as_echo_n "checking for OFX... " >&6; }

if test -n "$OFX_CFLAGS"; then
    pkg_cv_OFX_CFLAGS="$OFX_CFLAGS"
 elif test -n "$PKG_CONFIG"; then
    if test -n "$PKG_CONFIG" &&
    { ($as_echo "$as_me:$LINENO: $PKG_CONFIG --exists --print-errors "libofx >= 0.8.2"") >&5
  ($PKG_CONFIG --exists --print-errors "libofx >= 0.8.2") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: $? = $ac_status" >&5
  (exit $ac_status); }; then
  pkg_cv_OFX_CFLAGS=`$PKG_CONFIG --cflags "libofx >= 0.8.2" 2>/dev/null`
else
  pkg_failed=yes
fi
 else
    pkg_failed=untried
fi


Looks to me that the autoconf expansion of PKG_CHECK_MODULES failed. I do have a file called /usr/share/aclocal/pkg.m4 which is part of the pkg-config package which carries the definition. Anyway, in case you install some package to fix this problem, remember to rerun make -f Makefile.dist in order to regenerate the configure script.


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
User avatar
wolfemi1
Registered Member
Posts
58
Karma
0
OS
ipwizard wrote:Looks to me that the autoconf expansion of PKG_CHECK_MODULES failed. I do have a file called /usr/share/aclocal/pkg.m4 which is part of the pkg-config package which carries the definition. Anyway, in case you install some package to fix this problem, remember to rerun make -f Makefile.dist in order to regenerate the configure script.


Thanks, that did it! I just needed to rerun make -f Makefile.dist.


wolfemi1, proud to be a member of KDE forums since 2008-Dec.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell