Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jul 2001 14:28:02 +0200
From:      Cynic <cynic@mail.cz>
To:        Stijn Hoop <stijn@win.tue.nl>
Cc:        freebsd-ports@freebsd.org, dwcjr@freebsd.org
Subject:   Re: samba port install failure... general question
Message-ID:  <5.1.0.14.2.20010704140615.00b57c00@mail.cz>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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