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

nokogiri.gem is missing two source tarballs #1506

Closed
dwayne-mss opened this issue Jul 8, 2016 · 8 comments
Closed

nokogiri.gem is missing two source tarballs #1506

dwayne-mss opened this issue Jul 8, 2016 · 8 comments

Comments

@dwayne-mss
Copy link

I believe the gem file should include the source tarballs for libiconv-1.14 and zlib-1.2.8

I've recently tried to install nokogiri on a Windows 2012 Server. This node did not have internet access. I could not get it to installed, and tried the versions with the prebuilt DLL's too. Based on the errors in the logs, it seemed to be intent on compiling the libiconv-1.14 and zlib-1.2.8 libraries. I also found that neither of these source bundles were included in the .../ports/archives folder within the nokogiri GEM file, while the source bundles for libxml2-2.9.2 and libxslt-1.1.28 were.

The install process did not log an attempt to download either of the missing source bundles, though I see in some other threads that it logged activity when successfully downloading the bundles. Since my server did not have internet access, it could not download the bundles.

So I unpacked the GEM, added the two source bundles, created a new gemspec from the old GEM, added the two new files, and repackged the GEM. Installing the new GEM worked like a champ (though it did take a while to install).

I was using nokogiri-1.6.7.2, and that is the version that I repackaged. I tried to install nokogiri-1.6.8, but it was also failing, even with the prebuilt DLLs. But I did not examine the GEM file to see if it was also missing the two source bundles.

@flavorjones
Copy link
Member

Hi @dwayne-mss,

Thanks for opening this issue after our conversation on nokogiri-talk. I'll try to take a look at it this week.

@dwayne-mss
Copy link
Author

Any updates on this?

@flavorjones flavorjones added this to the 1.7.0 milestone Oct 2, 2016
@flavorjones
Copy link
Member

It looks like Nokogiri isn't using the locally packaged tarballs, either. Something dreadfully wrong. Will investigate.

@flavorjones
Copy link
Member

Ah, disregard my above comment. The original problem described is still valid, though.

@larskanis
Copy link
Member

larskanis commented Nov 23, 2016 via email

@flavorjones flavorjones modified the milestones: 1.7.1, 1.7.0 Dec 27, 2016
@flavorjones flavorjones removed this from the 1.7.1 milestone Jan 13, 2017
@flavorjones
Copy link
Member

@dwayne-mss The comments about by @larskanis are pretty convincing, and I'd prefer not to include these DLLs for users compiling from source on Windows.

You mention that you had difficulty with the pre-built DLL version as well. Can you share details about that?

We tried to thoroughly document how to successfully install Nokogiri on Windows a few different ways at nokogiri.org. Can you think of anything those documents are missing?

@dwayne-mss
Copy link
Author

dwayne-mss commented Jan 17, 2017 via email

@larskanis
Copy link
Member

@dwayne-mss All recent Windows Server versions are for the x64 platform. But you need to install the x86 or x64-gem that matches your installed ruby platform. Good to hear it works for you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants