> From [EMAIL PROTECTED] Sun Mar 31 23:59:53 2002
> From: Bernd Felsche <[EMAIL PROTECTED]>
> Subject: Re: LPRng: Build problems LPRng 3.8.9 on Solaris 2.6 - all segfault
> To: [EMAIL PROTECTED]
> Date: Mon, 1 Apr 2002 14:57:10 +0800 (WST)
>
> Patrick Powell tapped away at the keyboard with:
> >> From: Bernd Felsche <[EMAIL PROTECTED]>
> >> Patrick Powell tapped away at the keyboard with:
> >>>> From: Bernd Felsche <[EMAIL PROTECTED]>
>
> >>>> I'm wondering if anybody else has had problems building LPRng 3.8.9
> >>>> on Solaris 2.6 with segmentation faults.
> >>>>
> >>>> I'm using gcc 2.95 with everything appearing to make successfully.
> >>>> Unfortunately, every compiled program (even checkit) produces a
> >>>> segmentation fault very early on, shorly after opening the locale
> >>>> and /dev/zero according to truss.  So it appears to be very early
> >>>> in execution, possibly before main() Where to now?
>
> [snip]
>
> >>> Can you get a core dump of this? 
> >>> 
> >>> a)  chmod 755 the (for the sake of argument) checkit
> >>> b)  run checkit AS A USER, it should core dump in the current directory
> >>> c)  run gdb and find out where it dies
>
> >> yep... it core dumps  -- about 200kb. You want one?
>
> > OK, then do the following:
> > 
> > cd /...LPRng/src/
> > 
> > checkpc  ... get core dump
> > 
> > gdb check checkpc.core
>
> >>>  where
>
> > And this will produce a stack trace telling where the
> > cause of hte problem was.
> > 
> > Can you send me the stack trace?
>
> No more.... I logged back in again this a.m. and rebuilt it very,
> very carefully. It appears to be built correctly now.
>
> Changes made were
>   Solaris patched with all recommended patches
>   gcc2.9.3 re-compiled with gcc2.8.1 (initially)
>   PATH set to put the newly-built gcc in front; EXCLUDED /usr/ucb

^^^^^^^^^^^^^^ umm... this may cause problems if you do not use
^^^^^^^^^^^^^^ the ranlib stuff.  I try hard but I ran into problems
^^^^^^^^^^^^^^ if the libraries are not processed by Solaris ranlib

>   Library path set in env to include the one for gcc
>   In LPRng root dir;
>   ./configure --prefix=/usr --sysconfdir=/etc --disable-setuid
>   make all
>   make install (as root)
>
> After that, it worked. Well, it runs. I have some configuration
> issues to solve which are a bit difficult as the printer and system
> is 60km away. It'll also give me a chance to use LPRngTool.
>
> Sorry I can't send you a core dump any more; I just kept plugging
> away, eliminating possible problem sources while I was waiting for a
> reply.
>
> BTW: There's no "ljet2" device in Ghostscript as referenced by ifhp.

Where is this referenced?  I will fix it.

>
> -- 
> /"\ Bernd Felsche - Innovative Reckoning, Perth, Western Australia
> \ /  ASCII ribbon campaign | I'm a .signature virus!
>  X   against HTML mail     | Copy me into your ~/.signature
> / \  and postings          | to help me spread!

Have you considered posting this to the Journal of Irreproducible Results?

The 'Backout Effect of the Austrailian Outback' as a working title
sounds interesting.

Patrick ("Aussie jokes?  Hell no.  The Kiwis take care of that
   quite well.  So far there have been no major injuries in the
   lab, but we are watching the developments with great interest.") Powell

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to