On Thu, 2003-10-23 at 13:12, Chris Cannam wrote:
> Would I be right in thinking this error arises because I simply don't 
> have pkg-config at all on this machine? Or what? --
> 
> ./configure: line 25701: syntax error near unexpected token `JACK,jack'
> ./configure: line 25701: `     PKG_CHECK_MODULES(JACK,jack >= 
> 0.77.0,,with_jack="no")'

Looks like I've really opened a can of worms here. My apologies - I'm
sure y'all have more important coding to do than hack about with
autoconf.

> Looks like the line in question has just been passed straight through 
> from configure.in.in to configure without being processed at all.  I 
> didn't get any errors from the make -f Makefile.cvs.

Is there a file pkg.m4 in /usr/share/aclocal? If not, where is it?
(AFAIK, it should be in $prefix/share/aclocal, where pkg-config is in
$prefix/bin)

> How can we make it cope with this situation?  I don't care too much 
> (these days) if it just stops and demands that you install pkg-config, 
> but an obscure error like that isn't acceptable.

It looks like the PKG_CHECK_MODULES macro isn't being copied into your
rosegarden/aclocal.m4. aclocal.m4 goes out with a distribution, so only
people building from CVS can run into this problem.

<time passes>

OK, I've just tried renaming /usr/share/aclocal/pkg.m4 to something
else. Then I run make -f Makefile.cvs. Sure enough, PKG_CHECK_MODULES
doesn't appear in aclocal.m4, and I get the same error when I run
configure. When I rename it back to pkg.m4, and re-run make -f
Makefile.cvs, voila, things work.

bye
John




-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
Rosegarden-devel mailing list
[EMAIL PROTECTED] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to