Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails for various ActiveState Perls #1

Open
asb-capfan opened this issue Jul 15, 2014 · 3 comments
Open

Build fails for various ActiveState Perls #1

asb-capfan opened this issue Jul 15, 2014 · 3 comments

Comments

@asb-capfan
Copy link

The Alien::AntTweakBar Perl module does not build for a variety of ActiveState Perls (one of them is the one I'm using). You can see the full list here: http://code.activestate.com/ppm/Alien-AntTweakBar/
I don't know about the reasons, but you can see the full build logs there, too.
Maybe it's something simple?

@basiliscos
Copy link
Member

@pkTM Thank you for reporting the issue.

The problem with the ActiveState perl on Win32 is either

  • ActiveState perl uses some older gcc/mingw (as I think), so you'll get an error like: https://gist.github.com/wchristian/ec16ab90fa58c3e03c2c .
  • It tries to compile AntTweakBar with Microsoft's toolchain, and it fails, because currently I hard-coded use makefile, which is suitable for mingw/gmake/make.

Good news are the following: AntTweakBar distribution ships pre-compiled libraries (see into lib dir of AntTweakBar_116.zip).

If you make some patch that will install AntTweakBar.lib/AntTweakBar64.lib under MS toolchain, and check that it works together with perl's bindings module (AntTweakBar), I'll be more then happy and surely accept it.

@asb-capfan
Copy link
Author

Unfortunately, I don't know absolutely nothing about compiling or building dependencies. Honestly, that's why I chose Perl as programming language :)
Maybe someone else will find this comment and know what to do.
But when I understand you correctly, there is yet a workaround that ships precompiled stuff and will work, too - right?

@basiliscos
Copy link
Member

@pkTM

Yes. Originally ATB is shipped with pre-build win32 library, as well as with sources and corresponding Makefiles (mostly for unices). I have adopted the Makefile to be used to build the library for Strawberry Perl (which ships with mingw-compiler).

So, for Active Perl with MS-Visual-Studio toolchain in theory, you can just copy pre-build libraries, and you'll have Alien::AntTweakBar installed. In any case they will be needed on linking stage when building AntTweakBar (perl's bindings themselfs). Here could be troubles, and that moment should tested carefully. Otherwise without perl's bindings the
Alien::AntTweakBar is useless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants