Giter VIP home page Giter VIP logo

Comments (5)

sjackman avatar sjackman commented on May 23, 2024

Hi, Masaki. I haven't worked on getting bottles working with Linuxbrew, so I suppose it doesn't surprise me that it fails. I don't have the time to work on bottling, but if you do have the time, and you get it working, send me a pull request. Cheers, Shaun

from legacy-linuxbrew.

monaka avatar monaka commented on May 23, 2024

I see. I would try to implement it after finishing some my tasks.

from legacy-linuxbrew.

monaka avatar monaka commented on May 23, 2024

I made a quick hack and got a bottle.
But... It's slightly dirty...

diff --git a/Library/Homebrew/keg_fix_install_names.rb b/Library/Homebrew/keg_fix_install_names.rb
index 35d3ddc..01295c6 100644
--- a/Library/Homebrew/keg_fix_install_names.rb
+++ b/Library/Homebrew/keg_fix_install_names.rb
@@ -124,9 +124,13 @@ class Keg < Pathname
   def lib; join 'lib' end

   def each_install_name_for file, &block
-    dylibs = file.dynamically_linked_libraries
-    dylibs.reject! { |fn| fn =~ /^@(loader_|executable_|r)path/ }
-    dylibs.each(&block)
+    if OS.mac?
+      dylibs = file.dynamically_linked_libraries
+      dylibs.reject! { |fn| fn =~ /^@(loader_|executable_|r)path/ }
+      dylibs.each(&block)
+    elsif OS.linux?
+# TODO: implement later.
+    end
   end

   def dylib_id_for file, options={}

from legacy-linuxbrew.

sjackman avatar sjackman commented on May 23, 2024

Thanks for the bug report, Masaki. It's fixed now, and bottles work!

from legacy-linuxbrew.

monaka avatar monaka commented on May 23, 2024

I tried it and succeeded to make some bottles. Thank you for your work.

from legacy-linuxbrew.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.