HDTenEightyP/NetNews huggingface dataset:
From: eswgcs%v8.decnet@v7.vitro.com
Subject: Problem installing gcc-2.1
Summary: Error installing gcc related to missing library.
Organization: Vitro Corporation
Date: Tue, 29 Dec 1992 20:26:05 GMT

I am having problems installing GNU gcc V. 2.1

When I say 

	make LANGUAGES=c

I get the error message

	ld: undefined symbol
	   _dlopen
           _dlclose
           _dlsym
        *** Error code 2

There is a message in the README.X11 file from GNU about this problem.  It says
to compile and link against MIT's dlsym.c.  Could someone please give me more
information on exactly what is required here!!??

Thanks,
   Chuck Stump









                    
Newsgroups: comp.sys.sun.admin
From: bdecker@e-sys.com (Brian D. Decker)
Subject: Re: How Xterm can use more fonts?
Reply-To: bdecker@e-sys.com
Organization: E-Systems,University Center
Date: Mon, 21 Dec 1992 15:38:07 GMT

In article 724618302@meishan.animal.uiuc.edu, ignacij@meishan.animal.uiuc.edu (Ignacy Misztal) writes:

>Xterm on our SS2 running SunOs 4.1.1b and OW3 does not set large fonts.
>Pressing Ctrl-right_button shows :
>Vt founts (no app defaults)
>and no usual selection of small, medium, large etc. fonts. How Xterm 
>defaults for fonts can be set?
>----------------------------------------------------------------------
>Ignacy Misztal			E-mail: ignacy@uiuc.edu
>University of Illinois		Phone: (217) 244-3164
>1207 W. Gregory Dr.
>Urbana, IL 61801
>----------------------------------------------------------------------

Try adding the following to your .Xdefaults file in your home directory:

xterm*font:          Screen-Bold-14
xterm*font1*Label:   Screen-12
xterm*font1:         Screen-12
xterm*font2*Label:   Screen-14
xterm*font2:         Screen-14
xterm*font3*Label:   Screen-16
xterm*font3:         Screen-16
xterm*font4*Label:   12x24
xterm*font4:         12x24
xterm*font5*Label:   Screen-Bold-18
xterm*font5:         Screen-Bold-18
xterm*font6*Label:   Screen-Bold-20
xterm*font6:         Screen-Bold-20


"I am not a number, I am a FREE MAN!" - Number 6
+===================================+=========================================+
+ Brian D. Decker                   +  INTERNET: bdecker@e-sys.com            +
+ E-Systems-UC, Ashburn, VA, USA    +  VOICE:    (703) 729-6000 x3658         +
+===================================+=========================================+

Newsgroups: comp.sys.sun.admin
From: jdc@coral.uucp (James D. Corder)
Subject: Re: Can't login as single user
Keywords: sun
Organization: M.I.S. Department of Coral Systems
Date: Thu, 31 Dec 1992 05:32:35 GMT

In article <1992Dec30.163908.1495@lynx.dac.northeastern.edu> efroyman@lynx.dac.northeastern.edu (Ella Froyman) writes:
>
>Hi netters;
>
>I can't login to my sun sparc 2 running 4.1.2 when i type boot -s
>Its asking for a password.

	It is asking you for the root password.

How do i disable this? or how do i fix it?

	It is not broken.  Your sysadm has changed the /etc/ttytab entry
for the console from secure to unsecure.  An unsecure console entry will
not allow root to use the console.  Therefore, boot -s will require a password.

>I have forgotten the passwd.

	If you are the sysadm, and you have forgotten the root password:
