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 399476 - intltool-update fails in msys/mingw environment
intltool-update fails in msys/mingw environment
Status: RESOLVED FIXED
Product: intltool
Classification: Deprecated
Component: general
0.35.x
Other All
: Normal critical
: ---
Assigned To: intltool maintainers
intltool maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-22 18:06 UTC by John Marshall
Modified: 2007-07-12 07:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description John Marshall 2007-01-22 18:06:47 UTC
Steps to reproduce:
1. run intltool-update -p from msys console
2. 
3. 


Stack trace:


Other information:
intltool-update returns 
 *** The intltool-extract script wasn't found!
 *** Without it, intltool-update can not generate files.
even though intltool-extract is in the current path.
Comment 1 Rodney Dawes 2007-02-14 04:15:09 UTC
Fixed in SVN. We now fall back to "intltool-extract" in the path, rather than hardcoding the install path in the script.
Comment 2 Stanislav Brabec 2007-03-22 17:26:14 UTC
It does not seem to be fixed in 0.35.5 2007-02-23

sub GenerateHeaders
{
    my $EXTRACT = $ENV{"INTLTOOL_EXTRACT"} || "intltool-extract";

    ## Generate the .h header files, so we can allow glade and
    ## xml translation support
    if (! -x "$EXTRACT")
    {
        print STDERR "\n *** The intltool-extract script wasn't found!"
             ."\n *** Without it, intltool-update can not generate files.\n";
        exit;
    }

It will work only if intltool-extract is in $PWD and will not work, if intltool-extract is installed in system-wide path.

You must improve this fix for system-wide intltool-update.
Comment 3 Alexey Rusakov 2007-07-11 20:52:28 UTC
Can somebody reopen this bug? The "fix" does not work even on Linux.
Comment 4 Rodney Dawes 2007-07-12 03:53:55 UTC
Can you explain how it isn't fixed? SVN contains the appropriate fix that Danilo implemented, which checks using the -x conditional, as well as by running intltool-extract and verifying that it returns 0.
Comment 5 Alexey Rusakov 2007-07-12 07:27:42 UTC
Oops, sorry, I missed it. Thank you.