[Anjuta-list] Gentoo install Part 2



I tried to make a simple console app and here are the build messages.

> Generating Project ...
> Loading Project ...
> Saving Project ...
> Generating source codes ...
> Copying icon file ...
> Locating files ...
> Saving Project ...
> Updating Project ...
> Running autogen.sh ...
> **Warning**: I am going to run `configure' with no arguments.
> If you wish to pass any to it, please specify them on the
> `./autogen.sh' command line.
> 
> processing .
> Creating ./aclocal.m4 ...
> Running gettextize...  Ignore non-fatal messages.
>   autopoint --force
> Copying file ABOUT-NLS
> Creating directory intl
> Copying file intl/ChangeLog
> Copying file intl/Makefile.in
> Copying file intl/VERSION
> Copying file intl/bindtextdom.c
> Copying file intl/config.charset
> Copying file intl/dcgettext.c
> Copying file intl/dcigettext.c
> Copying file intl/dcngettext.c
> Copying file intl/dgettext.c
> Copying file intl/dngettext.c
> Copying file intl/explodename.c
> Copying file intl/finddomain.c
> Copying file intl/gettext.c
> Copying file intl/gettext.h
> Copying file intl/gettextP.h
> Copying file intl/hash-string.h
> Copying file intl/intl-compat.c
> Copying file intl/l10nflist.c
> Copying file intl/libgettext.h
> Copying file intl/libgnuintl.h
> Copying file intl/loadinfo.h
> Copying file intl/loadmsgcat.c
> Copying file intl/localcharset.c
> Copying file intl/locale.alias
> Copying file intl/localealias.c
> Copying file intl/ngettext.c
> Copying file intl/plural.c
> Copying file intl/plural.y
> Copying file intl/ref-add.sin
> Copying file intl/ref-del.sin
> Copying file intl/textdomain.c
> Creating directory m4
> Copying file m4/codeset.m4
> Copying file m4/gettext.m4
> Copying file m4/glibc21.m4
> Copying file m4/iconv.m4
> Copying file m4/isc-posix.m4
> Copying file m4/lcmessage.m4
> Copying file m4/progtest.m4
> Copying file po/Makefile.in.in
> Making ./aclocal.m4 writable ...
> Running libtoolize...
> You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
> Running aclocal  ...
> Running autoheader...
> Running automake --gnu  ...
> automake: configure.in: installing `./install-sh'
> automake: configure.in: installing `./mkinstalldirs'
> automake: configure.in: installing `./missing'
> automake: no `Makefile.am' found or specified
> Running autoconf ...
> Running ./configure ...
> creating cache ./config.cache
> checking for non-GNU ld... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for a BSD compatible install... /bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal-1.4... found
> checking for working autoconf... found
> checking for working automake-1.4... found
> checking for working autoheader... found
> checking for working makeinfo... found
> checking for strerror in -lcposix... no
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking for c++... g++
> checking whether the C++ compiler (g++  ) works... yes
> checking whether the C++ compiler (g++  ) is a cross-compiler... no
> checking whether we are using GNU C++... yes
> checking whether g++ accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking how to run the C preprocessor... gcc -E
> checking for ANSI C header files... yes
> checking for Cygwin environment... no
> checking for mingw32 environment... no
> checking host system type... i686-pc-linux-gnu
> checking build system type... i686-pc-linux-gnu
> checking for ld used by GCC... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for /usr/bin/ld option to reload object files... -r
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking for a sed that does not truncate output... /bin/sed
> checking whether ln -s works... yes
> checking how to recognise dependent libraries... pass_all
> checking for object suffix... o
> checking for executable suffix... no
> checking command to parse /usr/bin/nm -B output... ok
> checking for dlfcn.h... yes
> checking for ranlib... ranlib
> checking for strip... strip
> checking for objdir... .libs
> checking for gcc option to produce PIC... -fPIC
> checking if gcc PIC flag -fPIC works... yes
> checking if gcc static flag -static works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.lo... yes
> checking if gcc supports -fno-rtti -fno-exceptions... yes
> checking whether the linker (/usr/bin/ld) supports shared libraries... yes
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking whether -lc should be explicitly linked in... no
> creating libtool
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unsigned long long... yes
> ./config.rpath: ./config.rpath: No such file or directory
> checking for shared library run path origin... done
> checking whether NLS is requested... yes
> checking for ranlib... (cached) ranlib
> checking for working const... yes
> checking for inline... inline
> checking for off_t... yes
> checking for size_t... yes
> checking for working alloca.h... yes
> checking for alloca... yes
> checking for unistd.h... yes
> checking for getpagesize... yes
> checking for working mmap... yes
> checking whether we are using the GNU C Library 2.1 or newer... yes
> checking whether integer division by zero raises SIGFPE... yes
> checking for inttypes.h... yes
> checking whether the inttypes.h PRIxNN macros are broken... no
> checking for msgfmt... /usr/bin/msgfmt
> checking for gmsgfmt... /usr/bin/msgfmt
> checking for xgettext... /usr/bin/xgettext
> checking for msgmerge... /usr/bin/msgmerge
> checking for argz.h... yes
> checking for limits.h... yes
> checking for locale.h... yes
> checking for nl_types.h... yes
> checking for malloc.h... yes
> checking for stddef.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for unistd.h... (cached) yes
> checking for sys/param.h... yes
> checking for feof_unlocked... yes
> checking for fgets_unlocked... yes
> checking for getc_unlocked... yes
> checking for getcwd... yes
> checking for getegid... yes
> checking for geteuid... yes
> checking for getgid... yes
> checking for getuid... yes
> checking for mempcpy... yes
> checking for munmap... yes
> checking for putenv... yes
> checking for setenv... yes
> checking for setlocale... yes
> checking for stpcpy... yes
> checking for strcasecmp... yes
> checking for strdup... yes
> checking for strtoul... yes
> checking for tsearch... yes
> checking for __argz_count... yes
> checking for __argz_stringify... yes
> checking for __argz_next... yes
> checking for __fsetlocking... yes
> checking for iconv... yes
> checking for iconv declaration... 
>          extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
> checking for nl_langinfo and CODESET... yes
> checking for LC_MESSAGES... yes
> checking for bison... bison
> checking version of bison... 1.875, ok
> checking whether NLS is requested... yes
> checking whether included gettext is requested... no
> checking for GNU gettext in libc... yes
> checking whether to use NLS... yes
> checking where the gettext function comes from... libc
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> sed: can't read ./Makefile.in: No such file or directory
> creating intl/Makefile
> creating po/Makefile.in
> creating config.h
> creating po/POTFILES
> creating po/Makefile
> Now type `make' to compile the package.
> Auto generation completed...............Successful
> Now Build the Project to have a LOOK at it


BUT>>>>>>>
when I try to build the project without changing anything this is
the output

> Building the whole Project: lk ...
> make -k
> make: *** No targets.  Stop.

I seem to have a make file problem.
int /root/Projects/lk I have a make file that is empty
in /root/Projects/lk/po I have a makefile that contains the following:

> # Generated automatically from Makefile.in.in by configure.
> # Makefile for program source directory in GNU NLS utilities package.
> # Copyright (C) 1995-1997, 2000, 2001 by Ulrich Drepper <drepper gnu ai mit edu>
> #
> # This file file be copied and used freely without restrictions.  It can
> # be used in projects which are not available under the GNU Public License
> # but which still want to provide support for the GNU gettext functionality.
> # Please note that the actual code is *not* freely available.
> 
> PACKAGE = lk
> VERSION = 0.1
> 
> # These two variables depend on the location of this directory.
> subdir = po
> top_builddir = ..
> 
> SHELL = /bin/sh
> 
> 
> srcdir = .
> top_srcdir = ..
> 
> prefix = /usr/local
> exec_prefix = ${prefix}
> datadir = ${prefix}/share
> localedir = $(datadir)/locale
> gettextsrcdir = $(datadir)/gettext/po
> 
> INSTALL = /bin/install -c
> INSTALL_DATA = ${INSTALL} -m 644
> MKINSTALLDIRS = $(top_builddir)/./mkinstalldirs
> mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) echo "$(MKINSTALLDIRS)" ;; *) echo "$(top_builddir)/$(MKINSTALLDIRS)" ;; esac`
> 
> CC = gcc
> GMSGFMT = /usr/bin/msgfmt
> MSGFMT = /usr/bin/msgfmt
> XGETTEXT = /usr/bin/xgettext
> MSGMERGE = msgmerge
> 
> DEFS = -DHAVE_CONFIG_H
> CFLAGS = -g -O2
> CPPFLAGS = 
> 
> INCLUDES = -I.. -I$(top_srcdir)/intl
> 
> COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS)
> 
> POFILES = 
> GMOFILES = 
> DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(PACKAGE).pot \
> $(POFILES) $(GMOFILES)
> 
> POTFILES = \
>      ../src/main.cc
> 
> CATALOGS = 
> 
> .SUFFIXES:
> .SUFFIXES: .c .o .po .pox .gmo .mo
> 
> .c.o:
> 	$(COMPILE) $<
> 
> .po.pox:
> 	$(MAKE) $(PACKAGE).pot
> 	$(MSGMERGE) $< $(srcdir)/$(PACKAGE).pot -o $*.pox
> 
> .po.mo:
> 	$(MSGFMT) -o $@ $<
> 
> .po.gmo:
> 	file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
> 	  && rm -f $$file && $(GMSGFMT) --statistics -o $$file $<
> 
> 
> all: all-yes
> 
> all-yes: $(CATALOGS)
> all-no:
> 
> # Note: Target 'all' must not depend on target '$(srcdir)/$(PACKAGE).pot',
> # otherwise packages like GCC can not be built if only parts of the source
> # have been downloaded.
> 
> $(srcdir)/$(PACKAGE).pot: $(POTFILES) $(srcdir)/POTFILES.in
> 	$(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \
> 	  --add-comments --keyword=_ --keyword=N_ \
> 	  --files-from=$(srcdir)/POTFILES.in \
> 	&& test ! -f $(PACKAGE).po \
> 	   || ( rm -f $(srcdir)/$(PACKAGE).pot \
> 		&& mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot )
> 
> 
> install: install-exec install-data
> install-exec:
> install-data: install-data-yes
> 	if test "$(PACKAGE)" = "gettext"; then \
> 	  $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
> 	  $(INSTALL_DATA) $(srcdir)/Makefile.in.in \
> 			  $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
> 	else \
> 	  : ; \
> 	fi
> install-data-no: all
> install-data-yes: all
> 	$(mkinstalldirs) $(DESTDIR)$(datadir)
> 	@catalogs='$(CATALOGS)'; \
> 	for cat in $$catalogs; do \
> 	  cat=`basename $$cat`; \
> 	  lang=`echo $$cat | sed 's/\.gmo$$//'`; \
> 	  dir=$(localedir)/$$lang/LC_MESSAGES; \
> 	  $(mkinstalldirs) $(DESTDIR)$$dir; \
> 	  if test -r $$cat; then \
> 	    $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \
> 	    echo "installing $$cat as $(DESTDIR)$$dir/$(PACKAGE).mo"; \
> 	  else \
> 	    $(INSTALL_DATA) $(srcdir)/$$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \
> 	    echo "installing $(srcdir)/$$cat as" \
> 		 "$(DESTDIR)$$dir/$(PACKAGE).mo"; \
> 	  fi; \
> 	done
> 
> # Define this as empty until I found a useful application.
> installcheck:
> 
> uninstall:
> 	catalogs='$(CATALOGS)'; \
> 	for cat in $$catalogs; do \
> 	  cat=`basename $$cat`; \
> 	  lang=`echo $$cat | sed 's/\.gmo$$//'`; \
> 	  rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \
> 	done
> 	if test "$(PACKAGE)" = "gettext"; then \
> 	  rm -f $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
> 	else \
> 	  : ; \
> 	fi
> 
> check: all
> 
> dvi info tags TAGS ID:
> 
> mostlyclean:
> 	rm -f core core.* *.pox $(PACKAGE).po *.new.po
> 	rm -fr *.o
> 
> clean: mostlyclean
> 
> distclean: clean
> 	rm -f Makefile Makefile.in POTFILES *.mo
> 
> maintainer-clean: distclean
> 	@echo "This command is intended for maintainers to use;"
> 	@echo "it deletes files that may require special tools to rebuild."
> 	rm -f $(GMOFILES)
> 
> distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
> dist distdir:
> 	$(MAKE) update-po
> 	@$(MAKE) dist2
> # This is a separate target because 'update-po' must be executed before.
> dist2: $(DISTFILES)
> 	dists="$(DISTFILES)"; \
> 	for file in $$dists; do \
> 	  if test -f $$file; then dir=.; else dir=$(srcdir); fi; \
> 	  cp -p $$dir/$$file $(distdir); \
> 	done
> 
> update-po: Makefile
> 	$(MAKE) $(PACKAGE).pot
> 	if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; fi; \
> 	cd $(srcdir); \
> 	catalogs='$(GMOFILES)'; \
> 	for cat in $$catalogs; do \
> 	  cat=`basename $$cat`; \
> 	  lang=`echo $$cat | sed 's/\.gmo$$//'`; \
> 	  echo "$$lang:"; \
> 	  if $(MSGMERGE) $$lang.po $(PACKAGE).pot -o $$lang.new.po; then \
> 	    mv -f $$lang.new.po $$lang.po; \
> 	  else \
> 	    echo "msgmerge for $$cat failed!"; \
> 	    rm -f $$lang.new.po; \
> 	  fi; \
> 	done
> 	$(MAKE) update-gmo
> 
> update-gmo: Makefile $(GMOFILES)
> 	@:
> 
> Makefile: Makefile.in.in $(top_builddir)/config.status POTFILES.in
> 	cd $(top_builddir) \
> 	  && CONFIG_FILES=$(subdir)/$  in CONFIG_HEADERS= \
> 	       $(SHELL) ./config.status
> 
> # Tell versions [3.59,3.63) of GNU make not to export all variables.
> # Otherwise a system limit (for SysV at least) may be exceeded.
> .NOEXPORT:

does any of this make a bit of sense






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