xchat compile

plug-discuss@lists.plug.phoenix.az.us plug-discuss@lists.plug.phoenix.az.us
Wed, 5 Jun 2002 16:52:26 -0700


On Wed, Jun 05, 2002 at 04:31:26PM -0700, robert jorgenson wrote:
> its setting it to gcc, im assuming thats normal. I am completely new at
> this but from reading it looks like the only error it has is the /bin/sh: -o
> command not found. it looks to me like its trying to run "-o" as its own
> command but i could be completely wrong. Any other ideas?

On my box it compiles thusly:

<SNIP>
   make  all-recursive
   make[1]: Entering directory /home/mondoshawan/xchat-1.8.9'
   Making all in po
   make[2]: Entering directory /home/mondoshawan/xchat-1.8.9/po'
   rm -f cat-id-tbl.tmp
   sed -f ../intl/po2tbl.sed ./xchat.pot \
   | sed -e "s/@PACKAGE NAME@/xchat/" > cat-id-tbl.tmp
   sed: Couldn't open file ../intl/po2tbl.sed
   if cmp -s cat-id-tbl.tmp ./cat-id-tbl.c; then \
      rm cat-id-tbl.tmp; \
   else \
      echo cat-id-tbl.c changed; \
      rm -f ./cat-id-tbl.c; \
      mv cat-id-tbl.tmp ./cat-id-tbl.c; \
   fi
   cat-id-tbl.c changed
   cd . && rm -f stamp-cat-id && echo timestamp > stamp-cat-id
   file=./echo ca | sed 's,.*/,,'.gmo \
     && rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file ca.po
</SNIP>

I'm guessing that it might not be finding the msgfmt program. Do a search
for it on your box. When you find it, you'll have to redefine the Makefile's
MSGFMT variable to point to it. Fortunately, it looks like you'll only need
it for the files in the po/ directory, so only the Makefile in there will
need to be edited.

-- 
Thomas "Mondoshawan" Tate
mondoshawan@tank.dyndns.org
http://tank.webhop.org