Skip to content

Commit eec239c

Browse files
committed
add instructions how to develop on Ubuntu
1 parent 14defd6 commit eec239c

File tree

2 files changed

+70
-0
lines changed

2 files changed

+70
-0
lines changed

README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,44 @@ For other Copyrights and Licenses see also
4646
share/icons/padre/README.txt
4747
share/icons/gnome218/README.txt
4848

49+
## Development
50+
51+
In order to develop Padre on Ubuntu we will use the system-perl.
52+
Install the available packages using
53+
54+
```
55+
./install_on_ubuntu
56+
```
57+
58+
Then install the remaining missing packages that are not distributed by Ubuntu:
59+
60+
```
61+
curl -L https://cpanmin.us | perl - App::cpanminus
62+
~/perl5/bin/cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
63+
```
64+
65+
Add the following line to ~/.bashrc (or similar file that is loaded when you open a terminal)
66+
67+
```
68+
eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
69+
```
70+
71+
Then open a new terminal and type in
72+
73+
```
74+
perl Makefile.PL
75+
```
76+
77+
Install the missing modules:
78+
79+
```
80+
cpanm Parse::Functions Debug::Client
81+
```
82+
83+
```
84+
perl Makefile.PL
85+
make
86+
./dev
87+
```
88+
89+

install_on_ubuntu

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
sudo apt-get install -y \
2+
libalien-wxwidgets-perl \
3+
libclass-adapter-perl \
4+
libdevel-dumpvar-perl \
5+
libdevel-refactor-perl \
6+
libwx-scintilla-perl \
7+
libwx-perl-processstream-perl \
8+
libtext-patch-perl \
9+
libtext-findindent-perl \
10+
liborlite-migrate-perl \
11+
libmodule-starter-perl \
12+
libparse-errorstring-perl-perl \
13+
libpod-abstract-perl \
14+
libpod2-base-perl \
15+
liblocale-msgfmt-perl \
16+
libmodule-build-perl \
17+
libmodule-manifest-perl \
18+
libppix-editortools-perl \
19+
libppix-regexp-perl \
20+
libparse-exuberantctags-perl \
21+
libtest-mockobject-perl \
22+
libsort-versions-perl
23+
24+
# For Debug::Client:
25+
sudo apt-get install -y \
26+
libtest-class-perl \
27+
libtest-requires-perl \
28+
libtest-checkdeps-perl \
29+
libcpan-meta-check-perl

0 commit comments

Comments
 (0)