Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    sedeke Guest

    Default little change in OpenSuse10.3 installer 64

    Hi. Perhaps I found a small error in OpenSuse10.3 Installer.
    When configure nss-mysql I get an error on OpenSuse 10.3 64.
    /usr/lib/mysql/libmysqlclient.a not found. Yes I have only the 64bit version in /usr/lib64/mysql/libmysqlclient.a. So I change the script follow:

    Code:
    echo "Compiling source dependencies (nss-mysql)..."
    tar -C /usr/src -xf /tmp/hyperion-install/src/nss-mysql.tar
    cd /usr/src/nss-mysql-1.0
    if [ ! -e /usr/lib/mysql/libmysqlclient.a ]; then
      echo "libmysqlclient.a 32bit has not been installed. Checking for 64bit."
      if [ ! -e /usr/lib64/mysql/libmysqlclient.a ]; then
         echo "libmysqlclient.a has not been installed. Aborting installation."
         echo ""
         exit 0
      else
         echo "libmysqlclient.a 64bit found."
         export NSS_MYSQL_LIB="--with-mysql-lib=/usr/lib64/mysql/"
      fi
    fi
    ./configure $NSS_MYSQL_LIB
    make
    make install
    Maybe you find it usefull.

  2. #2
    Gertjan Guest

    Default

    I know, but I fixed that already.
    But I still don't have access to my webspace, so I am not able to upload the new files.

    But thanks anyway.

  3. #3
    sedeke Guest

    Default

    May the is a second problem. In the install script is following defined:
    Code:
    REPOSITORY=("-r bf_6_4 open-xchange"
    	    "-r bf_6_4 open-xchange-admin"
    	    "open-xchange-admin-console-ee"
    	    "-r bf_6_4 open-xchange-admin-plugin-imap"
    	    "-r bf_6_4 open-xchange-admin-plugin-mail"
    	    "-r bf_6_4 open-xchange-admin-plugin-mailfilter"
    	    "-r bf_6_4 open-xchange-admin-plugin-context_light"
    	    "-r bf_6_4 open-xchange-admin-plugin-ca_mgmt_simple"
    	    "-r bf_6_4 open-xchange-admin-plugin-osconfig"
    	    "-r bf_6_4 open-xchange-admin-plugin-services"
    	    "-r bf_6_4 open-xchange-admin-plugin-sw-update"
    	    "-r bf_6_4 open-xchange-admin-plugin-backup"
    	    "-r bf_6_4 open-xchange-gui"
    	    "open-xchange-admin-gui-ee"
    	    "open-xchange-admin-gui-ee-ajax"
    	    "open-xchange-admin-gui-ee-templates")
    when the download start from cvs I get following error:
    Code:
    + -r bf_6_4 open-xchange ... done.
     + -r bf_6_4 open-xchange-admin ... done.
     + open-xchange-admin-console-ee ... done.
     + -r bf_6_4 open-xchange-admin-plugin-imap ... done.
     + -r bf_6_4 open-xchange-admin-plugin-mail ... done.
     + -r bf_6_4 open-xchange-admin-plugin-mailfilter ... done.
     + -r bf_6_4 open-xchange-admin-plugin-context_light ... done.
     + -r bf_6_4 open-xchange-admin-plugin-ca_mgmt_simple ... done.
     + -r bf_6_4 open-xchange-admin-plugin-osconfig ... done.
     + -r bf_6_4 open-xchange-admin-plugin-services ... done.
     + -r bf_6_4 open-xchange-admin-plugin-sw-update ... done.
     + -r bf_6_4 open-xchange-admin-plugin-backup ... done.
     + -r bf_6_4 open-xchange-gui ... done.
     + open-xchange-admin-gui-ee ... done.
     + open-xchange-admin-gui-ee-ajax ... done.
     + open-xchange-admin-gui-ee-templates ... done.
     + ...cvs [checkout aborted]: must specify at least one module or directory
     done.
     + ...cvs [checkout aborted]: must specify at least one module or directory
     done.
     + ...cvs [checkout aborted]: must specify at least one module or directory
     done.
    the last three lines. Have no idea why they come out.
    Last edited by sedeke; 01-18-2008 at 08:38 PM.

  4. #4
    Gertjan Guest

    Default

    I've seen that as well and to be honest: I don't know what that means. It all seems to work afterwards, so I didn't care about it.

    (I read your PM, I have to leave now, I will reply to you tomorrow, but can you already give me your email address?)

  5. #5
    sedeke Guest

    Default

    well i found the error.
    The problem is in the array count. I'm not so familiar with arrays in bash so it take a bit.
    The script containt following line:
    Code:
    for((i=0;i<${#REPOSITORY}-3;i++));
    so the REPOSITORY contains 13 elements but give 16 out so it has to be redused by -3.
    You added the admin scripts. 3 elements more. The total count of elements was 16 but your count give 22 out. 6 to much.
    The correct code and line has to been follow:
    Code:
    for((i=0;i<${#REPOSITORY[@]};i++));

  6. #6
    Gertjan Guest

    Default

    Cool, that's solved too.
    I add this to the installer, but I'm running into a new compile error now. I try to fix it right now, then I will send you the latest installer in about one hour.
    Last edited by Gertjan; 01-19-2008 at 01:49 PM.

  7. #7
    sedeke Guest

    Default

    Hi I change your Installer a little bit more. Now the installer have colored output.
    You can download it here http://www.druckereiclassen.de/ox-hy...pensuse_103.sh

    I also add some cheks so if the compilation or ./configure or compilation with ant fail, the script stop. Think it's necessary, else the script goes on and make things we don't like.

  8. #8
    Gertjan Guest

    Default

    Yes, you are right on that, thanks. But please stop editing the old installer, I'm afraid that's a waste of time.

  9. #9
    Gertjan Guest

    Default

    Did you receive my email?

  10. #10
    sedeke Guest

    Default

    not yet. But I'm in trouble here. Can you send again?
    Please

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •