After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 158029 - ./configure --with-perl doesn't work
./configure --with-perl doesn't work
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Compilation
git master
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2004-11-12 09:43 UTC by Stepan Kasal
Modified: 2005-03-29 10:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
the right fix (1.10 KB, patch)
2004-11-12 09:55 UTC, Stepan Kasal
none Details | Review
a minimal fix (837 bytes, patch)
2004-11-12 09:57 UTC, Stepan Kasal
none Details | Review

Description Stepan Kasal 2004-11-12 09:43:29 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.
Comment 1 Stepan Kasal 2004-11-12 09:55:38 UTC
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
Comment 2 Stepan Kasal 2004-11-12 09:57:27 UTC
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''.
Comment 3 Jon Kåre Hellan 2004-11-12 10:07:24 UTC
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.


Comment 4 Stepan Kasal 2004-11-12 10:19:43 UTC
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
Comment 5 Jody Goldberg 2005-01-14 04:54:52 UTC
We need to address this after the branch 
Comment 6 Stepan Kasal 2005-01-25 16:59:37 UTC
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.
Comment 7 Stepan Kasal 2005-01-25 17:24:17 UTC
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.
Comment 8 Stepan Kasal 2005-03-29 10:31:47 UTC
The problem from comment #3 is filed separatly as bug #171957.

Everything else was fixed before release 1.5.0.