X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.5 required=5.0 tests=AWL,BAYES_00,KAM_STOCKTIP,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Message-ID: <27833019.post@talk.nabble.com> Date: Tue, 9 Mar 2010 01:03:32 -0800 (PST) From: Marc Girod To: cygwin AT cygwin DOT com Subject: Problems installing Text-Iconv-1.7 (perl module) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com As part of Net::LDAP, I try to install Text-Iconv-1.7, and it fails. I installed libiconv (I already had libiconv2), but 'perl Makefile.PL' has a comiple test which fails. I reproduced on the command line, removing the redirections to /dev/null: Text-Iconv-1.7> gcc -I/usr/include -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--stack,8388608 -Wl,--enable-auto-image-base -fstack-protector -L/usr/local/lib -L/usr/lib -o linktest linktest.c -L/usr/lib cc1: error: unrecognized command line option "-fstack-protector" cc1: error: unrecognized command line option "-fstack-protector" Text-Iconv-1.7> gcc -I/usr/include -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -I/usr/local/include -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--stack,8388608 -Wl,--enable-auto-image-base -L/usr/local/lib -L/usr/lib -o linktest linktest.c -L/usr/lib /cygdrive/c/Users/emagiro/AppData/Local/Temp/ccqJIK6Z.o:linktest.c:(.text+0x3a): undefined reference to `_libiconv_open' collect2: ld returned 1 exit status Text-Iconv-1.7> strings /usr/lib/libiconv.a | grep libiconv_open _libiconv_open _libiconv_open_into _libiconv_open _libiconv_open_into ??? Marc -- View this message in context: http://old.nabble.com/Problems-installing-Text-Iconv-1.7-%28perl-module%29-tp27833019p27833019.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple