Subject: error building php-gd / libtool
To: pkgsrc-users@NetBSD.org <pkgsrc-users@NetBSD.org>
From: reinhold roppert <nb_rm@rmroppert.info>
List: pkgsrc-users
Date: 10/25/2007 12:10:57
Hello,

during build of php-gd i get an error.
It will be a problem of libtool.

creating libtool
appending configuration tag "CXX" to libtool
checking whether the c++ linker (/usr/pkgsrc/graphics/php-gd/work/.wrapper/bin/ld) supports shared libraries... ERROR: To use this compiler, you have to add c++ to
ERROR: USE_LANGUAGES in the package Makefile.
yes
libtool.m4: error: problem compiling CXX test program
checking for c++ option to produce PIC...
checking if c++ supports -c -o file.o... no
checking whether the c++ linker (/usr/pkgsrc/graphics/php-gd/work/.wrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... ERROR: To use this compiler, you have to add c++ to
ERROR: USE_LANGUAGES in the package Makefile.
NetBSD ld.elf_so


I'm using NetBSD 3.1 and pkgsrc-2007Q3

Regards
Reinhold