ole-tange / barmaids

0 stars 0 forks source link

doc directory and *4mac files not packed #86

Closed morenomayar closed 10 years ago

morenomayar commented 10 years ago

When making a new distribution, the doc directory is not packed as well as the *4mac binaries. If we add them "artificially" it works.

ole-tange commented 10 years ago

Fixed in [326].

Please test and close.

morenomayar commented 10 years ago

Little update: when trying to make a new distribution, I get a fatpack error:

$ make dist if test -d "bammds-20140228"; then find "bammds-20140228" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "bammds-20140228" || { sleep 5 && rm -rf "bammds-20140228"; }; else :; fi test -d "bammds-20140228" || mkdir "bammds-20140228" (cd src && make top_distdir=../bammds-20140228 distdir=../bammds-20140228/src \ am__remove_distdir=: amskip_length_check=: amskip_mode_fix=: distdir) fatpack pack bammds.pl > bammds.tmp /bin/sh: fatpack: command not found make[1]: * [bammds] Error 127 make: * [distdir] Error 1

morenomayar commented 10 years ago

Made a new dist and the *4mac files seem to be packed already.

Nevertheless, when running I get:

$ ~/Desktop/bin/bammds testinputfiles/Han_700000reads_hg19.bam testinputfiles/Wollstein.hg19.chr21.chr22.one_allele.txt Can't locate local/lib.pm in @INC (@INC contains: CODE(0x7f896084c5a8) /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.4/darwin-thread-multi-2level /Library/Perl/Updates/5.12.4 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at /Users/Mayar/Desktop/bin/bammds line 15677. BEGIN failed--compilation aborted at /Users/Mayar/Desktop/bin/bammds line 15677.

ole-tange commented 10 years ago

Install local::lib. This must work:

perl -Mlocal::lib -e 1

morenomayar commented 10 years ago

Works now in mac!

I used cpanm in order to install. I ran:

sudo cpan local::lib

To istall cpanm I ran:

curl -L http://cpanmin.us | perl - --sudo App::cpanminus

morenomayar commented 10 years ago

Works now in mac!

I used cpanm in order to install. I ran:

sudo cpan local::lib

To istall cpanm I ran:

curl -L http://cpanmin.us | perl - --sudo App::cpanminus

ole-tange commented 10 years ago

Added to README in [345].