Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Can't create '/path/to/proovread/lib/File' #146

Open
Hulanyue opened this issue Sep 25, 2019 · 6 comments
Open

ERROR: Can't create '/path/to/proovread/lib/File' #146

Hulanyue opened this issue Sep 25, 2019 · 6 comments

Comments

@Hulanyue
Copy link

Hulanyue commented Sep 25, 2019

I have a new problem,
I have decompressed the File-Which-0.05.tar.gz,when I run make && make install ,it shows me that ERROR: Can't create '/path/to/proovread/lib/File' (In the File-Which-0.05,there are a small lock in the lower right corner of several file icons)

linux@linux-virtual-machine:~/proovread/File-Which-0.05$ make && make install
Skip blib/lib/File/Which.pm (unchanged)
cp bin/pwhich blib/script/pwhich
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/pwhich
Manifying 1 pod document
Manifying 1 pod document
Manifying 1 pod document
Manifying 1 pod document
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/path/to/proovread/lib/File'
mkdir /path: Permission denied at /usr/share/perl/5.28/ExtUtils/Install.pm line 489.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
at -e line 1.
make: *** [Makefile:725: pure_site_install] Error 13

@Hulanyue
Copy link
Author

The above problem is caused by this problem!
when I run cd proovread && make && make install,it shows me make[1]: Leaving directory '/home/linux/proovread/util/bwa' make: Nothing to be done for 'install'. and then I run cd proovread && make sample ,it have a problem as follows:

linux@linux-virtual-machine:~/proovread$ make sample
bin/proovread --sample --pre sample-results -o --threads 1
Can't locate Log/Log4perl.pm in @inc (you may need to install the Log::Log4perl module) (@inc contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at bin/proovread line 11.
BEGIN failed--compilation aborted at bin/proovread line 11.
make: *** [Makefile:32: sample] Error 2

So,follow the prompts,I decompressed the File-Which-0.05.tar.gz ,then there is a problem: ERROR: Can't create '/path/to/proovread/lib/File'

@thackl
Copy link
Contributor

thackl commented Sep 25, 2019

You need to substitute "/path/to/proovread/" with the actual path on your system.

@Hulanyue
Copy link
Author

Oh,Thank you very much! The first problem have been solved(altough I copy whicm.pm to the file ),but the second problem does not seem to have been solved when I run cd proovread && make sample

@Hulanyue
Copy link
Author

Thank you ,thackl !
I think that I have solved the problem 'Log:Log4perl'.
I use cpan to install Log:Log4perl ,and when I run make sample , it at least won't make that mistake again.

@kdbchau
Copy link

kdbchau commented Oct 7, 2019

Changing PREFIX to my path after cding into proovread just gives me the error that it cannot do anything because it is the same directory.

mkdir -p /scratch/myname/src/proovread
cp -drT /scratch/myname/src/proovread 
/scratch/myname/src/proovread
cp: ‘/scratch/myname/src/proovread’ and 
‘/scratch/myname/src/proovread’ are the same file
make: *** [install] Error 1

If I try installing this on my MACOSX it just fails at make because it uses malloc.h and I don't know enough coding to know what to change there or install for that to work.
It says to change it to the path where proovread is so...I am confused

@kdbchau
Copy link

kdbchau commented Oct 7, 2019

What exactly goes into PREFIX. Is it the bath to the proovread directory or am I supposed to have it create a new directory (in which case when I tried that it literally makes the same files that already exist after git cloning).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants