Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jun 1999 20:40:27 -0500 (CDT)
From:      Steve Price <sprice@hiwaay.net>
To:        Jeff Wheat <jeff@cetlink.net>
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: Alpha port Questions
Message-ID:  <Pine.OSF.4.10.9906212021350.28278-100000@fly.HiWAAY.net>
In-Reply-To: <XFMail.990621111256.jeff@cetlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 21 Jun 1999, Jeff Wheat wrote:

# Good day everyone,
# 
#         I have a few questions regarding FreeBSD-3.2 for the alpha
# platform. I have the system installed and running just fine. My problem
# however is with the ports collections. I am running FreeBSD on a Dec
# AlphaStation 250 4/266. When I attempt to build most things in the
# ports collection by typing "make" in a port directory, configure will
# do something to the tune of "alpha--FreeBSD" when configure tries to
# guess the system type. Going directly into the port work directory
# and running configure by hand usually will return "alpha-unknown-FreeBSD".
# The TCSH port and package both return the following:

This is because is build from the port's Makefile, bsd.port.mk
forces the target host to alpha--freebsd4.0.  When left to its own
accord the ./configure script will find it can't determine the
vendor and replaces it with unknown instead of leaving it blank.
It is completely harmless. :)

# alpha # set
# version tcsh 6.08.00 (Astron) 1998-10-02 (i386-unknown-FreeBSD) options 8b,nls,d
# l,al,sm,rh,color
# alpha# file /usr/local/bin/tcsh
# /usr/local/bin/tcsh: ELF 64-bit LSB executable, Alpha, version 1 (FreeBSD), stri
# pped
# 
# This is of course very wrong... Are there any fixes or work arounds for this?

There wasn't until now. :-)  Add the following as patch-ad and
try it again.

----- cut here 8<--------------------------------------------------
--- host.defs.orig	Mon Jun 21 20:11:51 1999
+++ host.defs	Mon Jun 21 20:14:16 1999
@@ -494,10 +494,12 @@
 
 newdef	: defined(__FreeBSD__) 
 comment	: FreeBSD
+vendor	: defined(__alpha)				: "digital"
 vendor	: defined(M_intel)				: "intel"
 hosttype:						: "FreeBSD"
 ostype	:						: "FreeBSD"
-machtype:						: "i386"
+machtype: defined(__alpha)				: "alpha"
+machtype: defined(M_i386)				: "i386"
 enddef	:
 
 
----- cut here 8<--------------------------------------------------

BTW, thanks for catching this.  The Alpha ports collection is still
in its infancy.  My first build only about a month ago had a meager
1200 out of 2400 possible ports represented.  With the last build I
was able to get this number up to 1820 or so.  There are still quite
a few (~600) that are just plain broken and no doubt also quite a
few of the 1820 that run but have minor nits to fix.  This turned
out to be one of the latter.

Anyone else that has noticed problems, has patches, or would like
to lend a hand, please let me know. ;)

Thanks.

-steve

# Many thanks in advance... Please reply directly to me as I am not yet subscribed
# to any of these lists.
# 
# Best regards,
# Jeff



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.10.9906212021350.28278-100000>