Am Dienstag, den 27.09.2005, 12:08 -0400 schrieb René Kanters:
> Hi,
> 
> the peculiar thing is that I happened to have gettext and all that  
> already installed in /sw/bin, which is in my path (version 0.10.40  
> [found using the option -V] through Fink commander) but the check  
> executables in the build answers that they are not available... I  
> installed the 0.13 version myself and the install puts them in /usr/ 
> local/bin, where they aren't found either.

Did you test with e.g. 'xgettext -v' in your work/checkout-directory?

> So it seems like the ant1.6.5 (which seems to be the one that Eclipse  
> has built-in) does not look at my path....

But it should. Does it work from the command-line ('ant main')?

> When I add a shortcut (ln -s) to the executables in the basedir (.)  
> directory of Jmol, and add the resolveexecutable="true" attribute to  
> the 'apply' and 'exec' elements the build works for me.

Ok. This is definitely a problem with the PATH variable or the Eclipse
system (but on Windows, it works using the PATH environment variable).

> Since that is  
> not the best solution for everyone, I don't think I should commit  
> this...
> 
> On a possibly related note:
> I noticed that in the build-doc-i18n.xml the <exec os="" > setup is  
> used to execute the xml2po.sh and things like that depending on the  
> OS. This one did not work for me because I do not have Linux nor  
> Windows XP. So I added a copy of the Linux one and tested for Mac OS  
> X. That seems to want to run the xmol2po.sh, but I get an executable  
> error. I had to change the execute flag on the .sh file to get that  
> to run (can that be update in the repository so that it comes over  
> with the executable bit set?)

I am aware of this problem. But to fix the executable flag it is
necessary to have direct access to the CVS file system, because CVS
itself does not know a possibility to change the permissions.

> but the import libxml2 is failing for  
> me there... So it seems that the Jmol project is starting to rely  
> more and more on external things, possibly their versions, and as a  
> result the require a more complex environment

It only depends on gettext, not more. And gettext is a common tool. IMH
the advantages of the gettext translation system overbalance.

> for the people that  
> (try to) contribute to maintain (can anybody say 'dependencies' :-).  
> I am not complaining, just observing here....
> 
> I did find some libxml2 information for Mac users (not just  
> Windows...) at http://jamesclarke.info/notes/InstallLibxml2 but do  
> not have the time right now to go through all that.

It's only necessary, if you want to use xml2po. But to contribute in
translation of the documentation, you don't need xml2po or libxml2,
because you only need to copy the .pot file to .po and translate it.
xml2po is only necessary to extract translatable strings from xml to po
and merge them back to po or update po.

> At least my regular build works (for now)...

Regards, Daniel



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to