extconf.rb problems

D

Daniel R

I am using last ruby installed with the 1-click install, on Windows.

When i use extconf.rb files, I always get errror messages like this
one:
checking for deflateReset() in z.lib... no
checking for deflateReset() in libz.lib... no
checking for deflateReset() in zlib.lib... no

I tried to install ruby-zlib from
http://raa.ruby-lang.org/project/ruby-zlib
but i have the same problems.

Can someone please help me ? How can I make extconf.rb files work ?
Any help would be greatly appreciated, since I really would like to use
ruby but can't figure how to solve problems like this one.
 
D

David Vallner

Daniel said:
I am using last ruby installed with the 1-click install, on Windows.

When i use extconf.rb files, I always get errror messages like this
one:
checking for deflateReset() in z.lib... no
checking for deflateReset() in libz.lib... no
checking for deflateReset() in zlib.lib... no

I tried to install ruby-zlib from
http://raa.ruby-lang.org/project/ruby-zlib
but i have the same problems.

Can someone please help me ? How can I make extconf.rb files work ?
Any help would be greatly appreciated, since I really would like to use
ruby but can't figure how to solve problems like this one.
I suppose you have a Windows machine from the library names. I'll admit
I have no idea where extconf.rb looks for libraries by default there or
how it does it. Do you have Zlib somewhere on your computer (e.g. the
files it's looking for) at all, by the way?

When trying to compile extensions, you might want to use the mingw32
version of ruby instead of the mswin32 one the one-click-installer uses.
Mingw and MSYS work a quite bit more automagically than a VC++ one, that
is, unless you bought or otherwise came to own Visual Studio.

And just by the way, the one-click-installer comes Ruby 1.8, which has a
working Zlib in the standard library - notice the RAA page mentioning
the standalone module is deprecated.

David Vallner
 
C

Curt Hibbs

------=_Part_9797_18307144.1133629812797
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

There is something wrong with your installation. The One-Click Ruby
Installer comes with ZLib already installed, so you shouldn't be having thi=
s
problem.

Try this:

- Uninstall Ruby

- make sure that the directory you have ruby installed in is completely
deleted.

- Make sure your path does *not* contain ruby\bin and that the RUBYOPT
environment variable does not exist (unless you've set it yourself)

- Reinstall Ruby.

- Make sure you path *does* contain ruby\bin and that RUBYOPT contains
"rubygems" (reboot and check again if it doesn't).

The above steps will, at least, ensure that you have a good Ruby
installation.

Curt

I am using last ruby installed with the 1-click install, on Windows.

When i use extconf.rb files, I always get errror messages like this
one:
checking for deflateReset() in z.lib... no
checking for deflateReset() in libz.lib... no
checking for deflateReset() in zlib.lib... no

I tried to install ruby-zlib from
http://raa.ruby-lang.org/project/ruby-zlib
but i have the same problems.

Can someone please help me ? How can I make extconf.rb files work ?
Any help would be greatly appreciated, since I really would like to use
ruby but can't figure how to solve problems like this one.

------=_Part_9797_18307144.1133629812797--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top