Some thoughts from a Mac user

2009-03-09
2013-04-29
  • Kevin Brubeck Unhammer

    Hi, I just downloaded Uplug, and it does seem like a very nice
    collection of tools to get started on those cumbersome parallel corpus
    tasks; which I've so far been dreading... So first of all, thanks for
    making this package!

    I have some thoughts though, on how to improve user-friendlyness.

    1. README.OSX mentions that OS X is not case sensitive, and so one has
       to extract uplug/systems/align/word/giza and uplug/uplug separately
       to different file names. Why not just have them renamed in the
       package in the first place?

    2. README.OSX also says: "install expat & XML::Parser via fink"; how
       about instead something like: "Uplug requires the packages `expat'
       and `p5-xml-parser' provided by MacPorts (download this package
       manager from http://macports.org/ and run `sudo port install expat
       p5-xml-parser')"?

    3. README.OSX also mentions compiling external programs; this could
       all be more explicit... or perhaps a Mac version could me made ;-)

    4. README should mention README.OSX...

    5. HOWTO needs a table of contents.

    6. I'm not sure what's best, but how about having some install script
       ask for the path to perl, and then make a symlink in bin? That way
       users don't have to modify every single .pl file...

    7. I get a bunch of errors on trying to `make' align on a Mac:

       align2.c: In function 'region_lengths':
       align2.c:356: warning: incompatible implicit declaration of built-in function 'malloc'
       align2.c: In function 'find_sub_regions':
       align2.c:382: warning: incompatible implicit declaration of built-in function 'calloc'
       align2.c:396: warning: incompatible implicit declaration of built-in function 'exit'
       align2.c: In function 'main':
       align2.c:432: warning: incompatible implicit declaration of built-in function 'exit'
       align2.c:441: warning: incompatible implicit declaration of built-in function 'exit'
       align2.c:447: warning: incompatible implicit declaration of built-in function 'exit'
       align2.c:463: error: missing terminating " character
       align2.c:464: error: 'of' undeclared (first use in this function)
       align2.c:464: error: syntax error before 'hard'
       align2.c:464: error: missing terminating " character
       align2.c:534: warning: incompatible implicit declaration of built-in function 'exit'
       align2.c: In function 'err':
       align2.c:543: warning: incompatible implicit declaration of built-in function 'exit'
       align2.c: In function 'readchars':
       align2.c:563: warning: incompatible implicit declaration of built-in function 'malloc'
       align2.c: In function 'substrings':
       align2.c:587: warning: incompatible implicit declaration of built-in function 'malloc'
       align2.c:600: warning: incompatible implicit declaration of built-in function 'exit'
       make: *** [align2] Error 1
      
       Do I need to (learn C and then) manually make these changes, or is
       there a version that compiles on a Mac?

     
  • Jörg Tiedemann

    Jörg Tiedemann - 2012-11-27

    This reply comes three years too late …. but anyway:

    Most of the issues mentioned above are addressed in the new version which is available from
    https://bitbucket.org/tiedemann/uplug

    I created language-specific add-on packages now and everything can be installed globally.
    It would be great if you could try the tools once again (there should be no problem with intel-based Mac OSX anymore …)

     

Log in to post a comment.