printing pdf
RYAN M. vAN GINNEKEN
luck at computerking.ca
Thu Nov 2 02:21:24 UTC 2006
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 <freebsd at meijome.net> wrote:
> On Wed, 1 Nov 2006 18:30:58 -0700 (MST)
> "RYAN M. vAN GINNEKEN" <luck at computerking.ca> 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
More information about the freebsd-questions
mailing list