Hello

I want to use xpm2ppm, but it doesn't work because it says
[EMAIL PROTECTED]:~$ xpmtoppm < vnc/img_00000.xpm 
xpmtoppm: Input file has line that is too long (longer than 2048 bytes).

Obviously, someone programmed with fixed-size buffers.

I would like to increase the compiled-in buffer size from 2048 to 4096 and
try again. I would like to get the source for netpbm somewhere, change it
and compile. However it turns out to be an impenetrable obstacle:

- The OpenBSD website describes only some CVS method which seems to involve 
getting
sources for all programs in the operating system and I don't have space for
that: Filesystem  512-blocks      Used     Avail Capacity  Mounted on
/dev/wd0a     74935160  70114912   1073492    98%    /
- Getting sources -> web -> ports -> graphics -> netpbm there are no sources,
  only some auxilliary files
- when I download the official netpbm 10.26.34 source and say "y enter
openbsd enter enter enter enter library filename or 'none' [libjpeg.so]
libjpeg.so.62.0 JPEG header directory [default] ==> /usr/local/include
libtiff.so.37.3 /usr/local/include libpng.so.4.2 /usr/local/include
libz.so.4.1 /usr/local/include" (the filenames were determined using locate),
the compilation of netpbm crashes with 
libopt results: ' -L/home/clock/netpbm-10.26.34/lib -lnetpbm -ljpeg.so.62'
/usr/bin/ld: cannot find -ljpeg.so.62
collect2: ld returned 1 exit status
gmake[3]: *** [ppmtompeg] Error 1
gmake[3]: Leaving directory `/home/clock/netpbm-10.26.34/converter/ppm/ppmtompeg

Is it possible to compile netpbm on openbsd from the sources without extensive
OpenBSD maintainer expertise?

CL<

Reply via email to