PDA

View Full Version : Padre on natty?



5149.5
May 8th, 2011, 04:30 PM
Does anyone have Padre running on natty yet? Does the debugger work for you?

5149.5
May 9th, 2011, 06:31 PM
Padre is broken for Natty. If you try to use it, be prepared for errors.

cgroza
May 9th, 2011, 09:47 PM
wxPerl does not work in Natty. It complains about an undefined reference somewhere.
As Padre is based on WxPerl, Padre does not work either.

cgroza
May 15th, 2011, 11:56 PM
Anyone found a fix yet? I really like Perl, and Padre is like their official IDE.
Anyone knows if someone works on a patch?

shawnhcorey
May 16th, 2011, 02:39 AM
I got version 0.85 working from SVN but this is the development version. That means subject to breakage without notice.


mkdir ~/Software

cd ~/Software

svn co http://svn.perlide.org/padre/trunk

cpanm Module::Install Locale::Msgfmt

cd ~/Software/Padre/trunk/Padre

cpanm --installdeps .

perl Makefile.PL

make

make test

cgroza
May 16th, 2011, 09:11 PM
I got version 0.85 working from SVN but this is the development version. That means subject to breakage without notice.


mkdir ~/Software

cd ~/Software

svn co http://svn.perlide.org/padre/trunk

cpanm Module::Install Locale::Msgfmt

cd ~/Software/Padre/trunk/Padre

cpanm --installdeps .

perl Makefile.PL

make

make test

Well, it does not work now, so it can't get worse. I will try it.
Thank you.

cgroza
May 16th, 2011, 09:40 PM
Tried it, same error again.

shawnhcorey
May 18th, 2011, 08:06 PM
OK, if you compile it from SVN, the new padre is:

~/Software/trunk/Padre/dev

The reason the old padre is not working is because of a difference in Wx. You have to rebuild it.

Special note: if you are running perlbrew, turn it off:

$ perlbrew off
If the above says it can't find perlbrew, you're not running it.

To rebuild Wx:

First, you need some tools:

$ sudo apt-get install build-essential

Now, upgrade Wx:

$ sudo cpan
[sudo] password for user:

cpan shell -- CPAN exploration and modules installation (v1.9402)
Enter 'h' for help.

cpan[1]> upgrade Wx
...


This could take awhile. It may have to upgrade some dependencies too.

When done, exit cpan:

cpan[2]> q
Lockfile removed.
$

The old padre should now work. :)

PS: This could break other Wx programs.

cgroza
May 18th, 2011, 09:31 PM
OK, I will try it later.

cgroza
May 19th, 2011, 01:16 AM
I still get this:

BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.1/Padre/Constant.pm line 11.
Compilation failed in require at /usr/local/bin/padre line 123.

shawnhcorey
May 19th, 2011, 01:32 AM
Gee, that doesn't explain much, does it? Perhaps you should ask someone with more knowledge than I. Have you tried the Padre mailing list (http://lists.perl.org/list/padre-dev.html)? Or perhaps, perlmonks (http://perlmonks.org/)?

cgroza
May 19th, 2011, 02:35 AM
Hmm, I do not know, maybe I will send an email or two when I will have more time.
Thanks for your support anyway.