boot from cdrom, then mount your root partition and change the password
entry file.  WARNING, an employee here [who was not in the MIS department]
tried this, he is no longer an employee here:-(

Good luck,
James D. Corder
coral!jdc@zaphod.mps.ohio-state.edu
Newsgroups: comp.sys.sun.admin
From: paulr@umbc4.umbc.edu (Paul Riddle)
Subject: Re: DNS - Please help.
Organization: Univ. of MD, Baltimore County
Date: Thu, 24 Dec 1992 16:18:03 GMT

In article <u#91Hu4$kb@atlantis.psu.edu> barr@pop.psu.edu (David Barr) writes:
>In article <ellis.725110065@nova> ellis@nova.gmi.edu (Stew Ellis) writes:
>
>>Another unusual
>>feature of Sun's DNS is that you have to have /etc/resolv.conf on your
>>primary DNS server, as well as on all of the clients.
>
>How is this unusual?  This is how BIND 4.8.3 behaves as well.

The way I understand it, under Sun's NIS/DNS scheme (4.1.1 at least)
only the NIS servers call the resolver routines, and therefore only
the NIS servers need a resolv.conf file.  If the NIS server doesn't
find what it's looking for in the hosts maps, it calls the resolver.
So, the client just does a NIS lookup and doesn't bother with DNS.

>>Finally, the above resolve.conf line has no place on a stock Sun
>>installation.  It might be part of resolv+, but if someone has hacked
>>resolv+ into your site, then you may be on your own getting all of the
>>pieces of NIS and DNS to hang together properly.  I have the stock Sun stuff
>>working just fine.
>
>You're confusing resolv+'s host.conf file and resolv.conf.  The host.conf
>file specifies the resolv order (hosts file, BIND, or NIS), while the
>resolv.conf file specifies _who_ to contact in order.

One of the things that has always irked me about SunOS is that there
is no easy way to specify the resolv order.  The NIS/DNS method is a
nice idea in principle, but you can't always use it...  For example,
if you have a heterogeneous network and not all of your NIS servers
support this behavior.  Ultrix's ypserv comes to mind here.

In the past I got around this one by building customized shared
libraries that use the resolver routines instead of the NIS routines,
but this is only a partial solution and it has its problems too.

Paul
-- 
If found, please return to:         |
Paul Riddle                         | paulr@umbc3.umbc.edu
UMBC, Academic Computing Services   |
Baltimore, MD 21228                 | (410) 455-3860
Xref: sparky comp.sys.sun.admin:9630 alt.sys.sun:3520 comp.windows.x:20430
From: ricky@FibHaifa.com (Ricardo <Ricky> Marek)
Newsgroups: comp.sys.sun.admin,alt.sys.sun,comp.windows.x
Subject: Xterminals and DNS question..
Date: 20 Dec 92 11:52:49 GMT
Reply-To: ricky@FibHaifa.com
Followup-To: comp.sys.sun.admin
Organization: Fibronics ltd., Haifa - ISRAEL
Originator: ricky@vivaldi


Hi Neters:

How can I make the X-terminals recognice names in place of IP numbers
as host-names, without running DNS (Domain Name Services or BIND)?..

The stage:
   - Dozens of NCD Xterminals (17c and 19), booting from a 
     SPARCStation 4/40 (IPC) called `vivaldi'.
   - We **don't** use DNS but NIS (Yellow Pages..).

In the past these Xterminals recogniced names in place of IP addresses,
`vivaldi' was a NIS Master server for it's own domain (called `facs') and we
didn't use DNS.

When `vivaldi' has become a Slave NIS server for other domain (`fibronics')
and `facs' domain was removed.. the Xterminals didn't want to recognice names..

Any hint?...

Please reply via e-mail..  Thanks

______             _                 __    __
| __  \           | |   _           /  \  /  \   
| |_| |     ____  | | / /          /    \/    \  
|  ___/ _  | ___| | |/ / _   _    /  /\    /\  \ 
| |\ \ | | | |__  | |\ \ \ \/ /  / Ricky Marek (System Manager)
|_| \_\|_| |____| |_| \_\ \  /  / e-mail: ricky@FibHaifa.com
__________________________/ /  / phones: +972-4-313690
|__________________________/  / fax: +972-4-550668 \
Fibronics Ltd., Matam Industrial Park, Haifa 31905, ISRAEL
                            /__/                  \__\

-- 
Newsgroups: comp.sys.sun.admin
From: randyb@boi.hp.com (randy barbour)
Subject: Disk Drive Benchmark Testing !!!
Date: Mon, 21 Dec 1992 20:53:38 GMT
Organization: Hewlett-Packard / Boise, Idaho
X-Newsreader: TIN [version 1.1.4 PL6]


Topic: Disk Drive Benchmark Testing

 Is anyone aware of a "unix" based benchmark test,( preferably used
by SUN, but doesn't have to be ) used to evaluate disk drives?
Hopefully it will contain some recognizable performance marks that
are somewhat industry standard. It could be based on any "shell" and
could be a script or program. It doesn't matter, I'm just out for any
information I can find, all feedback welcome.


                                   Thank you,

                                   randyb@boi.hp.com
From: fitz@frc.ri.cmu.edu (Kerien Fitzpatrick)
Newsgroups: comp.sys.sun.admin
Subject: Re: Using rdist instead of NIS/YP?
Date: 31 Dec 92 18:01:17 GMT
Article-I.D.: cs.C04y26.8G0.2
Reply-To: fitz@frc.ri.cmu.edu
Organization: Field Robotics Center, Carnegie Mellon University

I use rdist extensively to set up new machines.  Pushing current files
for printcaps, links, setting up /home/* all work very well.  Very 
useful for motd.  I also use it less extensively to maintain machines
(but it still gets a fair amount of use).  I would really like to see
the command line option of -d fixed to allow multiple hostnames within
brackets....this doesn't work with rdist shipped with SunOS 4.1.2....only
one hostname is picked up.

---
Kerien Fitzpatrick			Pittsburgh, PA 15213
Field Robotics Center			(412)268-6564
The Robotics Institute			Internet: fitz@frc.ri.cmu.edu
Carnegie Mellon University
From: jpd@ucs.usl.edu (Dugal James P.)
Newsgroups: comp.sys.sun.admin
Subject: Re: SAVE ME FROM RPC.LOCKD
Summary: 100075-09 still flawed
Date: 22 Dec 92 21:07:48 GMT
Organization: Univ. of Southwestern La., Lafayette

In article <GEORGN.92Dec15234115@idcrisis.noweh.com> georgn@noweh.com (Georg S. Nikodym) writes:
>In article <1992Dec8.011935.25011@ibx.com> steve@ibx.com (Steve Giuliano) writes:
>   Sun told me that all my problems would go away with revision 08
>   of the lockd patch.  Wrongo!  Now rev 09 is out. Do I dare?
>
>Yes, dare.  On SPARC machines the latest patches do appear to work
>(again within what is possible with NFS).

Well, I have 100075-09 installed, and I recently tried mandatory locking.
The console of the machine running the process holding the mandatory lock
started screaming repeatedly:
klm_lockmgr: blocking lock denied?!
klm_lockmgr: blocking lock denied?!
klm_lockmgr: blocking lock denied?!

until I killed the process trying to lock the file from another workstation.
Looks like some debugging statements got left in the patch, or perhaps I
have a bug in my test code? (Nahhhh).

By the way, I switched to advisory locks and have had no problems.
-- 
-- James Dugal,	N5KNX		Internet: jpd@usl.edu
Associate Director		Ham packet: n5knx @k5arh (land), UO-22 (sat.)
Computing Center		US Mail: PO Box 42770  Lafayette, LA  70504
University of Southwestern LA.	Tel. 318-231-6417	U.S.A.
Newsgroups: comp.sys.sun.admin,comp.sys.sun.misc
From: M21520@mwvm.mitre.org
Subject: Printing from Sun to Mac LaserWriter
Organization: The MITRE Corporation, McLean VA 22102
Date: Wed, 30 Dec 1992 13:42:50 GMT

Our office has an Ethernet LAN of approximately 60 Macs, 6 Mac LaserWriters, &
one Sun workstation.  We would like to print to the existing LaserWriters from
the Sun.  Being new to the Sun admin world, I am seeking the wisdom of the
net.
 
Can I simply edit the /etc/printcap file with parameters for the LaserWriters?
Do we need special software to do this?  Thanks in advance for any help!
 
Regards,
 
Brian O'Sullivan          m21520@mwvm.mitre.org
MITRE Corp.
Wash. DC                  *standard disclaimers apply*
Newsgroups: comp.sys.sun.admin,comp.sys.sun.hardware
From: steve@eastend.uucp (Steven Roth)
Subject: Re: SPARCclassic and SunOS 4.1.x
Organization: The East End Computer Ensemble
Date: Tue, 29 Dec 1992 13:38:05 GMT

>>From: ppan@nobeltech.se (Per Andersson)
>>Subject: Re: SPARCclassic and SunOS 4.1.x
>>Message-ID: <1992Dec17.172019.6869@nobeltech.se>
>>Organization: NobelTech AB
>>References: <8457@btr.BTR.COM>
>>Date: Thu, 17 Dec 1992 17:20:19 GMT
>>Lines: 19
>>
>>In article <8457@btr.BTR.COM> bfong@btr.btr.com (B Fong) writes:
>>>
>>>Can someone verify (positively) if the SPARCclassic will run SunOS 4.1.x?
>>>
>>>Does anyone know this for sure?  That is, actually installed one?
>>
>>No it won't run 4.1.3. Not only because SUN says so, but it gives a
>>'data exception' when starting the generic 4m kernel after booting off
>>the 4.1.3 CD. It runs the boot program OK though, both from CD and from
>>network.
>>
>>Now 2.1 is on its way onto the disk .....
>>
>>/Per
>>-- 
>>-----------------------------------------------------------------------------
>>Per Andersson - ppan@nobeltech.se (perand@stacken.kth.se on free time)
>>Managing networks at, but not speaking for Nobeltech AB, J{rf{lla, Sweden
>>-----------------------------------------------------------------------------
>
>
>So someone *has* actually tried it...
>
>-- 
>Ken Bibb                "he heard the snow falling faintly through the
>kbibb@qualcomm.com	 universe and faintly falling, like the descent of
>jester@crash.cts.com     their last end, upon all the living and the dead."
>				--"The Dead", James Joyce
>


I'm not sure if he tried the right kernel, though.  The Classic is
a uniprocessor superSPARC.  He should have tried the sun4c kernel
before punting.

Steve Roth
steve@eastend.jpr.com
-- 

_______________________________________________________________________________

Steven Roth, SysOp, Network Node "EastEnd"      Internet: steve@eastend.jpr.com
Newsgroups: comp.sys.sun.admin
From: db@sunbim.be (Danny Backx)
Subject: Re: SPARCclassic and SunOS 4.1.x
Reply-To: db@sunbim.be
Organization: BIM n.v. Everberg Belgium
Date: Tue, 22 Dec 92 07:20:22 GMT

I've waited a long time but I'll bite.
People keep saying ranlib is a part of the Cygnus package. It isn't.
SVR4 doesn't need ranlib.

> nm, ranlib, ar, and friends are in the binunils package.

--
	Danny Backx
	System Engineer

E-Mail: db@sunbim.be    (or uunet!mcsun!ub4b!sunbim!db)

Telephone: +32(2)759.59.25	Fax : +32(2)759.47.95

Postal Mail :
	Danny Backx
	BIM
	Kwikstraat 4
	3078 Everberg
	Belgium

Newsgroups: comp.sys.sun.admin
From: eklein@whsun1.wh.whoi.edu (Edgar Kleindinst)
Subject: :Re FIX for slow rebinding of NIS
Reply-To: eklein@whsun1.wh.whoi.edu
Organization: NOAA - National Marine Fisheries
Date: Wed, 23 Dec 92 20:30:57 GMT

I tried the fix for slow rebinding of NIS found here recently and it indeed cuts
rebinding time. This required replacing the clnt_udp.o with the Sun patch version 
(and applying a fix to that patch) and then building a new libc.so.x.x.x file.
 
The only problem I've found is when I compile a program using 
either gnu or cc I get this error

ld: Undefined symbol
   __mbstowcs_xccs
   __mbtowc_xccs
   __wcstombs_xccs
   __wctomb_xccs
collect: /usr/bin/ld returned 2 exit status

The compiled program runs although (when used) make gives a message that it has failed. 

Any ideas? I am wary of changing all our Suns over with this error message.

Oh yea... Sun Sparc IPC, SunOS 4.1.3

Merry Christmas
---
                                      )
                                  0  /    
          o<   o<     \__________(__/_______________/	
         ~0   ~0	 ----------/--------------	  
	   "Paddle faster, those ducks aren't real!"
	   	  eklein@whsun1.wh.whoi.edu

Newsgroups: comp.sys.sun.admin
From: brs@cs.brown.edu (Brian Stormont)
Subject: Sun 3-50 or 3-60 Keyboard issues
Organization: Dept. of Computer Science, Brown University
Distribution: comp
Date: Wed, 23 Dec 1992 14:39:07 GMT


Two questions about using sun 3 workstations.

1) I've setup many 3-50 and 3-60 workstations as xterminals using the 
suggestion of configuring as a diskless workstation that only runs X. However
no matter what version of X I run (V4 or V5) I can never seem to get the num-
lock key to function properly. It works if I hold it down (like a shift key)
but it won't stay lit (like caps-lock).   
  Has anyone gotten this num-lock to work?    I'm using a type 4 keyboard.

2) Are there any PC style keyboards available to work with the 3-50 or 3-60?
From the Sun Express catalog, I noticed the Type 5 keyboard is claimed to
not work with sun3s.


Thanks,

Brian
From: per@erix.ericsson.se (Per Hedeland)
Newsgroups: comp.sys.sun.admin
Subject: Re: Looking for resolv.conf related patch
Date: 30 Dec 92 17:19:50 GMT
Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden
Nntp-Posting-User: per

In article <1992Dec30.151058.4678@clark.dgim.doc.ca> don@mars.dgrc.doc.ca (Donald McLachlan) writes:
>I seem to remember hearing there is a patch for SunOS, so it will check multiple
>nameserver entries in /etc/resolv.conf before giving up.
>
>Unfortunatly I didn't save this info, and I cannot find it again now.  Nor can
>I locate the appropriate patch in the INDEX I have found.
>
>Does anyone know the number of this patch?

Yes, it's 100465-01, and incidentally was mentioned in the "enhanced"
README for building a new shared libc I posted to this group the other
day (Message-ID <1992Dec28.144904.11625@eua.ericsson.se>) - it consists
of a new res_send.o module for libresolv.a.

Unfortunately it is of little use for other purposes than building and
using a libc for DNS, since the only programs distributed with SunOS
that use res_send.o, sendmail.mx and ypserv, are statically linked wrt
to this library (of course - there is no libresolv.so.*).

N.B. though that there is only one case where the resolver "gives up" as
described above - when the *host* in question is up, but the name server
isn't running on it - or more precisely, when a connection attempt
results in "connection refused" (as opposed to e.g. a timeout). Of
course, this is bad enough...

--Per Hedeland
per@erix.ericsson.se  or
per%erix.ericsson.se@sunic.sunet.se  or
...uunet!erix.ericsson.se!per
Newsgroups: comp.sys.sun.admin
From: mills@ccu.umanitoba.ca (Gary Mills)
Subject: Re: DNS/NIS Mail Fiasco
Organization: University of Manitoba, Winnipeg, Canada
Date: Sun, 3 Jan 1993 02:09:18 GMT

In <1993Jan2.161122.1@cudnvr.denver.colorado.edu> sasurguine@cudnvr.denver.colorado.edu writes:

[He enabled B=-b in /var/yp/Makefile]
>My first question is does this entry need to be made on the Slave server as
>well?  This does not make sense to me: After all all maps are made on the
>Master Server right?

Right.  There should not even be a Makefile on the slaves.

>My Next question concerns what has inspired me to post :-)   

[Lots of sendmail problems]

>nslookup runs fine on all machines ...

That would indicate that you have /etc/resolv.conf set up correctly on
the NIS servers.

>This is my first exposure to really setting up DNS so I am a little confused!!

You can check that NIS is doing DNS lookups by trying something
like ``ypmatch uunet.uu.net hosts'', where uunet.uu.net should not
be in your hosts map.
-- 
-Gary Mills-         -Networking Group-          -U of M Computer Services-
Newsgroups: comp.sys.sun.admin
From: kwan@netcom.com (Kwan-Seng Low)
Subject: Re: SunPro/Tech software licensing...
Keywords: sunc++3.0.1, Sunc2.0, sparcworks, licensing
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
Date: Wed, 23 Dec 1992 19:36:39 GMT

In article <153@spectro.UUCP> jsmith@spectro.UUCP (Jerry Smith) writes:
>
>SunPro, like many commercial software vendors, uses a canned license
>manager.  The approach used by many license managers appears to have
>been designed to be more complicated than necessary--complication
>implies sophistication, i.e., you're getting a lot for your money.
>
>Every time the license manager issue comes up, someone eventually
>takes shots at license managers in general, as opposed to poorly
>designed license managers.  If the license manager is complicated
>and requires a 50-page manual to describe its installation, users
>should simply refuse to buy the product.  Some commercial developers,
>including my company, strive to design simple-to-use license managers
>that impose the absolute minimal hassles on our users.  For example,
>our node-locked version simply requires that you specify your
>password as an X resource:
>
><application>*password:  ABCDEFGHIJ
>
>For our license server version, the license manager accepts the
>password as a command-line option:
>
><license-manager-daemon> ABCDEFGHIJ
>
>The license manager is flexible enough to be started by the
>superuser as a daemon in an RC-style file, or as a background
>process.  There is no *real* need for license managers to require
>various levels of indirection via numerous files simply to specify
>a password.
>
>It's frustrating when all commercial vendors are lumped into one
>category by some users.  If users provide the pressure, vendors will
>simplify their complicated user interfaces to their license managers.
>
>Jerry Smith
>Iris Computing Laboratories
>The Spectro Group, Inc.
>Phone:  +1-505-988-2670
>Fax:    +1-505-988-2489
>Email:  jsmith@spectro.com

I couldn't agreed more....
Basically is the maintenance and installation aspect of the license manager
that I've problem with. If the license server being moved to another machine
or we just upgrade it to a newer machine. I need to call up the Sun license
password center again (I refer to SunPro software in this case), and go thru. 
the process of re-obtaining the password again. (password is generated from 
hostid and hostname). Also, I need to have the proof of purchase cetificate
handy in order to obtain the password. Most likely, a piece of paper that 
someone or I received several months or years ago might not be available to me.
Imagine I have more than a few of this "licensed" software, I might just need 
a full time license manager to do this!! I`ve enough things on my hand as a
sys. admin....

Kwan
From: jhazen@cam.nist.gov (Jonathan Hazen)
Newsgroups: comp.sys.sun.admin
Subject: Re: deciphering printcap fc,fs,xc,xs fields
Date: 28 Dec 92 19:42:45 GMT
Organization: National Institute of Standards and Technology, Gaithersburg, MD

Having read the printcap, ttcompat, and termio manual pages I'm still
quite confused about how to decipher the following fields from my 
printcap file:

     fc#0000374:fs#00000003:xc#0:xs#0040040:

I need to translate these magic numbers into an equivalent ms field.

My first thought was to simply forget about these magic numbers 
and use ms instead.   To figure out what to use for the ms field, I
experimented by sending a postscript file directly out the serial port.
The following worked perfectly:

    (stty -parity crtscts; cat root.ps ) > /dev/ttya

I was able to observe flow control in action
on my breakout box and the entire postscript file printed correctly.

However, when I used the above stty values as the values for the ms
field in /etc/printcap, nothing printed, and after a while lpq reported
a printer error.  

Watching the breakout box,
I saw that a dialog takes place between the Sun and the PostScript printer.
I compared the dialog that takes place when I use the magic numbers fields
with the dialog that takes place when I use the ms field.

When I use the magic numbers, the Sun sends something, a second or so
later the printer sends something back, then transmission of the job 
commences.  When I use ms=-parity,crtscts, the Sun sends something, a second or
so later the printer sends something back but the job doesn't then commence
transmission.  

Thus, my hypothesis is that I need to include some stty input option in
the ms field so that the Sun can understand the reponse from the printer.

The options I've tried are:  igncr, and -istrip.  Neither of these in any
combination work.  Sun suggested that I try -cread and -clocal.  I'm not
completely clear what these options do, but they didn't work. 

I figure I could spend a long time guessing at what input options are necessary.
However, clearly the magic numbers configure the port so that this initial
dialog works.  Thus, if someone can tell me how to map the magic numbers 
into the equivalent ms field, I should be able to spare myself a great deal of trouble.

Below is the actual dialog that occurs.  As you can see, the
printer sends back a response with lines separated by CRLF, which is what made
me try the igncr option.

I sure would appreciate some help, because I'm stumped.

Thanks,
Jonathan


I connected a data communications monitor between the Sun and the printer
and captured the dialog.  The Sun sends:

     LF(%%[ pagecount: )print statusdict/pagecount get exec(                )
     cvs print(, 2398 1 ]%%)=flushLFET

To which the printer replies:

     %%[ pagecount: 10132, 2398 1 ]%%CRLFET

(I've used LF for line feed, CR for carriage return and ET for end of
transmission.)