Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2010 10:24:09 -0800 (PST)
From:      Saige <saige.losli@gmail.com>
To:        freebsd-ports@freebsd.org
Cc:        jhell@DataIX.net
Subject:   Re: Installing cups-1.4.2_1 port reports port MISSING
Message-ID:  <9770436d-d3a1-4108-84b1-b89019bccec3@c34g2000pri.googlegroups.com>
In-Reply-To: <alpine.BSF.2.00.1003090806110.96087@qvfongpu.qngnvk.ybpny>
References:  alpine.BSF.2.00.1003090806110.96087@qvfongpu.qngnvk.ybpny

next in thread | previous in thread | raw e-mail | index | archive | help


On Mar 9, 5:10=C2=A0am, jhell <jh...@DataIX.net> wrote:
> On Mon, 8 Mar 2010 23:06, saige.losli@ wrote:
> >>> Seems hard to believe that such an important function, "cups", is jus=
t
> >>> missing from the ports tree. I have updated the ports on my system
> >>> with:
>
> >>> # csup -g -L 2 /root/ports-supfile
> >>> # cd /usr/ports
> >>> # make readmes && make index
>
> >>> So if I'm just doing something wrong due to ignorance, please point m=
e
> >>> in the right direction so that I can solve my problem... Thank you!
>
> >> This happens occasionally. CD to the /usr/ports/print/cups directory
> >> and run: "make clean". Next run: make install and see if the port
> >> installs. You might want to create a log file of the
> >> build/install routine. If the build fails again, post the log here.
>
> > Well, when I cd to /usr/ports/print/cups and "make clean", "make
> > install", it /seems/ to build... at least it does not complain. I get:
>
> > # make clean
> > =3D=3D=3D> =C2=A0Cleaning for cups-1.4.2_1
> > # make install clean
> > =3D=3D=3D> =C2=A0Extracting for cups-1.4.2_1
> > =3D=3D=3D> =C2=A0Patching for cups-1.4.2_1
> > =3D=3D=3D> =C2=A0 cups-1.4.2_1 depends on executable: espgs - found
> > =3D=3D=3D> =C2=A0 cups-1.4.2_1 depends on executable: cupsd - found
> > =3D=3D=3D> =C2=A0Configuring for cups-1.4.2_1
> > =3D=3D=3D> =C2=A0Cleaning for cups-1.4.2_1
> > #
>
> > So, it's not complaining, right? But when I try to make a test print
> > fromhttp://localhost:631, I still get this error message: "/usr/local/
> > libexec/cups/filter/rastertokm2430dl failed"
>
> > So I tried running portmanager again:
>
> > # portmanager print/cups --log
>
> > ...and here is the contents of the logfile after I run it:
>
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > portmanager 0.4.1_9
> > FreeBSD freebsd-desktop 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Tue Mar =C2=
=A02
> > 18:43:30 PST 2010
> > =C2=A0 =C2=A0root@freebsd-desktop:/usr/obj/usr/src/sys/GENERIC =C2=A0am=
d64
> > -----------------------------------------------------------------------=
-
> > autoConflicts =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00 =C2=A0a=
utoMoved =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00
> > backUp =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 0 =C2=A0buildDependsAreLeaves =C2=A0 =C2=A0 =C2=A00
> > forced =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 0 =C2=A0interactive =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A00
> > log =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A01 =C2=A0pmMode =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 1
> > pristine =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 0 =C2=A0resume =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 0
> > -----------------------------------------------------------------------=
-
> > Mon Mar =C2=A08 19:52:12 2010
> > cups-1.4.2_1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0/print/cups
> > =C2=A0 =C2=A0MISSING
> > cups-1.4.2_1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0/print/cups
>
> > Mon Mar =C2=A08 19:52:14 2010
> > cups-1.4.2_1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0/print/cups
> > =C2=A0 =C2=A0MISSING
> > cups-1.4.2_1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0/print/cups
>
> > Mon Mar =C2=A08 19:52:14 2010
> > cups-1.4.2_1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0/print/cups
> > =C2=A0 =C2=A0make Strike
> > 2
>
> > Mon Mar =C2=A08 19:52:16 2010
> > cups-1.4.2_1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0/print/cups
> > =C2=A0 =C2=A0MISSING
> > cups-1.4.2_1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0/print/cups
>
> > Mon Mar =C2=A08 19:52:16 2010
> > cups-1.4.2_1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0/print/cups
> > =C2=A0 =C2=A0make Strike 3, marking port as ignore/
> > looping
>
> > Mon Mar =C2=A08 19:52:17 2010
> > portmanager =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 0.4.1_9
> > =C2=A0 =C2=A0INFO: finished with some ports not updated =C2=A0if --log =
was used see /
> > var/log/
> > portmanager.log
>
> > Mon Mar =C2=A08 19:52:17 2010
> > end of log
>
> > Any other suggestions?
>
> ports/print/cups is a meta-port it does that when you already have
> installed its requirements and or itself.
>
> whats the output of ( ls /var/db/pkg/ |grep cups )

"ls /var/db/pkg | grep cups" produces:

# ls /var/db/pkg | grep cups
cups-base-1.4.2_4
cups-client-1.4.2_4
cups-image-1.4.2_4
cups-magicolor-1.5.0_5
cups-pdf-2.5.0_2
cups-pstoraster-8.15.4_5

> After that if you have cups-base installed have you tried setting it up
> correctly including being in rc.conf?.

/etc/rc.conf contains:

cupsd_enable=3D"YES"
devfs_system_ruleset=3D"system"

/etc/devfs.rules contains:

[system=3D10]
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups
add path 'lpt*' mode 0660 group cups

As far as I can see, other configuration items as described in
http://www.freebsd.org/doc/en/articles/cups/printing-cups-configuring-serve=
r.html
are reasonable.

One thing I noticed is that when I restarted devfs, nothing /seemed
to/ happen:

# /etc/rc.d/devfs restart
#

But when I restarted cupsd, I received acknowledgement:

# /usr/local/etc/rc.d/cupsd restart
Stopping cupsd.
Starting cupsd.
#

Maybe "cups" /is/ properly installed... After all, it does respond to
me on http://localhost:631. The main problem seems to be the fact that
something fails when actually printing. On the job status page, I see:

=E2=96=BC  ID =E2=96=BC	Name	User	Size	Pages	State	Control
KONICA-MINOLTA-2430DL-24  	Test Page  	root  	1k  	1  	stopped
"/usr/local/libexec/cups/filter/rastertokm2430dl failed"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9770436d-d3a1-4108-84b1-b89019bccec3>