Poedit comes with it's own version of the xgettext binary. typing
which xgettext in the terminal should give you:
/Applications/Poedit.app/Contents/MacOS/xgettext
instead of:
/usr/local/bin/xgettext
sorry for my mistake. $PATH in the line I told you to add should come
last. my profile looks like this:

# Setting PATH for MacPython 2.5
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
#macports
PATH="/opt/local/bin:/opt/local/sbin:${PATH}"
#poedit
PATH=/Applications/Poedit.app/Contents/MacOS:$PATH
export PATH



On Sat, Mar 7, 2009 at 3:24 PM, Alvin <alvin.linds...@gmail.com> wrote:
>
> So I've installed poedit and edit my .bash_profile (see below), but
> unfortunalety I still get the same error.
>
> Thanks again for helping, I've been frustrated about this for some
> while now.
>
> my current .bash_profile:
>
>
> # Setting PATH for MacPython 2.5
> # The orginal version is saved in .bash_profile.pysave
>
> PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:$
> {PATH}"
> PATH=$PATH:/Applications/Poedit.app/Contents/MacOS/
> export PATH
> export PATH=/usr/local/bin:$PATH
>
> test -r /sw/bin/init.sh && . /sw/bin/init.sh
>
>
>
> On 7 Mar, 15:03, Vasil Vangelovski <vvangelov...@gmail.com> wrote:
>> after you've installed poedit open ~/.bash_profile in a text editor
>> add the line:
>> PATH=$PATH:/Applications/Poedit.app/Contents/MacOS/
>> before export PATH
>> if there is no line export PATH, add it yourself
>> after that open a new terminal tab or window
>> and try to see if it works
>>
>> On Mar 7, 2009, at 2:54 PM, Alvin wrote:
>>
>>
>>
>> > Thanks a lot, but where/how do I add that to which path?
>>
>> > On 7 Mar, 13:45, Vasil Vangelovski <vvangelov...@gmail.com> wrote:
>> >> I allways install poedit before using makemessages on os x. I think
>> >> it
>> >> comes with the libraries you are missing.
>>
>> >> downloadhttp://www.poedit.net/download.php
>>
>> >> install
>> >> add it your path
>> >> PATH=$PATH:/Applications/Poedit.app/Contents/MacOS/
>>
>> >> On Mar 7, 2009, at 1:37 PM, Alvin wrote:
>>
>> >>> Yes, I have xcode 3.1.2 installed
>>
>> >>> On Mar 7, 1:02 pm, Vasil Vangelovski <vvangelov...@gmail.com> wrote:
>> >>>> Do you have xcode installed?
>>
>> >>>> On Mar 7, 2009, at 10:51 AM, Alvin wrote:
>>
>> >>>>> When I try to run the makemessages command I get the following
>> >>>>> error:
>>
>> >>>>> Error: errors happened while running xgettext on __init__.py
>> >>>>> dyld: Library not loaded: /usr/local/lib/libglib-2.0.0.dylib
>> >>>>>  Referenced from: /usr/local/bin/xgettext
>> >>>>>  Reason: image not found
>>
>> >>>>> I am running Mac OS X Leopard.
>>
>> >>>>> There is no libglib-2.0.0.dylib in /usr/local/lib/, but I do
>> >>>>> find it
>> >>>>> in /sw/lib/ (where it is an alias to libglib-2.0.0.1200.0.dylib)
>>
>> >>>>> I do not understand very much of this, and any help would be
>> >>>>> appreciated.
>>
>> >>>>  PGP.sig
>> >>>> < 1KViewDownload
>>
>> >>  PGP.sig
>> >> < 1KVisaHämta
>>
>> > >
>>
>>
>>  PGP.sig
>> < 1KVisaHämta
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django I18N" group.
To post to this group, send email to Django-I18N@googlegroups.com
To unsubscribe from this group, send email to 
django-i18n+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Django-I18N?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to