Results 1 to 9 of 9

Thread: Qt5.0.0 configure.bat Unrecognized character \x89 problem

  1. #1
    Join Date
    Mar 2010
    Posts
    86
    Thanks
    11
    Thanked 7 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Qt5.0.0 configure.bat Unrecognized character \x89 problem

    So I'm installing the release version of Qt5.0.0 from the everywhere source. Have Visual Studio 2010 installed first, then I installed as per http://qt-project.org/forums/viewthread/23048

    which means the python, perl, ruby, windowsSDK, icu all in place, installed, and environment variables correct....

    when I try the configure line of:

    configure -debug-and-release -opensource -developer-build -make libs -make tools -make examples -qt-sql-sqlite -opengl desktop -platform win32-msvc2010 -fully-process -openssl -L C:/OpenSSL-Win32/lib -I C:/OpenSSL-Win32/include -icu -L C:/icu/lib -I C:/icu/include

    I get:

    Unrecognized character \x89; marked by <-- HERE after <-- HERE near column 1 at C:\Qt\Qt5.0.0\configure line 1.

    any body know what is wrong?

  2. #2
    Join Date
    Dec 2010
    Location
    Hamburg - Germany
    Posts
    2
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt5.0.0 configure.bat Unrecognized character \x89 problem

    I do have the same issue. The configure file (\qt-everywhere-opensource-src-5.0.0\configure) is not readable when you open with any editor. Any clues?

  3. #3
    Join Date
    Mar 2010
    Posts
    86
    Thanks
    11
    Thanked 7 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt5.0.0 configure.bat Unrecognized character \x89 problem

    Even though the Perl was in the system environment variables, I called an additional
    PATH C:\Perl\bin and PATH C:\Perl\site\bin from the command line.
    apparently, though the problem has to do with having the WindowsSDK being version 6.1a
    QT 5 has a minimum requirement of Windows SDK 7.0
    having trouble installing 7.0 or 7.1, which is looking like a NET 4.0 not doing a full install problem...
    at this point, I'm going to scrub the OS and start over as this is all on a virtual machine.
    Installing the MingW compiler on the host OS is looking far easier, although I will keep attempting the MSVC2010 virtual machine build.
    Host machine is running Visual Studio 2012, so hopefully support for that is coming soon....

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Qt5.0.0 configure.bat Unrecognized character \x89 problem

    The configure.bat and configure files, the former launching the latter on Windows, are plain text files and neither contains a byte with the hex value 0x89. The problem is definitely coming from somewhere else but without any error context information it's very hard to say: is it Perl, Python, Ruby or something else emitting the error. What happens before then?

    configure is a Perl script, so check you have a Perl >= 5.8 (as stated in README file) or >= 5.14 (Build from git instructions http://qt-project.org/wiki/Building_Qt_5_from_Git) . You also need Python >= 2.6 and Ruby for WebKit.

    Jul: If you cannot open configure from Qt5 with a text editor then you have a corrupt file or inadequate text editor.

  5. The following 2 users say thank you to ChrisW67 for this useful post:

    budda (8th January 2013), Jul (10th January 2013)

  6. #5
    Join Date
    Jan 2013
    Posts
    3
    Thanks
    1
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt5.0.0 configure.bat Unrecognized character \x89 problem

    Has anyone found a solution to this? I am having the same problem, but I am using Visual Studios 2012. After some searching I have seen others having similar errors from perl scripts.

    http://www.perlmonks.org/?node_id=662942

    Is it possible that perl is incorrectly parsing some characters in the the script file?

  7. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt5.0.0 configure.bat Unrecognized character \x89 problem

    Which perl version do you have?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  8. #7
    Join Date
    Jan 2013
    Posts
    3
    Thanks
    1
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt5.0.0 configure.bat Unrecognized character \x89 problem

    Today I downloaded activeperl 5.16.2 from:

    http://www.activestate.com/activeperl/downloads

    It is the only version of perl that's been installed

  9. #8
    Join Date
    Dec 2010
    Location
    Hamburg - Germany
    Posts
    2
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Smile Re: Qt5.0.0 configure.bat Unrecognized character \x89 problem

    I am working with VS2010 on Windows7 32Bit.

    Perl 5.14.2 and Phyton 2.7.3 are installed on my system.

    you can check what perl is installed on your system by calling perl -v from your command prompt.

    For some reason extracting "qt-everywhere-opensource-src-5.0.0.zip" with windows7 default extractor causes the corrupt configure file. This is the reason of the failure.

    Now it works like a charm .

    These are the steps I did:

    1. Download "qt-everywhere-opensource-src-5.0.0.zip" from http://qt-project.org/downloads

    2. Extract the package e.g. using 7-Zip http://www.7-zip.de/download.html (DON`T use the default windows extractor!)

    3. Open your Visual Studio 2010 Command Prompt (Start Menu->all Programs->Microsoft Visual Studio 2010->Visual Studio Tools->Visual Studio Command Prompt(2010))

    4. Go to your Qt5.0.0 directory (e.g ..\qt-everywhere-opensource-src-5.0.0\)

    5. Start configure (I want to use opengl instead of angle):
    configure -no-angle -opengl desktop

    For more help: configure -help

    6. Confirm that you want to use the open source edition and accept the terms

    7. If it´s done just run the makefile:
    nmake

    That´s all!

  10. The following user says thank you to Jul for this useful post:

    jason86 (11th January 2013)

  11. #9
    Join Date
    Jan 2013
    Posts
    3
    Thanks
    1
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt5.0.0 configure.bat Unrecognized character \x89 problem

    Thanks Jul! Windows 7 internal extractor was corrupting some files. I used 7-Zip and had no issues. Now config works and I was able to compile the libraries.

Similar Threads

  1. Replies: 6
    Last Post: 27th May 2014, 08:20
  2. Replies: 6
    Last Post: 30th January 2011, 09:11
  3. Character by Character (Unicode?) File Reading
    By mclark in forum Qt Programming
    Replies: 4
    Last Post: 22nd April 2009, 15:28
  4. IO_Raw unrecognized???
    By Hockey in forum Qt Programming
    Replies: 4
    Last Post: 30th November 2007, 11:37
  5. Unicode Character Problem
    By prakash in forum Qt Programming
    Replies: 1
    Last Post: 11th May 2006, 07:25

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.