Gettext needs iconv.dll but I only have libiconv2.dll

68 views
Skip to first unread message

Joshua Russo

unread,
Jun 19, 2009, 4:15:51 PM6/19/09
to Django users
When I installed Libiconv (1.9.2) and gettext (0.13) on my XP Pro
machine and tried to run makemessages it initially gave me an error
message saying that it could not find iconv.dll. I went to the install
directory and I had a libiconv2.dll but no iconv.dll. I tried copying
and renaming the file and it seemed to work. Is this common or is
there something that I did wrong in the install process?

I used the exe installer for Libiconv because the zip download was not
working from SourceForge. I wouldn't image that that would make any
difference, but I thought I'd mention it anyway.

Ramiro Morales

unread,
Jun 20, 2009, 12:35:21 PM6/20/09
to django...@googlegroups.com

I would recommend going straight to use a version of gettext tools win32
binaries equal or greater to 0.15 (currently 0.17 is available) instead.

For this, follow the modified instructions proposed by this
documentation patch attached to ticket #10741:

http://code.djangoproject.com/attachment/ticket/10741/10741-updated-win32-gettext-instructions.diff

If you decide to do so, please post back your experiences with
the new instructions. This will help us to decide if offering
these updated instructions would be a documentation change
worth doing.

Regards,

--
Ramiro Morales
http://rmorales.net

Joshua Russo

unread,
Jun 22, 2009, 4:00:16 PM6/22/09
to Django users
On Jun 20, 3:35 pm, Ramiro Morales <cra...@gmail.com> wrote:
> On Fri, Jun 19, 2009 at 5:15 PM, Joshua Russo<joshua.rupp...@gmail.com> wrote:
>
> > When I installed Libiconv (1.9.2)  and gettext (0.13) on my XP Pro
> > machine and tried to run makemessages it initially gave me an error
> > message saying that it could not find iconv.dll. I went to the install
> > directory and I had a libiconv2.dll but no iconv.dll. I tried copying
> > and renaming the file and it seemed to work. Is this common or is
> > there something that I did wrong in the install process?
>
> > I used the exe installer for Libiconv because the zip download was not
> > working from SourceForge. I wouldn't image that that would make any
> > difference, but I thought I'd mention it anyway.
>
> I would recommend going straight to use a version of gettext tools win32
> binaries equal or greater to 0.15 (currently 0.17 is available) instead.
>
> For this, follow the modified instructions proposed by this
> documentation patch attached to ticket  #10741:
>
> http://code.djangoproject.com/attachment/ticket/10741/10741-updated-w...
>
> If you decide to do so, please post back your experiences with
> the new instructions. This will help us to decide if offering
> these updated instructions would be a documentation change
> worth doing.
>
> Regards,
>
> --
> Ramiro Moraleshttp://rmorales.net

That works perfectly. Thanks!

Joshua Russo

unread,
Jun 22, 2009, 4:18:07 PM6/22/09
to Django users
On Jun 20, 3:35 pm, Ramiro Morales <cra...@gmail.com> wrote:
> On Fri, Jun 19, 2009 at 5:15 PM, Joshua Russo<joshua.rupp...@gmail.com> wrote:
>
> > When I installed Libiconv (1.9.2)  and gettext (0.13) on my XP Pro
> > machine and tried to run makemessages it initially gave me an error
> > message saying that it could not find iconv.dll. I went to the install
> > directory and I had a libiconv2.dll but no iconv.dll. I tried copying
> > and renaming the file and it seemed to work. Is this common or is
> > there something that I did wrong in the install process?
>
> > I used the exe installer for Libiconv because the zip download was not
> > working from SourceForge. I wouldn't image that that would make any
> > difference, but I thought I'd mention it anyway.
>
> I would recommend going straight to use a version of gettext tools win32
> binaries equal or greater to 0.15 (currently 0.17 is available) instead.
>
> For this, follow the modified instructions proposed by this
> documentation patch attached to ticket  #10741:
>
> http://code.djangoproject.com/attachment/ticket/10741/10741-updated-w...
>
> If you decide to do so, please post back your experiences with
> the new instructions. This will help us to decide if offering
> these updated instructions would be a documentation change
> worth doing.
>
> Regards,
>
> --
> Ramiro Moraleshttp://rmorales.net

One thing you may want to add to the documentation is adding the bin
directory to the system path. I did it out of reflex and so I'm not
sure if it's needed our not but it seems to make sense.
Reply all
Reply to author
Forward
0 new messages