GNOME Bugzilla – Bug 158029
./configure --with-perl doesn't work
Last modified: 2005-03-29 10:31:47 UTC
The CVS version has the following bug: When I run ``./configure --with-perl'' it end up with ``Perl Support: no'', even though my perl dependencies are OK. Another minor issue: ``./configure --without-perl'' says ``Perl Support: Disabled by default''. I think it should say ``Perl Support: Disabled by request'', as with 1.3.93.
Created attachment 33698 [details] [review] the right fix This is the patch to fix the bug. Please note that I don't quote the word for ``case'' and I don't use any ``x'' there; it's not needed. See also http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_node/autoconf_122.html#IDX748
Created attachment 33699 [details] [review] a minimal fix If you cannot apply ``the right fix'', please apply at least this one. It fixes the main issue, though it doesn't fix the problem with ``./configure --without-perl''.
And the current configure.in on my Debian sid without libperl-dev ends up with Perl Support: yes, but building fails because I haven't got libperl. This patch doesn't address that issue. I don't blame you. Fixing it looks messy.
Re Comment #3 by Jon-Karre Hellan: That's probably one of the issues why Jody has disabled perl by default. See http://cvs.gnome.org/viewcvs/gnumeric/configure.in?rev=1.680&view=auto
We need to address this after the branch
The problems with --with-perl are fixed in the devel branch (1.5.x). But the problem reported in Comment #3 is still there, AFAIK, so I leave this bug open.
As Morten just explained me, we cannot just uncomment the line dnl AC_CHECK_LIB(perl, ...) Instead, we have to remove that line (including the comment above I've just written, argh...) and write a more sophisticated test.
The problem from comment #3 is filed separatly as bug #171957. Everything else was fixed before release 1.5.0.