Skip to content

Ubuntu Install - Hard-coded paths to /home/olson/KB/runtime/bin #2

@davised

Description

@davised

Hi,

I followed the instructions to download the .deb file for ubuntu and installed as instructed.

When I attempted to run rast-create-genome on a FASTA file with my newly sequenced genome, I received an error:

/usr/bin/rast-create-genome: 6: /usr/bin/rast-create-genome: /home/olson/KB/runtime//bin/perl: not found

I opened /usr/bin/rast-create-genome with vim and noticed that there were several hard-coded paths to /home/olson/KB/runtime.

To solve the problem I ran these commands:

cd /usr/bin  
sudo sed -i 's|/home/olson/KB/runtime/|/usr/share/rasttk/runtime/|' rast-*  
sudo sed -i 's|//|/' rast-*

I also had to manually install JSON::RPC::Client, but that is a separate issue easily fixed with cpan.

Seems to be good to go now. I'll update with any other issues.

Regards,

Ed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions