Trouble installing on CentOS 6.3

Issue #9 new
Adrian Reich created an issue

1) I downloaded the install.sh file manually with wget.

2) I kicked off the instalation with sudo

sudo bash install.sh 
Detecting operating system...
CentOS 6 detected.
Installing to prefix: /share/apps/bib
Checking for git...
git version 1.7.1
Downloading Bioinformatics Brew repository...
Initialized empty Git repository in /share/apps/bib/.git/
remote: Counting objects: 194, done.
remote: Compressing objects: 100% (191/191), done.
remote: Total 194 (delta 91), reused 0 (delta 0)
Receiving objects: 100% (194/194), 55.89 KiB, done.
Resolving deltas: 100% (91/91), done.
Creating directory tree.
Installing development kit...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 9275k  100 9275k    0     0  1259k      0  0:00:07  0:00:07 --:--:-- 5085k
Preparing database for first use.
bib: error: couldn't read the target architecture from the BIB_ARCH environment variable or the ARCH file created at install time

3) Looking at install.sh: "lib/bib-admin rebuild"

4) Tried to run bib-admin manually:

$ bib/active/bin/bib-admin rebuild
Traceback (most recent call last):
  File "bib/active/bin/bib-admin", line 38, in <module>
    bb_interface = bbi.BBInterface()
  File "/share/apps/bib/lib/interface.py", line 127, in __init__
    super(BBInterface,self).__init__()
  File "/share/apps/bib/lib/database.py", line 28, in __init__
    self.conn = sql.connect(path)
sqlite3.OperationalError: unable to open database file

Possibly relevant info:

A) I tried to install to a custom bin instead of /opt/bib/, I changed the line to "PREFIX=${1-"/share/apps/bib"}"

B) I commented out 1 line in the install.sh script "$SUDO chown $USER:$GROUP $PREFIX"

C) Entire contents of bib/ARCH: "centos6"

Comments (4)

  1. Adrian Reich reporter

    I reran after removing my comment change. No change, still the same bib error. Now the only change that I made to the script is A as above.

  2. awshen

    Hi Adrian,

    I'll take a look at this. Is the first system you have tried to install BiB on, or have you gotten BiB to install successfully on other systems in the past?

  3. Adrian Reich reporter

    I got it installed successfully on Ubuntu 14.04. It was a vanilla installation with all defaults.

  4. Log in to comment