Date: Tue, 09 Dec 2003 12:44:15 -0500 From: Scott W <wegster@mindcore.net> To: Xpression <admin@atenas.cult.cu> Cc: FreeBSD-questions <questions@FreeBSD.ORG> Subject: Re: export PATH ??? Message-ID: <3FD609EF.8020104@mindcore.net> In-Reply-To: <000b01c3be6e$7142a960$0901a8c0@bloodlust> References: <000b01c3be6e$7142a960$0901a8c0@bloodlust>
next in thread | previous in thread | raw e-mail | index | archive | help
Xpression wrote: >Hi again list, I've posted a question recently about >uninstalling packages, in fact, when I installing changin >the prefix path (eg.--prefix=/usr/local/package_name) it >creates me some subdirs. The trouble is that I can't execute >any installed program, until I put, for example: cd >/usr/local/package_name/bin && ./program, anyone with this >issue ??? Thanks... > > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > This isn't really a PATH issue, it's a fundamental dir structure layout problem. I think I know what you're trying to do (keep all user-installed programs seperate), but if you insist on doing it that way (as opposed to leaving/using the default prefix /usr/local), you'll need to create symlinks into /usr/local/bin, which your default PATH presumably includes. Bear in mind there's no guarantee that all ports will relocate to a different dfefault directory and work properly- they should, but I've ran across several that will look in the wrong/old location for config files, log files, etc... The alternative is ugly, evil, and can slow down shell response significantly, which would require modifying your PATH for each and every package you install in the manner you specfied... I've got to ask- what's wrong with leaving the default prefix alone? Scott
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FD609EF.8020104>