Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Error making lprng

  1. #1
    Join Date
    Oct 2012
    Location
    India
    Posts
    332

    Default Error making lprng

    Hi everyone,

    i am using openSUSE 12.3 and I am trying to install LPRng but when I try to install Compilation completes successfully and executing "make" gives segmentation fault.

  2. #2
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: Error making lprng

    Quote Originally Posted by nishanth9042 View Post
    i am using openSUSE 12.3 and I am trying to install LPRng but when I try to install Compilation completes successfully and executing "make" gives segmentation fault.
    That's little information to go by. Can you be more specific than "segmentation fault?" Is that all it's telling you? The compiler should make a reference to the source of the fault. Otherwise, be sure and read the README and INSTALL files carefully. That might give you a clue.

  3. #3
    Join Date
    Oct 2012
    Location
    India
    Posts
    332

    Default Re: Error making lprng

    Quote Originally Posted by chief_sealth View Post
    That's little information to go by. Can you be more specific than "segmentation fault?" Is that all it's telling you? The compiler should make a reference to the source of the fault. Otherwise, be sure and read the README and INSTALL files carefully. That might give you a clue.
    Yeah it gives only "segmentation fault" .I couldn't find anything special in the install file

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,713
    Blog Entries
    1

    Default Re: Error making lprng

    Quote Originally Posted by nishanth9042 View Post
    Yeah it gives only "segmentation fault" .I couldn't find anything special in the install file
    I don't have solution to this, but in the interest of helping, I downloaded LPRng-3.8.35.tgz and attempted to compile as you did, with the same results. I found this ArchLiunx thread (for ARM) which reported the same issue, and used the GNU debugger utility (gdb) to shed some light on the issue, but no definitive solution unfortunately.

  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,713
    Blog Entries
    1

    Default Re: Error making lprng

    I note that 3.8.28 version (32-bit and 64-bit) RPMs are available from here:

    RPM Search lprng[]=46

    Maybe that will suffice?

  6. #6
    Join Date
    Oct 2012
    Location
    India
    Posts
    332

    Default Re: Error making lprng

    Quote Originally Posted by deano_ferrari View Post
    I don't have solution to this, but in the interest of helping, I downloaded LPRng-3.8.35.tgz and attempted to compile as you did, with the same results. I found this ArchLiunx thread (for ARM) which reported the same issue, and used the GNU debugger utility (gdb) to shed some light on the issue, but no definitive solution unfortunately.
    that didn't help

  7. #7
    Join Date
    Oct 2012
    Location
    India
    Posts
    332

    Default Re: Error making lprng

    Quote Originally Posted by deano_ferrari View Post
    I note that 3.8.28 version (32-bit and 64-bit) RPMs are available from here:

    RPM Search lprng[]=46

    Maybe that will suffice?
    I tried installing RPM it installed without errors but lpd.service is unable to start.

    #systemctl start lpd.service
    Job for lpd.service failed.See systemctl status lpd.service and 'journalctl -n' for details.

    Output of #systemctl status lpd.service is
    # systemctl status lpd.service
    lpd.service - LSB: Start lpd to allow printing
    Loaded: loaded (/etc/init.d/lpd)
    Active: failed (Result: exit-code) since Sun, 2013-08-18 12:06:02 GMT; 5s ago
    Process: 1494 ExecStart=/etc/init.d/lpd start (code=exited, status=7)
    CGroup: name=systemd:/system/lpd.service


    Aug 18 12:06:02 Linux systemd[1]: Starting LSB: Start lpd to allow printing...
    Aug 18 12:06:02 Linux checkpc[1500]: Get_local_host: hostname 'Linux' bad
    Aug 18 12:06:02 Linux lpd[1494]: Starting lpd2013-08-18-12:06:02.270 Get_lo...ad
    Aug 18 12:06:02 Linux lpd[1494]: 2013-08-18-12:06:02.327 Get_local_host: ho...ad
    Aug 18 12:06:02 Linux lpd[1494]: ..failed
    Aug 18 12:06:02 Linux systemd[1]: Failed to start LSB: Start lpd to allow p...g.
    Aug 18 12:06:02 Linux systemd[1]: Unit lpd.service entered failed state

  8. #8
    Join Date
    Oct 2012
    Location
    India
    Posts
    332

    Default Re: Error making lprng

    output of journalctl -n
    #journalctl -n
    -- Logs begin at Sun, 2013-08-18 11:56:08 GMT, end at Sun, 2013-08-18 12:06:18 G
    MT. --
    Aug 18 12:06:02 Linux systemd[1]: Unit lpd.service entered failed state
    Aug 18 12:06:18 Linux systemd[1]: Starting LSB: Start lpd to allow printing...
    Aug 18 12:06:18 Linux checkpc[1516]: Get_local_host: hostname 'Linux' bad


    Aug 18 12:06:18 Linux lpd[1510]: Starting lpd2013-08-18-12:06:18.690 Get_local_h
    ost: hostname 'Linux' bad
    Aug 18 12:06:18 Linux lpd[1518]: Get_local_host: hostname 'Linux' bad
    Aug 18 12:06:18 Linux lpd[1510]: 2013-08-18-12:06:18.748 Get_local_host: hostnam
    e 'Linux' bad
    Aug 18 12:06:18 Linux lpd[1510]: ..failed
    Aug 18 12:06:18 Linux systemd[1]: lpd.service: control process exited, cod
    e=exited status=7
    Aug 18 12:06:18 Linux systemd[1]: Failed to start LSB: Start lpd to allow
    printing.
    Aug 18 12:06:18 Linux systemd[1]: Unit lpd.service entered failed state

  9. #9
    Join Date
    Oct 2012
    Location
    India
    Posts
    332

    Default Re: Error making lprng

    Sorry for the above posts.it's been solved as I added my HOSTNAME in /etc/hosts file.

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Error making lprng

    On 2013-08-18 13:46, nishanth9042 wrote:
    >
    > deano_ferrari;2579932 Wrote:
    >> I don't have solution to this, but in the interest of helping, I
    >> downloaded LPRng-3.8.35.tgz and attempted to compile as you did, with
    >> the same results. I found this ArchLiunx 'thread'
    >> (http://archlinuxarm.org/forum/viewtopic.php?f=5&t=4943) (for ARM) which
    >> reported the same issue, and used the GNU debugger utility (gdb) to shed
    >> some light on the issue, but no definitive solution unfortunately.

    >
    > that didn't help


    Why don't you just use CUPS?


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •