MacPorts without root privileges: how?

Lenore Horner LenoreHorner at sbcglobal.net
Tue Feb 15 08:14:36 PST 2011


It's the list of instructions that tells your computer how to compile and install a port.  

See http://guide.macports.org/#development and the next section as well.  See also http://trac.macports.org/wiki/FAQ#PortfileDevelopmentandMaintenanceQuestions.  Internals may be helpful http://guide.macports.org/#internals.  Also in the guide, try searching " root".  

In short, read the manual.


On Feb 15, 2011, at 10:47 AM, Gf B wrote:

> Sorry for the ignorant question: what exactly is "the portfile"?
> 
> Thanks,
> 
> G.
> 
> On Tue, Feb 15, 2011 at 9:38 AM, Ben Greenfield <ben at cogs.com> wrote:
>> 
>> On Feb 15, 2011, at 8:32 AM, Gf B wrote:
>> 
>> OK, I installed dbus using +no_startupitem+no_root.  Thank you all for
>> the pointers to these variants.
>> 
>> No such luck, however, with the postgresql90-server port.  This port
>> is basically uninstallable without root privileges.  This is highly
>> annoying to someone who has done dozens of PostgreSQL server
>> installations before.  I'm sure I can finish this one by hand.
>> 
>> If you work on modifying the portfile to not depend on root that would be
>> the best approach in my opinion.
>> It could be it needs a +no_root variant that others could use
>> 
>> 
>> 
>> What I
>> can't figure out is how to tell MacPorts that this port should be
>> considered installed and active.
>> 
>> So I return to the question: how to finalize the installation and
>> activation of a port "by hand"?  What must I do to mark a port as
>> installed and active?  What tricks/tools can I use to determine what's
>> left to be done?
>> 
>> Modify the portfile by hand until you get the port installed will meet your
>> goals and may help others.
>> Good Luck,
>> Ben
>> 
>> 
>> Thanks in advance,
>> 
>> G.
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>> 
>> 
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110215/3ce84fca/attachment.html>


More information about the macports-users mailing list