Re: [Gtranslator-devel] Compiling on FreeBSD



My FreeBSD system is at work. So I shall try it out again tomorrow and
post to the list.

Just out of curiosity, why is it that it does not work with make? 

-Dinesh

--- Ross Golder <ross golder org> wrote:
> Try putting #include <locale.h> above #include <signal.h> in main.c
> and
> see if that works.
> 
> --
> Ross
> 
> .On �., 2003-08-27 at 23:17, Dinesh Nadarajah wrote:
> > OK. Here is a status update. I think you might be right. I ran
> gmake
> > and it seems to go further than before. It did produce an error
> saying
> > 'redeclation of GNOMELOCALEDIR' and so I went and commented that
> line
> > out of defines.h.
> > 
> > Then gmake started to compile even more. felt good. Then another
> error:
> > 
> > cc1: warnings being treated as errors
> > main.c: In function `main':
> > main.c:153: warning: implicit declaration of function `setlocale'
> > main.c:153: `LC_ALL' undeclared (first use in this function)
> > main.c:153: (Each undeclared identifier is reported only once
> > main.c:153: for each function it appears in.)
> > main.c:117: warning: statement with no effect
> > main.c:118: warning: statement with no effect
> > main.c:160: warning: statement with no effect
> > gmake[3]: *** [main.o] Error 1
> > gmake[3]: Leaving directory
> > `/usr/home/dinesh/downloads/gtranslator/gtranslator-1.0/src'
> > gmake[2]: *** [all-recursive] Error 1
> > gmake[2]: Leaving directory
> > `/usr/home/dinesh/downloads/gtranslator/gtranslator-1.0/src'
> > gmake[1]: *** [all-recursive] Error 1
> > gmake[1]: Leaving directory
> > `/usr/home/dinesh/downloads/gtranslator/gtranslator-1.0'
> > gmake: *** [all-recursive-am] Error 2
> > 
> > maybe I have to set something.
> > 
> > _dinesh
> > 
> > --- Fatih Demir <kabalak gtranslator org> wrote:
> > > On Wed, 2003-08-27 at 14:52, Dinesh Nadarajah wrote:
> > > > OK, so I am still trying to compile on my FreeBSD box and I am
> > > getting
> > > > the following error when I run 'make':
> > > > 
> > > > bash-2.05b$ make
> > > > make  all-recursive
> > > > Making all in data
> > > > Making all in colorschemes
> > > > Making all in desktop
> > > > Making all in mime
> > > > ../../intltool-merge -k ../../po gtranslator.keys_template 
> > > > gtranslator.keys
> > > > Merging translations into gtranslator.keys.
> > > > Making all in pixmaps
> > > > Making all in scripts
> > > > Making all in debian
> > > > Making all in doc
> > > > Making all in UMTF
> > > > Making all in help
> > > > Making all in C
> > > > Making all in figures
> > > > Making all in ja
> > > > Making all in man
> > > > make: don't know how to make gtranslator.1.gz. Stop
> > > > *** Error code 1
> > > >  
> > > > Stop in /usr/home/dinesh/downloads/gtranslator/gtranslator-1.0.
> > > > *** Error code 1
> > > >  
> > > > Stop in /usr/home/dinesh/downloads/gtranslator/gtranslator-1.0.
> > > > 
> > > > I am not sure what this is.
> > > 
> > > 
> > > Hmm, are you using gmake for compiling or the BSD make?! We're
> using
> > > a
> > > normal rule there, but if the man files creation makes problems
> you
> > > could simply try the attached patch via applying it in your
> > > gtranslator/man/ directory and then try it again (it patches
> > > Makefile.am).
> > > 
> > > Are there any other problems for FreeBSD present while compiling?
> > > > Index: Makefile.am
> > >
> ===================================================================
> > > RCS file: /cvs/gnome/gtranslator/man/Makefile.am,v
> > > retrieving revision 1.10
> > > diff -r1.10 Makefile.am
> > > 8,11c8,12
> > > < %.1.gz:%.1
> > > < 	@if [ ! -f $@ -o $< -nt $@ ]; then \
> > > < 		echo y|gzip -9 < $< > $@; \
> > > < 	fi
> > > ---
> > > > gtranslator.1.gz:gtranslator.1
> > > > 	gzip -9 < gtranslator.1 > gtranslator.1.gz
> > > > 
> > > > pozilla.sh.1.gz:pozilla.sh.1
> > > > 	gzip -9 < pozilla.sh.1 > pozilla.sh.1.gz
> > > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Gtranslator-devel mailing list
> > Gtranslator-devel lists sourceforge net
> > https://lists.sourceforge.net/lists/listinfo/gtranslator-devel
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Gtranslator-devel mailing list
> Gtranslator-devel lists sourceforge net
> https://lists.sourceforge.net/lists/listinfo/gtranslator-devel





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