Re: How do I make a "Clean machine"

From: Mark Worsdall (freebsd_at_NoSpAmPlEaSe-wizdom.org.uk)
Date: 09/19/05


Date: Mon, 19 Sep 2005 00:46:20 +0100

In message <slrndir3s6.v0j.tthomas@graf.pompo.net>, Thierry Thomas
<tthomas@mail.dotcom.fr> writes
>On Sun, 18 Sep 2005 15:34:14 +0100, Mark Worsdall wrote:
>> Hi,
>
>Hello,
>
>> bearing in mind this is a working server and cannot have down time:
>
>> The kernel has been built and installed along with world
>
>> portupgrade done to.
>
>
>> What else is needed to make this machine clean?
>
>This relates to Message-ID: <VnNvmW+JDXLDFw+I@worsdall.demon.co.uk>
>where I was speaking about a /clean/ ports tree and installation.
>
>For a working server, I would suggest to avoid developing stuff. If you
>can afford another machine with same arch and same os-version, build
>your own packages on this machine, test them, and then just pkg-add on
>your production server.
>
>About your server, to have it as clean as possible, I would suggest to
>cvsup the ports tree without refuse file (or with a refuse file limited
>to foreign languages), `make fetchindex', deinstall everything installed
>"by hand" and run a recursive portupgrade. If you need to install
>something by hand, you can do it, but use another prefix (e.g. /opt).
>Fix ports origin when needed with `pkgdb -F'.

Well all was cleaned up out and everything.

No horde, no imp no php4

completely wiped ports and cvsup it

did the portupdate stuff etc

cd /usr/ports/mail/imp

make install

guess what???!!!! Noticed that it started to build php4 without pear!!!
maybe it will rebuild it later with pear!!!

it stopped too:

===> Installing documentation in /usr/local/share/doc/pear/Archive_Tar.

Warning: dl(): Unable to load dynamic library
'/usr/local/lib/php/20020429/pcre.so' - Cannot open
"/usr/local/lib/php/20020429/pcre.so" in /usr/local/bin/pear2 on line 28

Warning: dl(): Unable to load dynamic library
'/usr/local/lib/php/20020429/xml.so' - Cannot open
"/usr/local/lib/php/20020429/xml.so" in /usr/local/bin/pear2 on line 29

Warning: main(PEAR.php): failed to open stream: No such file or
directory in pear2 on line 46

Fatal error: main(): Failed opening required 'PEAR.php'
(include_path='/usr/local/share/pear:/usr/local/share/pear/bootstrap')
in /usr/local/bin/pear2 on line 46
*** Error code 255

Stop in /usr/ports/archivers/pear-Archive_Tar.
*** Error code 1

Stop in /usr/ports/devel/pear-PEAR.
*** Error code 1

Stop in /usr/ports/security/pear-Auth.
*** Error code 1

Stop in /usr/ports/security/pear-Auth.
*** Error code 1

Stop in /usr/ports/security/pear-Auth_SASL.
*** Error code 1

Stop in /usr/ports/mail/imp.

at a loss, I know I need to sort out these 2 pcre.so and xml.so problems
but how?

-- 
Mark Worsdall
http://www.shadowrobot.com/  need a hand??


Relevant Pages

  • Re: advanced programming unix environment
    ... I would appreciate if somebody else running freebsd 7.0 could download source and see if it makes fine on their installation. ... *** Error code 1 ... be unable to log in as root in any way, ... After the initial install I was able to log ...
    (freebsd-questions)
  • Re: Please Help-windows will not update -desperate
    ... Before you install IE, make sure you read the release notes: ... | Security assessment: Potential Risk ... | Windows Security Updates: 1 service packs or update rollups are missing. ... | Definition Update 1.14.1940.2 for Windows Defender Error Code: ...
    (microsoft.public.windowsupdate)
  • Re: problem is preventing windows from accurately checking the license
    ... As for the error code, 0x80004005 is a warning, not an error code ... Also tried to do a fresh install and a repair install. ... >This is definitely not a hardware problem as Acer aspire systems also ...
    (alt.os.windows-xp)
  • Unable to compile anything from ports
    ... I then intended to install a number of packages from ports, ... checking size of int... ... *** Error code 1 ... Please submit a full bug report, ...
    (freebsd-questions)
  • Re: portupgrade -R problems
    ... # portupgrade -R hplip ... You may wish to ``make deinstall'' and install this port again ... *** Error code 1 ... As far as I can see, this problem is related to the first one.The package hplip depends on a more recent version of cups-client than the one you've currently installed. ...
    (freebsd-questions)