Can't locate HtmlMonolithWr.pm in @INC

390 views
Skip to first unread message

nan lin

unread,
Feb 27, 2017, 1:37:22 PM2/27/17
to MEME Suite Q&A
I got this error when I use meme command to find potential motif. I did get .txt and .xml output but I did not successfully got .Html output. I wonder how to install HtmlMonolithWr.pm module. I double checked that this file already existed in meme/lib/perl directory. I wonder why should I still install it.

Thanks

CharlesEGrant

unread,
Feb 28, 2017, 9:34:41 PM2/28/17
to meme-...@googlegroups.com
When you ran ‘configure’, ‘make’, and ‘make install’ did they report any error messages?

‘configure’ will automatically generate a log file called ‘config.log. You can capture log files for the other commands by running

make &> make.log
make check
&> test.log
make install
&> install.log



If you could forward us copies of config.log, make.log, test.log, and install.log. That would help us troubleshoot the problem. It would also help if you could forward us a copy of the script ‘meme_xml_to_html’ which should be found in the meme/bin directory.

aishwarya kulkarni

unread,
Jun 1, 2020, 4:20:28 PM6/1/20
to MEME Suite Q&A
I have a similar error, what would be the best email id to send my logs to?

cegrant

unread,
Jun 2, 2020, 4:37:44 PM6/2/20
to MEME Suite Q&A
It's actually best if you simply attach the log files to your post here. When you are composing or editing your post there will be a link above the edit box labeled "Attach a file" next to a paper clip icon. Click on that link to select a file on your computer to attach to the post.

aishwarya kulkarni

unread,
Jun 3, 2020, 9:56:30 AM6/3/20
to MEME Suite Q&A

cegrant

unread,
Jun 4, 2020, 6:55:05 PM6/4/20
to MEME Suite Q&A
I don't have permission to view those files. It really is more convenient if you would attach the files to the post, use the "Attach a file" link.

aishwarya kulkarni

unread,
Jun 5, 2020, 3:01:26 PM6/5/20
to MEME Suite Q&A


I have given an access to all these logs ,I would have definitely attached but for some reason I cannot find the attachment link on my screen.

cegrant

unread,
Jun 6, 2020, 3:49:35 PM6/6/20
to MEME Suite Q&A
Your test.log file indicates that 38 of the tests cases failed, which means that something is very wrong with your installation. If you look in tests/scripts you'll find log files for each of the tests. Look at the log files for the failing tests. There should be messages explaining the details of the failure. 

My initial guess would be that you haven't installed all of the required Perl modules. Please review the section of the installation guide on prerequisite software, particularly the section on Perl.
Message has been deleted

Kenneth Acosta

unread,
Jan 10, 2022, 12:35:10 AM1/10/22
to MEME Suite Q&A
For other's reference, I had the same problem.

During installation I used the followed command and specified my prefix:
> ./configure --prefix=$HOME/meme-5.4.1 --enable-build-libxml2 --enable-build-libxslt
During this installation, everything seemed fine and all the tests passed.

However, I could not get the HTML output for STREME and got the error "Can't locate HtmlMonolithWr.pm in @INC". I was able to find HtmlMonolithWr.pm in the ./scripts directory. I then added that to @INC using the following command:
> export PERL5LIB=$HOME/meme-5.4.1/scripts

After I did that and ran STREME I got a different error message "Failed to open HTML template file '$HOME/meme/share/meme-5.4.1/streme_template.html' for reading". My streme_template.html was located in $HOME/meme-5.4.1/share/meme-5.4.1. Not sure if I changed anything after the initial installation but HtmlMonolithWr.pm was not picking up that my meme directory was $HOME/meme-5.4.1 not $HOME/meme. I'm not a user of Perl but after some playing around I determined that the meme directory information has something to do with the $search_dir variable in HtmlMonolithWr.pm (lines 96-99). If I was a Perl user I could've changed something here to point towards $HOME/meme-5.4.1 but I couldn't.

Long story short, I reinstalled the meme suite using the following command:
> ./configure --prefix=$HOME/meme --enable-build-libxml2 --enable-build-libxslt

I have my HTML output now.

Reply all
Reply to author
Forward
0 new messages