🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5164

Re: Can't install nn on alpha

#5164
From: Sebastian Meyer
Date: Thu, 09 Dec 1993 15:18
85 lines
3891 bytes
marti@spot.Colorado.EDU (Al Marti) writes:
>In article <2dmcp6$aoc@huon.itd.adelaide.edu.au>,
>Mark Ferraretto <mferrare@physics.adelaide.edu.au> wrote:
>>Alpha running OSF/1 1.3.
>>
>>the news files are nfs mounted from a DEC 5000/120 running ultrix.
>>It compiles and installs OK.  I go to run it and...
>>
>>alpha:nn-6.4.18% nn
>>DATABASE LOCKED.
>>e
>>alpha:nn-6.4.18% 
>>
>>I know it's not because I can access it from other machines.

>this is a 32bit/64bit architecture problem.  you can not share the nn
>threads database between the two types.  this is one reason we are
>moving to the nov database version of nn.  although it is still in beta
>test.

Oops, I don't think you're right here. You have to tell nn that the Alpha
is NOT NETWORK_BYTE_ORDER. That's all, I think.
 Here are two config files, m-decaxp.h and s-decosf.h, again. I got 
positive feedback, only, after posting them the first time.

Please report any problems!

sebastian

>=========== m-decaxp.h ==============
/******* Machine (and compiler) dependent definitions. *********
 *
 *      This is the nn conf file:       m-decaxp.h
 *      For Digital Equipment Corp.:    Alpha AXP computers
 *
 *      Created by:     Donald S. Teiser        09/21/93
 *                      System Programmer
 *                      University of Louisville
 *                      Louisville, KY, USA  40292
 *                      dsteis01@homer.louisville.edu
 ***************************************************************/
/*      MACHINE TYPE    DEFINED TYPE            VALUE RANGE    */

typedef unsigned char   int8;           /*        0 ..     255 */
typedef short int       int16;          /*  -10,000 ..  10,000 */
typedef int             int32;          /* -100,000 .. 100,000 */
typedef unsigned int    uint32;         /*        0 ..  2^31-1 */

/* Here comes Sebastian Meyer's code: meyer@sirius.physik.fu-berlin.de */

#ifdef NETWORK_DATABASE
#ifndef NETWORK_BYTE_ORDER
/*
 * Alpha is NOT network-byte-order
 */
#include <netinet/in.h>
/*
 * This one includes <machine/endian.h>
 * which has the #defines for  ntohl(x) and htonl(x)
 */
#endif  /* not NETWORK BYTE ORDER */
#endif  /* NETWORK DATABASE */
/*********** end of the file: m-decaxp.h ****************/

============== s-decosf.h =================
/*********** Operating system dependent definitions. ***********
 *
 *      This is the nn conf file:       s-decosf.h
 *      For Digital Equipment Corp.:    OSF/1 version 1.3
 *
 * Created by Sebastian Meyer <meyer@sirius.physik.fu-berlin.de>,
 * according to Klas Mellbourn <kam@vanosf.physto.se>
 ***************************************************************/

#include "s-sys5-tcap.h"

#define EXTRA_LIB -lbsd

/*********** end of the file: s-decosf.h ****************/

--
    __o     Sebastian Meyer  Tel: 030/838-5181| FU Berlin, Physik
  _ \<,_    meyer@sirius.physik.fu-berlin.de  | Arnimallee 14   [Raum 1.3.35]
 (_)/ (_)   bastel@zaphod.physik.fu-berlin.de | D-14195 Berlin
~~~~~~~~~~ "To err is human, to really foul things up requires a computer"
Technical Details
Message-ID: <JIXJBAPU@math.fu-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!xlink.net!zib-berlin.de!math.fu-berlin.de!sirius.physik.fu-berlin.de!meyer
References: <2dmcp6$aoc@huon.itd.adelaide.edu.au> <CHGuw6.4Gw@cnsnews.Colorado.EDU>

Show Full Headers
Complete Article Headers
Message-ID: <JIXJBAPU@math.fu-berlin.de>
Subject: Re: Can't install nn on alpha
Date: Thu, 9 Dec 1993 15:18:35 GMT
From: meyer@sirius.physik.fu-berlin.de (Sebastian Meyer)
References: <2dmcp6$aoc@huon.itd.adelaide.edu.au> <CHGuw6.4Gw@cnsnews.Colorado.EDU>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!xlink.net!zib-berlin.de!math.fu-berlin.de!sirius.physik.fu-berlin.de!meyer
Newsgroups: news.software.nn
Sender: news@math.fu-berlin.de (Math Department)
Nntp-Posting-Host: sirius.physik.fu-berlin.de
Organization: Free University of Berlin, Germany
Lines: 85