Warren Krahenbil wkrahenbil at
Mon Apr 19 11:35:12 PDT 2004

I recently started to get the below noted error on my FreeBSD server. I looked all over for a fix and posted on a help forum to try and figure it out with no luck. I've also attached a copy of my make.conf file and a list of the packages I have. Being fairly new to FreeBSD I didn't know what it meant by "environment", but below is the output from uname -a.

FreeBSD 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Sun Oct  5 18:39:42 PDT 2003     warren at  i386


www# portsdb -Uu
Updating the ports index ... Generating INDEX.tmp - please wait..===> archivers/ failed:
"/usr/ports/Mk/", line 180: warning: String comparison operator shoul
d be either == or !=
"/usr/ports/Mk/", line 180: Malformed conditional ((${OSVERSION} >= 5
"/usr/ports/Mk/", line 180: Missing dependency operator
"/usr/ports/Mk/", line 182: warning: String comparison operator shoul
d be either == or !=
"/usr/ports/Mk/", line 182: Malformed conditional ((${OSVERSION} >= 4
"/usr/ports/Mk/", line 182: Missing dependency operator
"/usr/ports/Mk/", line 1182: if-less endif
"/usr/ports/Mk/", line 1182: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1
1 error

Before reporting this error, verify that you are running a supported
version of FreeBSD (see and that you
have a complete and up-to-date ports collection.  If so, then report
the failure to ports at together with relevant details of
your ports configuration (including FreeBSD version, environment and
/etc/make.conf settings).

*** Error code 1

Stop in /usr/ports.
*** Error code 1

Stop in /usr/ports.
failed to generate INDEX!
portsdb: index generation error


-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.conf
Type: application/octet-stream
Size: 804 bytes
Desc: not available
Url :
-------------- next part --------------
www# pkg_info
apache-2.0.49       Version 2 of the extremely popular Apache http server
apcupsd-3.10.11_3   A daemon for controlling APC UPS
autoconf-2.13.000227_5 Automatically configure source code on many Un*x platforms
autoconf-2.53_1     Automatically configure source code on many Un*x platforms
automake-1.4.5_9    GNU Standards-compliant Makefile generator (legacy version
bison-1.75_2        A parser generator from FSF, (mostly) compatible with Yacc
cups-base-  The Common UNIX Printing System: headers, libs, & daemons
cvsup-without-gui-16.1h General network file distribution system optimized for CVS
ddclient-3.6.3      Update dynamic DNS entries
expat-1.95.7        XML 1.0 parser written in C
gettext-0.13.1_1    GNU gettext package
gmake-3.80_2        GNU version of 'make' utility
help2man-1.33.1     Automatically generating simple manual pages from program o
jpeg-6b_2           IJG's jpeg compression utilities
libiconv-1.9.1_3    A character set conversion library
libtool-1.3.5_2     Generic shared library support script (version 1.3)
libtool-1.4.3_3     Generic shared library support script (version 1.4)
linux_base-7.1_7    The base set of packages needed in Linux mode
logcheck-1.1.1_4    Auditing tool for system logs on Unix boxes
m4-1.4_1            GNU m4
mod_php4-4.3.6,1    PHP Apache Module
mysql-client-4.0.18_1 Multithreaded SQL database (client)
mysql-server-4.0.18_1 Multithreaded SQL database (server)
openssh-portable-3.8p1 The portable version of OpenBSD's OpenSSH
p5-Authen-PAM-0.14  A Perl interface to the PAM library
p5-Authen-SASL-2.07 Perl5 module for SASL authentication
p5-DBD-mysql-2.9003 MySQL driver for the Perl5 Database Interface (DBI)
p5-DBI-1.42         The perl5 Database Interface.  Required for DBD::* modules
p5-Digest-1.05_1    Modules that calculate message digests
p5-Digest-MD5-2.33  Perl5 interface to the MD5 algorithm
p5-HTML-Parser-3.35 Perl5 module for parse HTML tag
p5-HTML-Tagset-3.03 Some useful data table in parsing HTML
p5-MIME-Base64-3.01 Perl5 module for Base64 and Quoted-Printable encodings
p5-Net-1.18,1       Perl5 modules to access and use network protocols
p5-Net-SSLeay-1.23  Perl5 interface to SSL
p5-URI-1.30         Perl5 interface to Uniform Resource Identifier (URI) refere
p5-gettext-1.01_4   Message handling functions
p5-libwww-5.76      Perl5 library for WWW access
perl-5.6.1_15       Practical Extraction and Report Language
perl-5.8.2_5        Practical Extraction and Report Language
png-1.2.5_3         Library for manipulating PNG images
popt-1.6.4_2        A getopt(3) like library with a number of enhancements, fro
portupgrade-20040325_1 FreeBSD ports/packages administration and management tool s
rpm-3.0.6_9         The Red Hat Package Manager
ruby- An object-oriented interpreted scripting language
ruby-1.8.1_2        An object-oriented interpreted scripting language
ruby-bdb1-0.2.1     Ruby interface to Berkeley DB revision 1.8x with full featu
ruby-shim-ruby18-1.8.1.p3 A set of Ruby modules to provide Ruby 1.8 functionalities
ruby18-bdb1-0.2.2   Ruby interface to Berkeley DB revision 1.8x with full featu
samba-2.2.8a_2      A free SMB and CIFS client and server for UNIX
squirrelmail-1.4.2_1 A webmail system which accesses mail over IMAP
tiff-3.6.1_1        Tools and library routines for working with TIFF images
vsftpd-1.2.1_3      A FTP daemon that aims to be "very secure"
webmin-1.140_1      Web-based interface for system administration for Unix

More information about the freebsd-ports mailing list