On 07/21/12 19:27, msangel wrote:
> I am new in perl and in programing at all. I download manually a newer version
> of library and dont know how to build it.
I'm not familiar with cpanm or dmake commands or the CPAN module
"Alien",
but it sounds like it requires the FLTK 1.3.x library to build from
source
properly.
Normally I'd suggest going to the CPAN Alien maintainer and ask about
the issue. I'm pretty sure FLTK doesn't keep SVN snapshots around
forever,
though it does keep /releases/ around for a long time. This CPAN
installer
config seems to want an old SVN snapshot that it probably shouldn't.
(I don't suppose there's a binary install of this Alien library for your
plaform? If so, you can probably just install that, avoiding having to
'build' anything)
You don't mention a platform, so if you want to build from source,
I'll assume you have linux with a developers environment installed
(eg. g++, X windows libs, etc), though these same steps might work
on other environments too.
So I would suggest:
1) Download this:
http://fltk.org/software.php?VERSION=1.3.0&FILE=fltk/snapshots/fltk-1.3.x-r9635.tar.bz2
and save it as e.g. /var/tmp/fltk-1.3.x-r9635.tar.bz2
2) Login as root, and run this command to make an empty temp directory:
mkdir /var/tmp/test
3) cd into that directory and extract the tar file, eg:
cd /var/tmp/test
tar xvjf /var/tmp/fltk-1.3.x-r9635.tar.bz2
4) cd into the resulting new directory, and run 'make install', eg:
cd /var/tmp/test/fltk-1.3.x-r9635
make install
If you get errors, post your platform and the error messages from
the above on fltk.general (instead of fltk.bugs)
5) Assuming step #4 works, then try downloading the "Alien" CPAN module,
and follow its instructions for building. It should be able to find
the FLTK library you just built and installed, and that should get you
further along towards installing the module.
Either way, if you need to follow up, please use fltk.general,
as it's the right place for this I think.
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs