Open Auxilus opened 7 years ago
ruby.h
seem to be at $PREFIX/include/ruby-2.4.0/ruby.h
so try symlinking it to the include dir
Like ln -s $PREFIX/include/ruby-2.4.0/ruby.h /usr/lib/ruby/include/
?
Is ruby.h
even there at $PREFIX/include/ruby-2.4.0/ruby.h
?
If ruby is in termux_pkg_depends, then yeah, otherwise no
$PREFIX won't work though since we are in the docker image, use $TERMUX_PREFIX
K
Yeah doint it atm ty..
@Grimler91 it says no such dir called /usr/lib/ruby/include/
Yeah, that's a weird path..
ln -s $TERMUX_PREFIX/include/ruby-2.4.0/ruby.h /usr/lib/ruby/include/
should be
ln -s $TERMUX_PREFIX/include/ruby-2.4.0/ruby.h $TERMUX_PREFIX/include/
@Grimler91 still not working, can you please take a look? Code : https://raw.githubusercontent.com/Auxilus/termux-packages/4dec3b8392e8ab534c398aa94631b77e592886a6/packages/metasploit-framework/build.sh
Execution : https://tmate.io/t/ro-jqGnv00vKRC7WJ8PsbcwAo0um
also it says no dir when i do symlink to $TERMUX_PREFIX/lib/ruby/include/ , Do I have to create $TERMUX_PREFIX/lib/ruby/include/ ?
I also got some errors when I updated the package, and then metasploit could not be used.
Use metasploit from unstable repo - this is only way to get it working.
pkg upgrade
pkg install unstable-repo
pkg install metasploit
This issue/PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
While building https://github.com/termux/termux-packages/pull/1361 the docker is showing error while installing gems with native extensions, other gems ( that don't need native extensions like mini_portile from the screenshot ) install correctly.
The error says :