From owner-freebsd-ports Wed Jul 4 5:19:52 2001 Delivered-To: freebsd-ports@freebsd.org Received: from k0r3.reflektor.cz (k0r3.reflektor.cz [212.24.129.54]) by hub.freebsd.org (Postfix) with SMTP id 0857637B406 for ; Wed, 4 Jul 2001 05:19:48 -0700 (PDT) (envelope-from cynic@mail.cz) Received: (qmail 17187 invoked by uid 202); 4 Jul 2001 12:19:46 -0000 Received: from unknown (HELO zvahlav.mail.cz) (212.24.143.100) by k0r3.reflektor.cz with SMTP; 4 Jul 2001 12:19:46 -0000 Message-Id: <5.1.0.14.2.20010704140615.00b57c00@mail.cz> X-Sender: cynic@mail.cz X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 04 Jul 2001 14:28:02 +0200 To: Stijn Hoop From: Cynic Subject: Re: samba port install failure... general question Cc: freebsd-ports@freebsd.org, dwcjr@freebsd.org In-Reply-To: <20010704132750.B73342@pcwin002.win.tue.nl> References: <5.1.0.14.2.20010704123024.01f655f8@mail.cz> <5.1.0.14.2.20010704111952.01f655f8@mail.cz> <5.1.0.14.2.20010701231030.020399d0@mail.cz> <5.1.0.14.2.20010704111952.01f655f8@mail.cz> <20010704045442.C11575@leviathan.inethouston.net> <5.1.0.14.2.20010704123024.01f655f8@mail.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Stijn, At 13:27 7/4/2001, Stijn Hoop wrote the following: -------------------------------------------------------------- >Hi, > >On Wed, Jul 04, 2001 at 12:40:01PM +0200, Cynic wrote: >> At 11:54 7/4/2001, David W. Chapman Jr. wrote the following: >> -------------------------------------------------------------- >> >> I don't understand why this is so. The ports stuff requires one to be >> >> logged in as root anyway, so why should it be designed so that one cannot >> >> install a port where they want? >> > >> >It does, just not anywhere they want in /usr/local/somewhere >> >> I guess this was meant to make sure a port install doesn't >> screw up other software, which is a Good Thing(TM). But I can't >> see what harm could be done by creating a dir under PREFIX wich >> is below /usr/local itself. Is this really by design? > >Eh? I really don't see why this shouldn't work - in fact, I just >compiled & installed samba just the way you described it: > >/usr/ports/net/samba# make clean && make PREFIX=/usr/local/samba install > >however you absolutely need to specify the PREFIX during both the build >and the install stage - if you do the following: yes, that seems to be the case. what I did was # make INSTALL=/usr/local/samba configure # make build # make install or # make INSTALL=/usr/local/samba build # make install I assumed it works just like with building from source - you specify options during the first step (./configure ...), and they're carried on through the rest of the process. had I thought of it, it'd be clear that this cannot be the case since the makefiles are already there (not generated by a configure script... Thanks for your mail, it clarified my confusion. cynic@mail.cz ------------- And the eyes of them both were opened and they saw that their files were world readable and writable, so they chmoded 600 their files. - Book of Installation chapt 3 sec 7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message