pkgsrc-Users archive

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

apcupsd build failure




Will not install HAL policy file
checking for gdImagePng in -lgd... no
checking for gdImagePng in -lgd... no
checking for gdImageGif in -lgd... no
configure: error: Your system lacks the GD library which is needed for
                         compiling the apcupsd CGI programs. Please install
                         libgd and re-run the ./configure script.
                         Alternatively you can disable the CGI support.
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/sysutils/apcupsd
*** Error code 1

Looking at config.log I suspect its because libimagequant.so is not being put into the buildlink environment:

configure:10857: result: no
configure:10875: checking for gdImageGif in -lgd
configure:10910: gcc -o conftest -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib conftest.c -lgd >&5 ld: warning: libimagequant.so.0.0, needed by /comp/obj/pkgsrc/sysutils/apcupsd/work/.buildlink/lib/libgd.so, not found (try using -rpath or -rpath-link) ld: /comp/obj/pkgsrc/sysutils/apcupsd/work/.buildlink/lib/libgd.so: undefined reference to `liq_image_create_custom' ld: /comp/obj/pkgsrc/sysutils/apcupsd/work/.buildlink/lib/libgd.so: undefined reference to `liq_write_remapped_image_rows' ld: /comp/obj/pkgsrc/sysutils/apcupsd/work/.buildlink/lib/libgd.so: undefined reference to `liq_set_max_colors' ld: /comp/obj/pkgsrc/sysutils/apcupsd/work/.buildlink/lib/libgd.so: undefined reference to `liq_attr_destroy' ld: /comp/obj/pkgsrc/sysutils/apcupsd/work/.buildlink/lib/libgd.so: undefined reference to `liq_set_dithering_level' ld: /comp/obj/pkgsrc/sysutils/apcupsd/work/.buildlink/lib/libgd.so: undefined reference to `liq_result_destroy' ld: /comp/obj/pkgsrc/sysutils/apcupsd/work/.buildlink/lib/libgd.so: undefined reference to `liq_set_speed' ld: /comp/obj/pkgsrc/sysutils/apcupsd/work/.buildlink/lib/libgd.so: undefined reference to `liq_set_quality' ld: /comp/obj/pkgsrc/sysutils/apcupsd/work/.buildlink/lib/libgd.so: undefined reference to `liq_attr_create_with_allocator' ld: /comp/obj/pkgsrc/sysutils/apcupsd/work/.buildlink/lib/libgd.so: undefined reference to `liq_get_palette' ld: /comp/obj/pkgsrc/sysutils/apcupsd/work/.buildlink/lib/libgd.so: undefined reference to `liq_quantize_image' ld: /comp/obj/pkgsrc/sysutils/apcupsd/work/.buildlink/lib/libgd.so: undefined reference to `liq_image_destroy'
configure:10917: $? = 1

Mike


Home | Main Index | Thread Index | Old Index