Kevin, only thing I can think is to make sure that /opt/local/bin and /
opt/local/sbin are exported as the first items in your PATH (as per
the macports install guide)
If libxml-ruby cannot find /opt/local/bin/xml2-config... then it may
not work.

For example, in my /etc/profile I have:
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export MANPATH=/opt/local/share/man:$MANPATH


Fixed in 1.0.0.

Problem was that on OS X ruby is compiled as a universal binary. Which means ruby extensions will be built as univeral binaries.

So if you install libxml2 like this:

sudo port install libxml2

It won't work, because you'll get a link error when building a ppc binary. What you should do is:

sudo port install libxml2 +universal

Alternatively,

sudo -s
ARCHFLAGS="-arch i386" gem install libxml-ruby

See http://www.macruby.org/trac/wiki/Troubleshooting

Anyway, you no longer have to worry about this with 1.0.0.

Charlie


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to