[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference cookie::archive_backup

Title:Archive/Backup
Moderator:COOKIE::MHUAIG
Created:Wed Sep 08 1993
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:479
Total number of notes:2283

459.0. "No such file during MAKE on Sun Sparc." by CX3PST::BSS::SAUL () Thu May 15 1997 13:46

Hi,

Customer gets a No such file or directory during the make on a Sun Sparc
system.  This appears to be a version earlier (2.4) of the supported version
(2.5).  Could this be causing the error?  Log file and the MAKE file follows...

Thanks

Ted

sun1# tar -xf tar-1_11_8.tar
sun1# cd tar-1.11.8
sun1# configure --disable-nls
creating cache ./config.cache
checking host system type... sparc-sun-solaris2.4
checking target system type... sparc-sun-solaris2.4
checking build system type... sparc-sun-solaris2.4
checking for gcc... gcc
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking for a BSD compatible install... ./install-sh -c
checking whether make sets ${MAKE}... yes
checking for ranlib... ranlib
checking for bison... bison -y
checking for AIX... no
checking for POSIXized ISC... no
checking for minix/config.h... no
checking for gcc option to accept ANSI C...
checking for function prototypes... yes
checking for working const... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for memory.h... yes
checking for string.h... yes
checking for sys/gentape.h... no
checking for sys/io/trioctl.h... no
checking for sys/ioccom.h... yes
checking for sys/mtio.h... yes
checking for sys/param.h... yes
checking for sys/tape.h... no
checking for sys/time.h... yes
checking for sys/timeb.h... yes
checking for sys/wait.h... yes
checking for unistd.h... yes
checking for utime.h... yes
checking for remote tape header files... yes
checking for getgrgid declaration... yes
checking for getpwuid declaration... yes
checking which field to test for reversed bytes in remote ioctl... mt_type
checking for dirent.h that defines DIR... yes
checking for -ldir... no
checking whether sys/types.h defines makedev... no
checking for sys/mkdev.h... yes
checking whether stat file-mode macros are broken... no
checking whether cross-compiling... no
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for st_blksize in struct stat... yes
checking for st_blocks in struct stat... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for ftime... no
checking for getcwd... yes
checking for isascii... yes
checking for mkfifo... yes
checking for strstr... yes
checking for mknod... yes
checking for -linet... no
checking for -lnsl... yes
checking for -lsocket... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for vprintf... yes
checking for fnmatch... yes
checking for ftruncate... yes
checking for memset... yes
checking for mkdir... yes
checking for rename... yes
checking for rmdir... yes
checking for HP-UX needing gmalloc... no
checking for valloc... yes
checking for 3-argument open... yes
checking for union wait... no
checking for remote shell... /usr/ucb/rsh
checking for default archive... -
checking for default blocking... 20
checking if malloc debugging is wanted... no
checking which of rx or regex is wanted... rx
checking for re_rx_search... no
checking for locale.h... yes
checking for nl_types.h... yes
checking for setlocale... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... no
checking for values.h... yes
checking for inline... inline
checking for off_t... yes
checking size of unsigned short... 2
checking size of unsigned int... 4
checking for working mmap... yes
checking for putenv... yes
checking for setenv... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating doc/Makefile
creating intl/Makefile
creating lib/Makefile
creating po/Makefile
creating src/Makefile
creating scripts/Makefile
creating config.h
sun1# make
for subdir in doc lib intl src scripts po; do \
  echo making all in $subdir; \
  (cd $subdir && make  CC='gcc' CFLAGS='-g -O' LDFLAGS='' LIBS='-lnsl -lsocket'
prefix='/usr/local' exec_prefix='/usr/local' bindir='/usr/local/bin' libexecdir=
'/usr/local/libexec' infodir='/usr/local/info' infodir='/usr/local/info' libexec
dir='/usr/local/libexec' all) || exit 1; \
done
making all in doc
make[1]: Entering directory `/home/oyyee/tar-1.11.8/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/oyyee/tar-1.11.8/doc'
making all in lib
make[1]: Entering directory `/home/oyyee/tar-1.11.8/lib'
gcc -c -DHAVE_CONFIG_H -I.. -I.  -g -O rx.c
gcc -c -DHAVE_CONFIG_H -I.. -I.  -g -O error.c
gcc -c -DHAVE_CONFIG_H -I.. -I.  -g -O getdate.c
gcc -c -DHAVE_CONFIG_H -I.. -I.  -g -O getopt.c
gcc -c -DHAVE_CONFIG_H -I.. -I.  -g -O getopt1.c
gcc -c -DHAVE_CONFIG_H -I.. -I.  -g -O stpcpy.c
gcc -c -DHAVE_CONFIG_H -I.. -I.  -g -O xgetcwd.c
gcc -c -DHAVE_CONFIG_H -I.. -I.  -g -O xmalloc.c
gcc -c -DHAVE_CONFIG_H -I.. -I.  -g -O xstrdup.c
rm -f libtar.a
ar cru libtar.a rx.o error.o getdate.o getopt.o getopt1.o stpcpy.o xgetcwd.o xma
lloc.o xstrdup.o
ranlib libtar.a
make[1]: Leaving directory `/home/oyyee/tar-1.11.8/lib'
making all in intl
make[1]: Entering directory `/home/oyyee/tar-1.11.8/intl'
rm -f libintl.a
ar cru libintl.a
ranlib libintl.a
ranlib: libintl.a: No such file or directory
make[1]: *** [libintl.a] Error 9
make[1]: Leaving directory `/home/oyyee/tar-1.11.8/intl'
make: *** [all] Error 1
sun1# pwd
/home/oyyee/tar-1.11.8
sun1# ls intl
Makefile       combine-sh     gettext.h      loadmsgcat.c   xopen-msg.sed
Makefile.in    dcgettext.c    gettextP.h     po-to-msg.sed
bindtextdom.c  dgettext.c     hash-string.h  po-to-tbl.sed
cat-compat.c   finddomain.c   libgettext.h   stamp-cat-id
cat-id-tbl.c   gettext.c      linux-msg.sed  textdomain.c
sun1# cat intl/Makefile
# Generated automatically from Makefile.in by configure.
# Makefile for directory with message catalog handling in GNU NLS Utilities.
# Copyright (C) 1995 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

PACKAGE = tar
VERSION = 1.11.8

SHELL = /bin/sh

srcdir = .
top_srcdir = ..

prefix = /usr/local
exec_prefix = ${prefix}
transform = s,x,x,
datadir = $(prefix)/
localedir = $(datadir)/locale
subdir = intl

AR = ar
CC = gcc
RANLIB = ranlib

DEFS = -DDEF_MSG_DOM_DIR=\"$(localedir)\" -DHAVE_CONFIG_H
CFLAGS = -g -O

COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)

SCRIPTS = linux-msg.sed po-to-tbl.sed xopen-msg.sed
HEADERS = gettext.h gettextP.h hash-string.h libgettext.h
SOURCES = bindtextdom.c dcgettext.c dgettext.c gettext.c \
finddomain.c loadmsgcat.c textdomain.c cat-compat.c
OBJECTS =
CATOBJS = cat-compat.o cat-id-tbl.o
GETTOBJS= bindtextdom.o dcgettext.o dgettext.o gettext.o \
finddomain.o loadmsgcat.o textdomain.o
DISTFILES = Makefile.in combine-sh $(SCRIPTS) $(HEADERS) $(SOURCES) \
stamp-cat-id cat-id-tbl.c

.SUFFIXES:
.SUFFIXES: .c .o
.c.o:
        $(COMPILE) $<

INCLUDES = -I.. -I$(srcdir)/.. -I. -I$(srcdir)/../intl \
-I../lib -I$(srcdir)/../lib

all: libintl.a


libintl.a: $(OBJECTS)
        rm -f libintl.a
        $(AR) cru libintl.a $(OBJECTS)
        $(RANLIB) libintl.a

cat-id-tbl.c: stamp-cat-id
stamp-cat-id: po-to-tbl.sed $(top_srcdir)/po/$(PACKAGE).pot
        sed -f $(srcdir)/po-to-tbl.sed $(top_srcdir)/po/$(PACKAGE).pot \
          | sed -e "s/@PACKAGE NAME@/$(PACKAGE)/" > table.tmp
        if cmp -s table.tmp $(srcdir)/cat-id-tbl.c; then rm table.tmp; \
        else mv table.tmp $(srcdir)/cat-id-tbl.c; fi
        rm -f $(srcdir)/stamp-cat-id && echo timestamp > $(srcdir)/stamp-cat-id

install install-exec install-data: all

$(OBJECTS): ../config.h libgettext.h
bindtextdom.o finddomain.o loadmsgcat.o: gettextP.h gettext.h
cat-id-tbl.o: libgettext.h
dcgettext.o: gettextP.h gettext.h hash-string.h

tags: TAGS

TAGS: $(HEADERS) $(SOURCES)
        cd $(srcdir)/../intl && etags $(HEADERS) $(SOURCES) $(LIBHDRS) $(LIBSRCS
)

mostlyclean:
        rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.log *.pg *.toc *.tp *.vr
        rm -f *.a *.o core core.*
        rm -f *.tmp

clean: mostlyclean

distclean: clean
        rm -f Makefile

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 TAGS

distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
dist: $(DISTFILES)
        for file in $(DISTFILES); do \
          ln $(srcdir)/$$file $(distdir) 2> /dev/null \
            || cp -p $(srcdir)/$$file $(distdir); \
        done

Makefile: Makefile.in ../config.status
        cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./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:

T.RTitleUserPersonal
Name
DateLines
459.1Some suggestionsCOOKIE::MHUAFri May 16 1997 17:0026
    
    Ted,
    
    I went to talk to someone who is more familar with this topic and this
    is what he recommeded. The 3rd line of the log says
    
    sun1# configure --disable-nls
    
    Change this line to
    
    sun#1 configure
    
    and try the make again.  As you have mentioned, this is an unsupported
    version of the client, and we cannot spend lot of our time solving the 
    problem. I don't think we even have this version of unix to try it on.
    
    Also, if someone is knowledgeable with "unix make", he/she can
    probabaly give you some insights in why this make is failing.  There 
    must be someone in MCS who's really good at unix make????
    
    That's all we have for now.
    
    Masami