Skip Menu |

This queue is for tickets about the Text-QRCode CPAN distribution.

Report information
The Basics
Id: 79850
Status: resolved
Priority: 0/
Queue: Text-QRCode

People
Owner: kurihara [...] cpan.org
Requestors: sthoenna [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.01
Fixed in: (no value)



Subject: libqrencode version check failing
I have libqrencode 3.1.1 installed, but Makefile.PL is failing both the 1.0.2 and 2.0.0 tests. The 2.0.0 failure looks like this: $ cc -I/usr/local/include -I/usr/include -L/usr/lib -L/usr/local/lib -lqrencode -o test_libqrencode2.0.0 test_libqrencode2.0.0.c /tmp/cc4JkTsO.o: In function `main': test_libqrencode2.0.0.c:(.text+0x1f): undefined reference to `QRcode_encodeString8bit' collect2: ld returned 1 exit status But forcing it to think it found 2.0.0 or over, the build proceeds without error: $ make all cp lib/Text/QRCode.pm blib/lib/Text/QRCode.pm /usr/bin/perl "-Iinc" /usr/share/perl/5.14/ExtUtils/xsubpp -typemap /usr/share/perl/5.14/ExtUtils/typemap QRCode.xs > QRCode.xsc && mv QRCode.xsc QRCode.c cc -c -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DOVER_LIBQRENCODE_2_0_0 -O2 -g -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/usr/lib/perl/5.14/CORE" QRCode.c Running Mkbootstrap for Text::QRCode () chmod 644 QRCode.bs rm -f blib/arch/auto/Text/QRCode/QRCode.so cc -shared -O2 -g -L/usr/local/lib -fstack-protector -lqrencode QRCode.o -o blib/arch/auto/Text/QRCode/QRCode.so \ \ chmod 755 blib/arch/auto/Text/QRCode/QRCode.so cp QRCode.bs blib/arch/auto/Text/QRCode/QRCode.bs chmod 644 blib/arch/auto/Text/QRCode/QRCode.bs Manifying blib/man3/Text::QRCode.3pm I am using the ubuntu 12.04-packaged libqrencode-dev and perl.
Applied PR(https://github.com/yoshiki/Text-QRCode/pull/1). I will release new version later. On 2012-9月-25 火 14:35:54, http://ysth.livejournal.com/ wrote: Show quoted text
> I have libqrencode 3.1.1 installed, but Makefile.PL is failing both the > 1.0.2 and 2.0.0 tests. The 2.0.0 failure looks like this: > > $ cc -I/usr/local/include -I/usr/include -L/usr/lib -L/usr/local/lib > -lqrencode -o test_libqrencode2.0.0 test_libqrencode2.0.0.c > /tmp/cc4JkTsO.o: In function `main': > test_libqrencode2.0.0.c:(.text+0x1f): undefined reference to > `QRcode_encodeString8bit' > collect2: ld returned 1 exit status > > > But forcing it to think it found 2.0.0 or over, the build proceeds > without error: > > $ make all > cp lib/Text/QRCode.pm blib/lib/Text/QRCode.pm > /usr/bin/perl "-Iinc" /usr/share/perl/5.14/ExtUtils/xsubpp -typemap > /usr/share/perl/5.14/ExtUtils/typemap QRCode.xs > QRCode.xsc && mv > QRCode.xsc QRCode.c > cc -c -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing > -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -DOVER_LIBQRENCODE_2_0_0 -O2 -g > -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC > "-I/usr/lib/perl/5.14/CORE" QRCode.c > Running Mkbootstrap for Text::QRCode () > chmod 644 QRCode.bs > rm -f blib/arch/auto/Text/QRCode/QRCode.so > cc -shared -O2 -g -L/usr/local/lib -fstack-protector -lqrencode > QRCode.o -o blib/arch/auto/Text/QRCode/QRCode.so \ > \ > > chmod 755 blib/arch/auto/Text/QRCode/QRCode.so > cp QRCode.bs blib/arch/auto/Text/QRCode/QRCode.bs > chmod 644 blib/arch/auto/Text/QRCode/QRCode.bs > Manifying blib/man3/Text::QRCode.3pm > > > I am using the ubuntu 12.04-packaged libqrencode-dev and perl.