Orbit & gettext build problems



Hi, im trying to get Orbit built.  Im having real problems.  I think
mainly its because i dont know much about Makefiles- so Im probably doing
something stupid.

I have never got ./configure > make > make install to work.  There is
always a problem somewhere.  Im wondering if its somethign to do with my
build environment - or the fact that Im using cygwin.

Firstly, I start trying to compile Orbit.....;


bash-2.05a$ make
make  all-recursive
make[1]: Entering directory `/cygdrive/c/files/source/orbit'
Making all in popt
make[2]: Entering directory `/cygdrive/c/files/source/orbit/popt'
make  all-recursive
make[3]: Entering directory `/cygdrive/c/files/source/orbit/popt'
Making all in po
make[4]: Entering directory `/cygdrive/c/files/source/orbit/popt/po'
xgettext --default-domain=popt \
    --add-comments --keyword=_ --keyword=N_ ../findme.c ../popt.c
../poptconfig.c ../popthelp.c ../poptparse.c ../test1.c
make[4]: xgettext: Command not found
make[4]: *** [popt.pot] Error 127
make[4]: Leaving directory `/cygdrive/c/files/source/orbit/popt/po'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/cygdrive/c/files/source/orbit/popt'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/cygdrive/c/files/source/orbit/popt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/files/source/orbit'
make: *** [all-recursive-am] Error 2
bash-2.05a$



So, I presume this is because I need xGetText.  So i downloaded gettext
from the gnu ftp site.  But now I cant build this either!  Take a look at
this:


bash-2.05a$ dir
ABOUT-NLS  DISCLAIM     NEWS            TODO          config.h
configure     lib        misc           stamp-h
AUTHORS    INSTALL      README          acconfig.h    config.h.in
configure.in  libtool    missing        stamp-h.in
BUGS       Makefile     README-alpha    aclocal.m4    config.log     doc
ltconfig   mkinstalldirs  tests
COPYING    Makefile.am  README.gemtext  config.cache  config.status
install-sh    ltmain.sh  po
ChangeLog  Makefile.in  THANKS          config.guess  config.sub     intl
m4         src
bash-2.05a$ make
make all-recursive
make[1]: Entering directory
`/cygdrive/c/files/source/gettext/gettext-0.10.35'
Making all in doc
make[2]: Entering directory
`/cygdrive/c/files/source/gettext/gettext-0.10.35/doc'
make[2]: Leaving directory
`/cygdrive/c/files/source/gettext/gettext-0.10.35/doc'
Making all in lib
make[2]: Entering directory
`/cygdrive/c/files/source/gettext/gettext-0.10.35/lib'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl  -g -O2 -c xmalloc.c
xmalloc.c:40: libintl.h: No such file or directory
make[2]: *** [xmalloc.o] Error 1
make[2]: Leaving directory
`/cygdrive/c/files/source/gettext/gettext-0.10.35/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/cygdrive/c/files/source/gettext/gettext-0.10.35'
make: *** [all-recursive-am] Error 2
bash-2.05a$


Presumably this is because it can't find libintl.h - I notice that gcc is
including ../intl.  If I go into a directory (to make ../intl valid) - for
instance the src directory, I simply get:


bash-2.05a$ make
make: *** No rule to make target `../lib/libnlsut.a', needed by `gettext'.
Stop.




-- 
Ben
ctxbsw@comp.leeds.ac.uk





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]