Subject: pkg/31536: wxGTK24 error makes audacity build fail
To: None <email@example.com, firstname.lastname@example.org,>
From: None <email@example.com>
Date: 10/10/2005 02:45:00
>Synopsis: wxGTK24 error makes audacity build fail
>Arrival-Date: Mon Oct 10 02:45:00 +0000 2005
>Release: NetBSD 2.0
System: NetBSD sanctum 2.0 NetBSD 2.0 (SANCTUM) #2: Sat Sep 3 19:25:46 PDT 2005 root@sanctum:/usr/src/sys/arch/i386/compile/SANCTUM i386
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.
configure: error: /bin/sh './configure' failed for lib-src/soundtouch
The wxGTK test in configure resulted in an undefined reference to
`pango_x_get_context' in libwx_gtk2...
This is because wxGTK2 depends on libpangox, which was once brought
in as a dependency for gtk2, prior to gtk2 version 2.8.x.
Curiously, when doing a unicode-enable build, the wxGTK2 configure
script does check for libpangox and adds it as a dependency.
One fix would be to add --enable-unicode to CONFIGURE_ARGS.
Unfortunately, enable-unicode reveals a wxGTK2 problem with strptime.
That problem is described here:
And fixed here:
However, the enable-unicode option drastically changes the
PLIST in ways that could break other packages.
So a better fix would be to copy the PANGOX test from the unicode
section of the configure script. This would put the PANGOX test in both
sections of the configure script. This will probably not be a problem
since the PANGOFT2 test is already in both sections of the configure
I verified that this change fixes the audacity build.
Try to build audacity in current pkgsrc.