in reply to why does PAR want make.mo anyway?

Those .mo files are compiled message catalogs (in the context of national language support). More specifically, MO stands for "machine object", as opposed to PO for "portable object" — see the GNU gettext manual for in-depth background info.

What I'm wondering is... are you sure this is really the reason that PAR is failing? Are you somehow trying to include make in the package?  What you've posted looks like a line of strace output (rather than an error message of PAR (though I could be wrong...)). If so, it might not indicate the actual problem... In other words, it's pretty normal for a program to look for all kinds of files and not find them.

What command did you run, and how exactly does it "not work"?

Replies are listed 'Best First'.
Re^2: why does PAR want make.mo anyway?
by danmcb (Monk) on Sep 14, 2007 at 19:36 UTC

    hi almut

    you're quite right. I'm to build a PAR of a catalyst application.

    I just got this when I do "make catalyst_par

    Writing PAR "engoi.par"
    make: *** catalyst_par Error 2
    

    So then I do "strace make catalyst_par" and get a whole lot of output, ending with this:

    Writing PAR "engoi.par"
    {WIFEXITED(s) && WEXITSTATUS(s) == 2}, 0, NULL) = 9853
    --- SIGCHLD (Child exited) @ 0 (0) ---
    sigreturn()                             = ? (mask now [])
    open("/usr/share/locale/en_GB.utf8/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_GB/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en.utf8/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale-langpack/en_GB.utf8/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale-langpack/en_GB/LC_MESSAGES/make.mo", O_RDONLY) = 4
    fstat64(4, {st_mode=S_IFREG|0644, st_size=37510, ...}) = 0
    mmap2(NULL, 37510, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb7c9e000
    close(4)                                = 0
    write(2, "make: ", 6make: )                   = 6
    write(2, "*** catalyst_par Error 2", 26*** catalyst_par Error 2) = 26
    write(2, "\n", 1
    )                       = 1
    rt_sigprocmask(SIG_BLOCK, HUP INT QUIT TERM XCPU XFSZ, NULL, 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    chdir("/home/daniel/work/engoi/trunk/Engoi") = 0
    close(1)                                = 0
    exit_group(2)                           = ?
    Process 9838 detached
    
    

    So I'm chasing the errors I can see, but these may turn out not to be the real issue. (In fact, on closer inspection, there are many files that are not found, as you say, and that doesn't seem to stop the build.)

    So, what is the issue? I don't see anything else in the output that looks like an error. If you have any ideas as to what may be, I'm most grateful.

      make.mo is a red herring -- you're just seeing the output of make localizing a message for your locale. I'm no catalyst expert but have you tried the catalyst support site? It appears this has come up before and maybe a newer version of PAR is needed.

      -derby