PadreIDE / Padre

Offical repository of the core Padre code
http://padre.perlide.org/
Other
101 stars 43 forks source link

Add current directory to @INC for Makefile.PL (perl version 5.29.8) #38

Open hakonhagland opened 5 years ago

hakonhagland commented 5 years ago

I tried to install Padre 1.00 on my Ubuntu 18.10 laptop (perl version 5.29.8) with cpanm but ran into issue #33. So I tried to download tar ball:

cpan -g Padre
perlbrew use 5.29.8-threads
tar zxvf Padre-1.00.tar.gz
cd Padre-1.00

Then edited the file lib/Padre/Wx/Main.pm and changed line 5564 according to pull #34 Then edited file lib/Padre/Locker.pm line 105 and commented out the line: Padre::DB->begin; according to: https://github.com/DBD-SQLite/DBD-SQLite/issues/10

Now running perl Makefile.PL gives

Can't locate inc/Module/Install.pm in @INC

I fixed this issue by changing line #7 in Makefile.PL to include the dot (current directory):

use lib '.', 'privinc';