Re: Building in /usr/src copied to $HOME



On 2008-03-18 21:28, V??clav Haisman <v.haisman@xxxxxxxxxx> wrote:
Hi,
I am trying to use /usr/src copied to my $HOME but the build process
doesn't want to work. For example when I try build /bin/cp I get the
following:

shell::wilx:~/freebsd/src/bin/cp> make
"/usr/home/users/wilx/freebsd/src/bin/cp/../Makefile.inc", line 9:
Malformed conditional (${MK_DYNAMICROOT} == "no")
"/usr/share/mk/bsd.init.mk", line 15: if-less endif
make: fatal errors encountered -- cannot continue

Is there any sort of tutorial/prescription anywhere how to use /usr/src
tree that does not reside in /usr/src?

Hmmm, that should work. I regularly build as a non-root user, at
`/home/build/src'.

The error about ``Malformed conditional'' seems a bit odd too. Are you
using /usr/bin/make? What version of FreeBSD is the build host running,
and what version of the source tree have you checked out?

_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • cvsup update and source sync confusion
    ... I am confused about how to cvsup my freeBSD 6 system. ... Its updating the rest of the system that I don't understand. ... All good and well except that I don't know how to sync these sources and the handbook tells me that I shouldn't update just part of my source tree. ... I looked in many cvsup docs and cannot find a simple way to sync the two directories. ...
    (freebsd-questions)
  • Re: Security Announcements
    ... maintain a single source tree for all of my machines. ... 4.2-RELEASE + security patches. ... I just want to add my voice as to how I use FreeBSD. ... patches for -RELEASE should be too burdensome. ...
    (FreeBSD-Security)
  • Re: Security Announcements?
    ... > maintain a single source tree for all of my machines. ... > I just want to add my voice as to how I use FreeBSD. ... > patches for -RELEASE should be too burdensome. ... > bind and ntp vulnerabilities went by without patches. ...
    (FreeBSD-Security)
  • Re: Buildworld and Security advisories.
    ... > I am new to FreeBSD source upgrading/patching source tree system. ... > patch all those bugs listed in FreeBSD Security Advisories? ... you can perform a binary upgrade from RELEASE to ...
    (freebsd-questions)
  • Re: Stable vs Release vs Current
    ... At 10:35 PM 18/02/2004, David Beukes wrote: ... >Have been using FreeBSD for about a year now but haven't ... >versions/branches. ... -STABLE becomes -RELEASE when the source tree is tagged with -RELEASE ...
    (freebsd-stable)