Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install fails to download Xerces 3.1.4 #182

Open
Phrogz opened this issue Oct 22, 2018 · 5 comments
Open

Install fails to download Xerces 3.1.4 #182

Phrogz opened this issue Oct 22, 2018 · 5 comments

Comments

@Phrogz
Copy link

Phrogz commented Oct 22, 2018

On a fresh clone, running cmake .. && make fails:

Scanning dependencies of target xerces-c
[  5%] Creating directories for 'xerces-c'
[  5%] Performing download step (download, verify and extract) for 'xerces-c'
-- Downloading...
   dst='/home/gkistner/uscxml/build/deps/xerces-c/src/xerces-c-3.1.4.tar.gz'
   timeout='none'
-- Using src='http://www.apache.org/dist/xerces/c/3/sources/xerces-c-3.1.4.tar.gz'
-- Retrying...
-- Using src='http://www.apache.org/dist/xerces/c/3/sources/xerces-c-3.1.4.tar.gz'
-- Retry after 5 seconds (attempt #2) ...
-- Using src='http://www.apache.org/dist/xerces/c/3/sources/xerces-c-3.1.4.tar.gz'
-- Retry after 5 seconds (attempt #3) ...
-- Using src='http://www.apache.org/dist/xerces/c/3/sources/xerces-c-3.1.4.tar.gz'
-- Retry after 15 seconds (attempt #4) ...
-- Using src='http://www.apache.org/dist/xerces/c/3/sources/xerces-c-3.1.4.tar.gz'
-- Retry after 60 seconds (attempt #5) ...
-- Using src='http://www.apache.org/dist/xerces/c/3/sources/xerces-c-3.1.4.tar.gz'
CMake Error at xerces-c-stamp/download-xerces-c.cmake:157 (message):
  Each download failed!

    error: downloading 'http://www.apache.org/dist/xerces/c/3/sources/xerces-c-3.1.4.tar.gz' failed
         status_code: 22
         status_string: "HTTP response code said error"
         log:
         --- LOG BEGIN ---
           Trying 40.79.78.1...

  TCP_NODELAY set

  Connected to www.apache.org (40.79.78.1) port 80 (#0)

  GET /dist/xerces/c/3/sources/xerces-c-3.1.4.tar.gz HTTP/1.1

  Host: www.apache.org

  User-Agent: curl/7.56.0

  Accept: */*

  

  The requested URL returned error: 404 Not Found

  Closing connection 0

  

         --- LOG END ---
@Phrogz
Copy link
Author

Phrogz commented Oct 22, 2018

FWIW, downloading and installing Xerces 3.2.2 manually also fails. However, downloading 3.1.4 from the archive and installing that allowed the uSCXML install to proceed past this point.

@sradomski
Copy link
Member

Hey Gavin,

yes, I am aware of the xercesc issue - they removed the archive from their HTTP repository. I just could not find the time yet to update the build scripts as my current job took me elsewhere. I'll gather a few issues and see when/if I find some time to update uSCXML.

@anders-lundgren
Copy link

anders-lundgren commented Nov 10, 2018

Hi @Phrogz , trying to install on Windows and getting the same issue. How did you install Xerces?

@daemacles
Copy link

I managed to get it working with the following (hacked) modified contrib/cmake/BuildXercesC.cmake file. The changes are for build on MSVC 17.x with Win10 SDK 10.0.17134.0, which is just what happens to be installed on my machine.

BuildXercesC.cmake.txt

@enjoysmath
Copy link

On Raspberry Pi at least the command is:

sudo apt-get install libxerces-c3.2

Do not get your hopes up though. You're going to run into more / new errors after this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants