[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compiling problem



On Sat, 24 Feb 2001, Dr. Guenter Bechly wrote:

> Hi,
>
> I am currently busy to package the program grunch
> (http://www.radagast.org/~dplatt/unix/) for Debian.
> This interesting program allows the automatic merging of overlapping
> scanned images.
> Unfortunately, I still have a problem with compiling grunch. Even
> though I have netpbm and netpbm-dev installed (and the concerning
> header files, incl. ppm.h, are present in /usr/include), the
> compilation fails with the following error messages:
> /usr/bin/make
> make[1]: Entering directory `/home/debian/grunch-1.3'
> cc -c -O6 -o match.o match.c
> cc -o match match.o -lppm -lpgm -lpbm -lm
                        ^^^   ^^^   ^^^
only thing I can find is /usr/lib/libnetpbm.so. did you try creating
links:

# cd /usr/lib
# ln -s libnetpbm.so libnetppm.so
# ln -s libnetpbm.so libnetpgm.so

> /usr/bin/ld: cannot find -lppm
> collect2: ld returned 1 exit status
> make[1]: *** [match] error 1
> make[1]: Leaving directory `/home/debian/grunch-1.3'
> make: *** [build-stamp] error 2



Reply to: