Skip to content

Error while installing gems with native extensions inside docker #1402

@Auxilus

Description

@Auxilus

While building #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 :

Fetching: nokogiri-1.8.0.gem (100%)                                                                                                                                                                                                            
Building native extensions with: '--use-system-libraries'                                                                                                                                                                                      
This could take a while...                                                                                                                                                                                                                     
ERROR:  Error installing nokogiri:                                                                                                                                                                                                             
        ERROR: Failed to build gem native extension.                                                                                                                                                                                           
                                                                                                                                                                                                                                               
    current directory: /data/data/com.termux/files/usr/lib/ruby/gems/2.4.0/gems/nokogiri-1.8.0/ext/nokogiri                                                                                                                                    
/usr/bin/ruby2.3 -r ./siteconf20170908-28503-n1y73u.rb extconf.rb --use-system-libraries                                                                                                                                                       
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h                                                                                                                                                                       
                                                                                                                                                                                                                                               
extconf failed, exit code 1                                                                                                                                                                                                                    
                                                                                                                                                                                                                                               
Gem files will remain installed in /data/data/com.termux/files/usr/lib/ruby/gems/2.4.0/gems/nokogiri-1.8.0 for inspection.                                                                                                                     
Results logged to /data/data/com.termux/files/usr/lib/ruby/gems/2.4.0/extensions/x86_64-linux/2.3.0/nokogiri-1.8.0/gem_make.out                                                                                                                

screenshot_20170908-152731

Metadata

Metadata

Assignees

No one assigned

    Labels

    inactiveNo activity in a certain period of timepackagingIssue related to building packages, not affecting end users directlyrubyIssue is about Ruby related stuff, including gem

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions