// This code is copyrighted material owned by W. D. Bricker, doing business
// as US-Webmasters.com. Copyright 1998-2009 - All rights reserved.
//
// A single license for this code has been granted to
// US-Webmasters.com
//
// for use on site(s):
// US-Webmasters.com and related sites
//
// No other rights are implied nor shall be inferred. This code may
// not be altered, copied or distributed without express permission.
// Violation of these rights will necessitate legal remedial action.
// To get rid of "the Undefined variable: DOCUMENT_ROOT" error:
// The Root Directory:
// This worked in PHP4:
// $RootDir = $RootDir;
// This works in PHP5:
$RootDir = $_SERVER['DOCUMENT_ROOT'];
// $RootDir = $RootDir."/testing";
// Echo "DOCUMENT_ROOT: ".$RootDir."
\n";
// Echo "RootDir: ".$RootDir."
\n";
// We'll need access to the Global Variables:
// include_once("$DOCUMENT_ROOT/include/GlobalVars.php");
// To get rid of: Warning: include_once() [function.include-once]: Unable to access /include/GlobalVars.php in
include_once("$RootDir/include/GlobalVars.php");
// We will be accessing all sorts of functions:
//include_once("$DOCUMENT_ROOT/include/Functs.php");
include_once("$RootDir/include/Functs.php");
// Check to see if the visitor (USER_AGENT) is a spider. If not:
// then do a "session_start"...
// Creates a session or resumes the current one
// based on the current session id that's being passed via a
// request, such as GET, POST, or a COOKIE.
// It's necessary that this be the first PHP command in the file.
If (!ItsASpider())
{
session_start();
// Sets various session variables like ReferringURL and EntryURL
// if they haven't already been set
// include_once("$DOCUMENT_ROOT/include/SetSessionVars.php");
include_once("$RootDir/include/SetSessionVars.php");
}
// This turns on Output Buffering. This seems to be
// necessary because we may be redirecting to a "Thank You" page
// after they submit the form. Speeds things up because
// browser doesn't reload when hitting BACK button.
ob_start();
// PageNameStr - This is the dominant keyword phrase for the page.
// Goes in comments, header bars, IMAGE ALT tags, etc. Only about 10 words!
$PageNameStr="'make install' fails, dies, quits on FreeBSD";
// This is the first line string. It goes at the very top of the page.
// If this is NOT a doorway page, then set the $PageFirstLineStr:
// Notice: Undefined variable: ThisIsDoorway
// IF (!($ThisIsDoorway))
// If not set, then set it to get rid of error message:
If (!IsSet($ThisIsDoorway))
{$ThisIsDoorway=0;}
If ($ThisIsDoorway<>1)
{$PageFirstLineStr="FreeBSD 'make install' Fails - Installing Programs Apps - Dies, Fails, Quits, Error Code - Tutorial, Howto, Newbie, Beginner, Tips, Tricks, Hints";}
// This is the first text after the first line,
// that usually shows up in the upper left corner
$PageFirstTextStr="${CompanyStr}
FreeBSD make install dies";
// This is the second text after the first line,
// that usually shows up in the upper right corner
$PageSecondTextStr="${CompanyDomain}
'make install on FreeBSD fails";
$PageTitleStr=$PageFirstLineStr;
$PageKeywordStr=$PageNameStr;
$PageCommentStr="'make install' on FreeBSD quits. Dies, crashes, fails, Error Code 1. Configuration, Linux, Unix, Nix, Cheat Sheet for FreeBSD Installation. Configure, Options, Configuration, Howto, How To, FreeBSD.";
// $PageDescriptionStr="";
// $PageRobotsStr="";
// If this is NOT a doorway page, then include header.php:
IF (!($ThisIsDoorway))
{ include_once("$RootDir/include/header-brief.php"); }
?>
cd /usr/ports/SomeCategory/SomePort/
make install
while constructing and installing the 'SomePort'
program, FreeBSD automatically also makes and
installs any and all programs that 'SomePort'
depends on for its operation. At least that's
the way that it is supposed to work.*** Error code 1
A. Isn't installed
B. Older (or newer) version than is required.
C. Installed incorrectly
pkg_info | more
(The pipe character '|' is probably located on your
keyboard as the shifted version of the '\' key).
ispell-3.2.06_11
locate someprogram | more
whereis or find
commands:whereis someprogram | more
find / -name "someprogram*"
/usr/ports/.
You may
need to reissue the 'locate' command if there
are a number of listings and you can't find it on the
first pass through.
cd /usr/ports/SomeCategory/SomeDependentPort/
make install
cd /usr/ports/SomeCategory/SomeDependentPort/
make deinstall
Wait until it finishes.make reinstall
Once it has finished, it should give you some sort of message
that it reinstalled properly.
cd /usr/ports/SomeCategory/SomePort/
make install