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

Broken link for libtcmalloc #195

Open
sampollard opened this issue Nov 6, 2016 · 3 comments
Open

Broken link for libtcmalloc #195

sampollard opened this issue Nov 6, 2016 · 3 comments

Comments

@sampollard
Copy link

     src='http://gperftools.googlecode.com/files/gperftools-2.0.tar.gz'
     dst='/home/users/spollard/graphalytics/PowerGraph/deps/tcmalloc/src/gperftools-2.0.tar.gz'
     timeout='none'
CMake Error at libtcmalloc-stamp/download-libtcmalloc.cmake:27 (message):
  error: downloading
  'http://gperftools.googlecode.com/files/gperftools-2.0.tar.gz' failed

    status_code: 22
    status_string: "HTTP response code said error"
    log:   Trying 74.125.25.82...

  Connected to gperftools.googlecode.com (74.125.25.82) port 80 (#0)

  GET /files/gperftools-2.0.tar.gz HTTP/1.1

  Host: gperftools.googlecode.com

  User-Agent: curl/7.47.0

  Accept: */*

  

  The requested URL returned error: 404 Not Found

Now gperftools is located at github gperftools

@armenabnousi
Copy link

I'm still having problem with this issue. I've changed the URL to a version of the gperftools.tar.gz that I created locally. It downloads and unzips it but now gives me an error while installing it:
[ 25%] Performing patch step for 'libtcmalloc' can't find file to patch at input line 5
I think the new version of the gperftools that we can download from github has a different file structure than the one that was originally used for this installation script.
Anyone solved this problem?

@sampollard
Copy link
Author

Hmm I haven't had that problem but I haven't tried to build it for a while. Maybe check out my changes here

Also the issue may be in line 242 of CMakeLists.txt:
PATCH_COMMAND patch -N -p0 -i ${GraphLab_SOURCE_DIR}/patches/tcmalloc.patch || true
You could try just not doing the patch and see what happens.

@armenabnousi
Copy link

Ingenious! Your CMakeLists has them all fixed! :-)
Not patching didn't work. I was not using the archived version but the most recent one.

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

2 participants