ok, found a way to installed a patched version. Just for the records:

I had to manually install: SUNWgnu-libiconv (not installed by default
in a zone)
ln -s /usr/gnu/lib/libiconv.so.2 /usr/lib/libiconv.so.2 (needed as /
usr/gnu/lib is not in libary load path)


download and untar the tarball
patch libxml-ruby-0.9.6/ext/libxml/sax_parser_callbacks.inc

and then run:
# cd libxml-ruby-0.9.6
# pfexec rake
# cd admin/pkg
# pfexec gem install libxml-ruby --no-ri --no-rdoc

Any hints for doing better are appreciated ;-)

Matthias

On 9 Dez., 01:49, Charlie Savage <c...@savagexi.com> wrote:
> Hi Marek,
>
>  > attached is 'diff -u old new' , its ugly hack but it made it work for
>  > me.
>
> Great.  So no \ and new lines.  Amazing that's the only one.  Will fix.
>
> Charlie
>
>
>
>
>
> > Charlie Savage wrote:
> >> Hi Marek,
>
> >>> libxml-ruby-0.9.6/ext/libxml/sax_parser_callbacks.inc
>
> >>> lines 139 through 157 need cleaning up for Solaris native C
> >>> preprocessor, the relaxed programming attitude with GNU C makes life
> >>> hell for cross-compiling and porting.
>
> >>> for preprocessor the macro should stay without '\' and linebreaks
> >>> once i modified the source like that it compiled and built nicely.
> >> Can you submit a patch?  I'd be happy to apply it.
>
> >> Charlie
>
> --
> Charlie Savagehttp://cfis.savagexi.com
>
>  smime.p7s
> 4KAnzeigenHerunterladen
>
> _______________________________________________
> libxml-devel mailing list
> libxml-de...@rubyforge.orghttp://rubyforge.org/mailman/listinfo/libxml-devel
_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to