Article View: gnu.gcc.help
Article #50830problems installing glibc-1.06 solved !
From: Thorsten Adler
Date: Thu, 05 Aug 1993 13:06
Date: Thu, 05 Aug 1993 13:06
75 lines
3171 bytes
3171 bytes
Hi,
last week I posted a message crying for help because I was not able to install
the glibc-1.06 on a SPARC 10-30 under SunOS 4.1.3 (gcc 2.4.5 and libg++2.4
already installed).
'gnu_make install' always ended up with the message:
gnu_make -C assert/ subdir_install
gnu_make[1]: Entering directory `/home/acct/root/glibc-1.06/assert'
gnu_make[1]: *** No rule to make target `libc.a'. Stop.
gnu_make[1]: Leaving directory `/home/acct/root/glibc-1.06/assert'
gnu_make: *** [assert/subdir_install] Error 1
Today, I played around a little bit with the rather complicated gnu-Makefiles
and discoverd the following errors (I think so):
The file 'Makerules' contains the following lines :
# Any directory (parent or subdir) that has any object files to build
# should install libc.a; this way "make install" in a subdir is guaranteed
# to install everything it changes.
ifdef objects
install-lib := $(install-lib) libc.a
endif
So, by doing a 'make lib', the target 'libc.a' is forced to be compiled in
every sub-directory that contains an object file in order to keep the Library
up to date.
BUT, the target 'libc.a' is only defined in the main-Makefile. The subdir-
Makefiles only include the files 'Makerules', 'Makeconfig' and 'Rules' from
the main-src-dir.
To solve this problem I commented this lines out and started the installation
again. This may not be the best way, but a 'make clean' followed by
'make lib' and 'make install' will it do the right way, I think.
I encountered two more problems compiling the library:
FIRST, the line
install-others = $(addprefix $(datadir)zoneinfo/,$(zonenames) \
in the file 'time/Makefile' must be changed into
install-others = $(addprefix $(datadir)/zoneinfo/,$(zonenames) \
in order to compile.
SECOND, the lines
ifndef posixrules-file
posixrules-file = posixrules
endif
in the file 'Makeconfig' need to be changed into
ifndef posixrules-file
posixrules-file = $(posixrules)
endif
Hope this helps
Thorsten
-------------------------------------------------------------------------------
Email: adler@imes.uni-hannover.de Dipl.-Ing. Thorsten Adler
Phone: +49 511 / 762-3017 Inst. fuer mikroelektronische Systeme
Fax: +49 511 / 762-4994 Universitaet Hannover
30167 Hannover - Germany
Technical Details
Message-ID:
<1993Aug5.130646.25704@newsserver.rrzn.uni-hannover.de>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!news.dfn.de!solaris.rz.tu-clausthal.de!newsserver.rrzn.uni-hannover.de!duffy!adlerShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,191b046894db6d89,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-08-05 09:43:00 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!news.dfn.de!solaris.rz.tu-clausthal.de!newsserver.rrzn.uni-hannover.de!duffy!adler From: adler@imes.uni-hannover.dbp.de (Thorsten Adler) Subject: problems installing glibc-1.06 solved ! Message-ID: <1993Aug5.130646.25704@newsserver.rrzn.uni-hannover.de> Sender: news@newsserver.rrzn.uni-hannover.de (News Service) Reply-To: adler@imes.uni-hannover.dbp.de Organization: UNI Hannover, Inst. f. Mikroelektr. Systeme Date: Thu, 5 Aug 1993 13:06:46 GMT Lines: 78