Open jusplayin opened 9 years ago
I think I know what caused the linker error.
I had the following OpenBSD ports installed: xapian-core-1.2.15p0 search engine library xapian-omega-1.2.15 web search application
I believe that these ports were interfering with the build process. I was able to build successfully by removing these ports and then doing the build.
Perhaps this information will helps someone else
I have been using xapian-full-alaveteli-1.2.9.7 for some time without any problems...
Environment: OpenBSD 5.6 (amd64 arch) ruby20 Gem xapian-full-alaveteli-1.2.21.1
When I try to run
bundle20 install
from my RoR app folder I receive: 'Gem::Installer::ExtensionBuildError':The issue is probably due to the fact that OpenBSD doesn't use GNU tar and doesn't support the '-J' flag.
What I did to try to build gem (Full disclosure I don't know that much about Ruby)..
In '/usr/local/lib/ruby/gems/2.0/gems/xapian-full-alaveteli-1.2.21.1':
unxz *.xz
export CPPFLAGS=-I/usr/local/include
export LDFLAGS=-L/usr/local/lib
gem20 build xapian-full.gemspec
"/usr/local/bin/ruby20" -rubygems /usr/local/lib/ruby/gems/2.0/gems/rake-10.4.2/bin/rake RUBYARCHDIR=/usr/local/lib/ruby/gems/2.0/gems/xapian-full-alaveteli-1.2.21.1/lib RUBYLIBDIR=/usr/local/lib/ruby/gems/2.0/gems/xapian-full-alaveteli-1.2.21.1/lib
Then I got:
I would like to understand how to build gem 'xapian-full-alaveteli-1.2.21.1' on OpenBSD. Any ideas? Secondly, I would like to know if the Rakefile could be changed to allow more portable installations?