From owner-freebsd-questions@FreeBSD.ORG Thu Nov 2 02:21:24 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 228BC16A40F for ; Thu, 2 Nov 2006 02:21:24 +0000 (UTC) (envelope-from luck@computerking.ca) Received: from shoemasters.com (shoemasters.com [68.144.188.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CDF343D5D for ; Thu, 2 Nov 2006 02:21:19 +0000 (GMT) (envelope-from luck@computerking.ca) Received: from localhost (localhost.localdomain [127.0.0.1]) by shoemasters.com (Postfix) with ESMTP id 5AA207C46E4; Wed, 1 Nov 2006 19:08:57 -0700 (MST) Received: from shoemasters.com ([127.0.0.1]) by localhost (shoemasters.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04700-07; Wed, 1 Nov 2006 19:08:54 -0700 (MST) Received: from shoemasters.com (localhost.localdomain [127.0.0.1]) by shoemasters.com (Postfix) with ESMTP id ABE9B7C469C; Wed, 1 Nov 2006 19:08:54 -0700 (MST) Message-ID: <4786209.1031162433334654.JavaMail.root@shoemasters.com> Date: Wed, 1 Nov 2006 19:08:54 -0700 (MST) From: "RYAN M. vAN GINNEKEN" To: Norberto Meijome , freebsd-questions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-DSPAM-Result: Innocent X-DSPAM-Processed: Wed Nov 1 19:08:55 2006 X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 45495337223052145363081 X-DSPAM-Factors: 27, X-Virus-Scanned: amavisd-new at X-Spam-Status: No, score=-4.393 tagged_above=-10 required=6.6 autolearn=ham tests=[ALL_TRUSTED=-1.8, AWL=0.106, BAYES_00=-2.599, DSPAM_HAM=-0.1] X-Spam-Score: -4.393 X-Spam-Level: Cc: Subject: Re: printing pdf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 02:21:24 -0000 hello again just tried to install the cups port which requires the ups-pstoraster-8.15 port and get errrors like these.. rm -f ./obj/iconfig.c cp ./obj/gconfxx.h ./obj/gconfig.h cp ./src/iconf.c ./obj/iconfig.c cc -DHAVE_MKSTEMP -I/usr/local/include -O -pipe -DUPD_SIGNAL=0 -Wall -Wstrict-prototypes -Wmissing-declarati ons -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -I./src -I./obj -I./obj -I./src -o ./obj/iconfig.o -c ./obj/iconfig.c cc -DHAVE_MKSTEMP -I/usr/local/include -O -pipe -DUPD_SIGNAL=0 -Wall -Wstrict-prototypes -Wmissing-declarati ons -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -I./src -I./obj -I./obj -I./src -o ./obj/iccinit0.o -c ./src/iccinit0.c ./obj/echogs -w ./obj/ldt.tr -n - cc -L/usr/local/lib -o ./bin/espgs ./obj/echogs -a ./obj/ldt.tr -n -s ./obj/gs.o -s cat ./obj/ld.tr >>./obj/ldt.tr ./obj/echogs -a ./obj/ldt.tr -s - -lm if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; \ XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \ FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= \ DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= \ DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= \ DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= \ DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= \ /bin/sh <./obj/ldt.tr /usr/local/lib/libcups.so: undefined reference to `pthread_getspecific' /usr/local/lib/libcups.so: undefined reference to `pthread_once' /usr/local/lib/libcups.so: undefined reference to `pthread_key_create' /usr/local/lib/libcups.so: undefined reference to `pthread_mutex_unlock' /usr/local/lib/libcups.so: undefined reference to `pthread_mutex_lock' /usr/local/lib/libcups.so: undefined reference to `pthread_setspecific' gmake: *** [bin/espgs] Error 1 *** Error code 2 Stop in /usr/ports/print/cups-pstoraster. *** Error code 1 anyone got any ideas? ----- Norberto Meijome wrote: > On Wed, 1 Nov 2006 18:30:58 -0700 (MST) > "RYAN M. vAN GINNEKEN" wrote: > > > > > > > 2) configure your printers via http://localhost:631 . You may be > asked > > > to > > > authenticate at a certain point (when you actually add the > printer) - > > > you need > > > to enter root and your root's password > > > > never get asked for a username and password when i try to connect > via > > http://localhost:631 get the error mentioned in my first message. > > right - firewall? > > does cupsd have the port open? > > $ netstat -an | grep 631 > tcp4 0 0 127.0.0.1.631 *.* > LISTEN > udp4 0 0 *.631 *.* > > > $ sockstat | grep cupsd > root cupsd 907 2 tcp4 127.0.0.1:631 *:* > root cupsd 907 3 stream /var/run/cups.sock > root cupsd 907 4 udp4 *:631 *:* > > > ( and I suppose /etc/rc.conf includes cupsd_enable="YES" ... not sure > what > difference this could make at runtime..but just in case...) > > > > > > > > > > 3) you should check that your lpr apps are the cups-aware ones > (cups > > > should > > > replace the system ones with its own versions). I'm sure there's a > way > > > to tell > > > lpr to show you the printers available, but I can't remember it > now ( > > > lpstat > > > should help, but that's part of cups port, so it doesnt really > apply) > > > > > > anyway, thjis is what I have installed: > > > > > > $ pkg_info | grep -i cups > > > cups-1.2.2 The Common UNIX Printing System: Metaport to > > > install comple > > > cups-base-1.2.2 The Common UNIX Printing System > > > cups-pdf-2.4.2 A virtual printer for CUPS to produce PDF > files > > > cups-pstoraster-8.15 Postscript interpreter for CUPS printing to > > > non-PS printers > > > cups-samba-5.0.r3 The Common UNIX Printing System: MS Windows > > > client drivers > > > gtklp-1.2.2 A gtk interface to cups > > > libgnomecups-0.2.2_1,1 Support library for gnome cups > admistration > > > > > here is what i have > > cups-base-1.2.2 The Common UNIX Printing System > > cups-pdf-2.4.2 A virtual printer for CUPS to produce PDF files > > > > do you think i need more packages installed? guess i will install > cups too > > not just the base? > > well.. not really, all the other stuff is because I actually need it. > Maybe > just the cups-pstoraster. > > BTW, once you have you get access to the admin page, if you cna't find > th exact > model of your printer, or it doesn't work as well as it should, try > finding > the .ppd file for your printer (usually bundled with the software / > windows > drivers.) You can upload this to cups (when defining which printer it > is) and > it should work great after that. > > start testing with text,etc first, of course. > > best, > B > > _________________________ > {Beto|Norberto|Numard} Meijome > > "A problem cannot be solved with the same type of thinking that > created it." > Albert Einstein > > I speak for myself, not my employer. Contents may be hot. Slippery > when wet. > Reading disclaimers makes you go blind. Writing them is worse. You > have been > Warned. -- Computer King/CaNMail http://www.computerking.ca http://www.canmail.org Sales, Service, and Hosting Email, Data, and Web Packages Ask about web design specials Affiliates http://www.computerking.ca/pages/links/affiliates/affiliates.htm Maybe Computer Science should be in the College of Theology. -- R. S. Barton