Hi All,

I'm a bit of a newbie to OpenBSD coming from Debian and Ubuntu systems. I am 
well out of my depth and have no experience whatsoever with ports and I'm a bit 
intimidiated by them. If anyone can point me in the right direction I'd be 
grateful. I only run a home desktop system and getting the printer to work 
seems to be last challenge before I can switch wholly to OpenBSD. Been reading 
Matt Lucas's book and browsing the faq to help. This is what I've tried in the 
direction of compiling. 

I'm trying to get my printer to work with cups. It is an Epson Stylus SX205 
(which is a slightly modified SX200) and it works best under the Epson ESC/P-R 
driver. I have downloaded epson-inkjet-printer-escpr-1.3.1-1lsb3.2.src.rpm as 
recommended by the Epson site 
http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX

Many Thanks in advance
Maurice
- - - - 

The Epson documentation gives the unpacking commands 

$ rpm2cpio epson-inkjet-printer-escpr-1.3.1-1lsb3.2.src.rpm | cpio -id
$ tar zxvf epson-inkjet-printer-escpr-1.3.1-1lsb3.2.tar.gz

Now I realize that OpenBSD is not an LSB distro but the above is what 
Epson recommends for non-LSB distros (I assume BSDs or other Linux).
I installed mawk (cannot remember why) and ran the given commands

$ cd epson-inkjet-printer-escpr-1.3.1
$ ./bootstrap && ./configure --prefix=/usr/local \
--with-cupsfiltersdir /usr/local/libexec/cups/filter \
--with-cupsppddir /usr/local/share/ppd/cupsfilters 

bootstrap fails

./bootstrap[27]: libtoolize: not found
./bootstrap[28]: aclocal: not found
./bootstrap[29]: autoconf: not found


The --with-*dir options produce quick errors in ./configure

configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /usr/local/libexec/cups/filter
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /usr/local/share/ppd/cupsfilters
configure: WARNING: unrecognized options: --with-cupsfiltersdir
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for /usr/local/libexec/cups/filter-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for an ANSI C-conforming const... yes
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking build system type... /usr/local/libexec/cups/filter
configure: error: invalid value of canonical build


Yet ./configure --prefix=/usr/local runs through OK but on make I get 
... 
collect2: ld returned 1 exit status
*** Error 1 in src (Makefile:315 'epson-escpr')
*** Error 1 in . (Makefile:361 'all-recursive')
*** Error 1 in /usr/src/epson-inkjet-printer-escpr-1.3.1 (Makefile:264 'all')

Reply via email to