Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Image-Seek CPAN distribution.

Report information
The Basics
Id: 110008
Status: resolved
Priority: 0/
Queue: Image-Seek

People
Owner: helmut [...] wollmersdorfer.at
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.02
Fixed in: 0.03_03



Subject: Support for clang systems?
FreeBSD 10 does not ship anymore gcc/g++, but instead clang/clang++. The build is currently hardcoding "g++", so compilation is not possible anymore: "/usr/perl5.23.5p/bin/perl5.23.5" "/usr/perl5.23.5p/lib/5.23.5/ExtUtils/xsubpp" -C++ -typemap "/usr/perl5.23.5p/lib/5.23.5/ExtUtils/typemap" Seek.xs > Seek.xsc && mv Seek.xsc Seek.c Please specify prototyping behavior for Seek.xs (see perlxs manual) g++ -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2 -O -DVERSION=\"0.03_01\" -DXS_VERSION=\"0.03_01\" -DPIC -fPIC "-I/usr/perl5.23.5p/lib/5.23.5/amd64-freebsd/CORE" Seek.c g++: not found *** Error code 127 It would be better to use "c++" here, which is understood by both gcc and clang based systems.
Hello Slaven, thx for testing and reporting. It's my first c++ XS CPAN distribution. If you know a comparable CPAN dist it would help me to look into it. Am Di 01. Dez 2015, 16:04:09, SREZIC schrieb: Show quoted text
> FreeBSD 10 does not ship anymore gcc/g++, but instead clang/clang++. > The build is currently hardcoding "g++", so compilation is not > possible anymore:
[...] Show quoted text
> Please specify prototyping behavior for Seek.xs (see perlxs manual)
The included ppport.h is also from 2005. Show quoted text
> g++ -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing > -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2 -O > -DVERSION=\"0.03_01\" -DXS_VERSION=\"0.03_01\" -DPIC -fPIC "- > I/usr/perl5.23.5p/lib/5.23.5/amd64-freebsd/CORE" Seek.c > g++: not found > *** Error code 127 > > > It would be better to use "c++" here, which is understood by both gcc > and clang based systems.
Now hardcoded as c++. Works on my Mac OSX. Will submit another dev release soon.
On 2015-12-02 02:08:01, WOLLMERS wrote: Show quoted text
> Hello Slaven, > > thx for testing and reporting. > > It's my first c++ XS CPAN distribution. If you know a comparable CPAN > dist it would help me to look into it. > > Am Di 01. Dez 2015, 16:04:09, SREZIC schrieb:
> > FreeBSD 10 does not ship anymore gcc/g++, but instead clang/clang++. > > The build is currently hardcoding "g++", so compilation is not > > possible anymore:
> > [...] >
> > Please specify prototyping behavior for Seek.xs (see perlxs manual)
> > The included ppport.h is also from 2005. >
> > g++ -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing > > -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2 -O > > -DVERSION=\"0.03_01\" -DXS_VERSION=\"0.03_01\" -DPIC -fPIC "- > > I/usr/perl5.23.5p/lib/5.23.5/amd64-freebsd/CORE" Seek.c > > g++: not found > > *** Error code 127 > > > > > > It would be better to use "c++" here, which is understood by both gcc > > and clang based systems.
> > Now hardcoded as c++. Works on my Mac OSX. Will submit another dev > release soon.
FreeBSD 9.2 & 10.1 also look good: http://matrix.cpantesters.org/?dist=Image-Seek%200.03_02;os=freebsd;reports=1#sl=2,0 Don't know about the one failure from the FreeBSD 9.3 system, maybe you can ask BINGOS about it.
Am So 06. Dez 2015, 16:06:56, SREZIC schrieb: Show quoted text
> On 2015-12-02 02:08:01, WOLLMERS wrote:
> > Hello Slaven, > > > > thx for testing and reporting. > > > > It's my first c++ XS CPAN distribution. If you know a comparable CPAN > > dist it would help me to look into it. > > > > Am Di 01. Dez 2015, 16:04:09, SREZIC schrieb:
> > > FreeBSD 10 does not ship anymore gcc/g++, but instead > > > clang/clang++. > > > The build is currently hardcoding "g++", so compilation is not > > > possible anymore:
> > > > [...] > >
> > > Please specify prototyping behavior for Seek.xs (see perlxs manual)
> > > > The included ppport.h is also from 2005. > >
> > > g++ -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict- > > > aliasing > > > -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2 -O > > > -DVERSION=\"0.03_01\" -DXS_VERSION=\"0.03_01\" -DPIC -fPIC "- > > > I/usr/perl5.23.5p/lib/5.23.5/amd64-freebsd/CORE" Seek.c > > > g++: not found > > > *** Error code 127 > > > > > > > > > It would be better to use "c++" here, which is understood by both > > > gcc > > > and clang based systems.
> > > > Now hardcoded as c++. Works on my Mac OSX. Will submit another dev > > release soon.
> > FreeBSD 9.2 & 10.1 also look good: > http://matrix.cpantesters.org/?dist=Image- > Seek%200.03_02;os=freebsd;reports=1#sl=2,0 > > Don't know about the one failure from the FreeBSD 9.3 system, maybe > you can ask BINGOS about it.