From owner-freebsd-ports@FreeBSD.ORG Tue Mar 9 18:24:21 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F1D31065697 for ; Tue, 9 Mar 2010 18:24:21 +0000 (UTC) (envelope-from saige.losli@gmail.com) Received: from mail-gx0-f190.google.com (mail-gx0-f190.google.com [209.85.217.190]) by mx1.freebsd.org (Postfix) with ESMTP id 0C1818FD56 for ; Tue, 9 Mar 2010 18:24:10 +0000 (UTC) Received: by gxk6 with SMTP id 6so15162690gxk.13 for ; Tue, 09 Mar 2010 10:24:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.150.209.12 with SMTP id h12mr24705ybg.49.1268159049713; Tue, 09 Mar 2010 10:24:09 -0800 (PST) Date: Tue, 9 Mar 2010 10:24:09 -0800 (PST) In-Reply-To: X-IP: 71.117.242.3 References: alpine.BSF.2.00.1003090806110.96087@qvfongpu.qngnvk.ybpny User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe) Message-ID: <9770436d-d3a1-4108-84b1-b89019bccec3@c34g2000pri.googlegroups.com> From: Saige To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Tue, 09 Mar 2010 18:34:18 +0000 Cc: jhell@DataIX.net Subject: Re: Installing cups-1.4.2_1 port reports port MISSING X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2010 18:24:21 -0000 On Mar 9, 5:10=C2=A0am, jhell 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"