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 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. -- /"\ 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! ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
