Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jul 2002 13:07:37 -0700
From:      "Crist J. Clark" <crist.clark@attbi.com>
To:        Amy Shaftoe <amyshaftoe@hotmail.com>
Cc:        freebsd-security@FreeBSD.ORG
Subject:   Re: Rebuilding the static programs
Message-ID:  <20020705130737.A17982@blossom.cjclark.org>
In-Reply-To: <F213NpyLAPDVXLuSbh2000076da@hotmail.com>; from amyshaftoe@hotmail.com on Wed, Jul 03, 2002 at 09:26:43PM -0500
References:  <F213NpyLAPDVXLuSbh2000076da@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 03, 2002 at 09:26:43PM -0500, Amy Shaftoe wrote:
> Since I don't have enough disk space to do a make world on my
> 4.6-RELEASE system, I was going to rebuild libc and the static
> programs individually after applying the FreeBSD-SA-02:28.resolv
> patch.
> 
> I applied the patch then did a "make", "make install" and a "make
> clean" in /usr/src/lib/libc.  That went fine.  Then I did the same
> in /usr/src/sbin and that when fine.  But in /usr/src/bin it dies
> with this:
> 
> >===> rmail
> >Warning: Object directory not changed from original /usr/src/bin/rmail
> >ln -sf 
> >/usr/src/bin/rmail/../../contrib/sendmail/include/sm/os/sm_os_freebsd.h 
> >sm_os.h
> >cc -O -pipe  -I/usr/src/bin/rmail/../../contrib/sendmail/include -I.  -Wall 
> >-Wformat    -c /usr/src/bin/rmail/../../contrib/sendmail/rmail/rmail.c
> >cc -O -pipe  -I/usr/src/bin/rmail/../../contrib/sendmail/include -I.  -Wall 
> >-Wformat      -o rmail rmail.o  /usr/src/bin/rmail/../../lib/libsm/libsm.a
> >cc: /usr/src/bin/rmail/../../lib/libsm/libsm.a: No such file or directory
> >*** Error code 1
> >
> >Stop in /usr/src/bin/rmail.
> >*** Error code 1
> >
> >Stop in /usr/src/bin.
> 
> Is this expected behavior?

Yes.

> Should you be able to rebuild the
> system in this manner?

Yes and no. No, you cannot expect to change to an arbitrary directory
in /usr/src, type, 'make install' and expect it to work. But yes you
can build parts of the system this way if you really know what you are
doing.
-- 
Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020705130737.A17982>