IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 3 and Version 4 of Installing_IPP_FAQ


Ignore:
Timestamp:
May 5, 2009, 10:48:55 AM (17 years ago)
Author:
Sebastian Jester
Comment:

more pschecklibs -force build and some reformatting

Legend:

Unmodified
Added
Removed
Modified
  • Installing_IPP_FAQ

    v3 v4  
    1414This is the most painless way I found to build all dependencies in Heidelberg:
    1515
    16 # Download appropriate extlibs and extperl tarfiles from http://pan-starrs.ifa.hawaii.edu/project/IPP/software/
    17 # Unpack both in your IPP root directory, i.e. in the same directory where you unpacked the ipp-2.6.1.tgz (or whatever) tarball. In Heidelberg, it's called /IPP
    18 # Then
     16 1. Download appropriate extlibs and extperl tarfiles from http://pan-starrs.ifa.hawaii.edu/project/IPP/software/
     17 1. Unpack both in your IPP root directory, i.e. in the same directory where you unpacked the ipp-2.6.1.tgz (or whatever) tarball. In Heidelberg, it's called /IPP
     18 1. Then
    1919{{{
    2020 cd /IPP/ipp-2.6.1/psconfig
     
    2323}}}
    2424
    25 == The CFITSIO perl module doesn't build ==
     25== The CFITSIO perl module doesn't build, or some part of IPP complains about cfitsio missing, but it's installed! ==
    2626
    27 I found I needed to set an environment variable CFITSIO to the location of CFITSIO if it's non-standard, e.g.
     27I found I needed to set an environment variable CFITSIO to the location of CFITSIO if it's non-standard, e.g. inside the IPP install tree (including if pschecklibs / psbuild  put it there...)
    2828
    2929{{{
    3030 # for bash:
    31  export CFITSIO=/IPP/ipp-2.6.1.lin64/lib
     31 export CFITSIO=/IPP/ipp-2.6.1.lin64/
    3232 # for csh:
    33  setenv CFITSIO /IPP/ipp-2.6.1.lin64/lib
     33 setenv CFITSIO /IPP/ipp-2.6.1.lin64/
    3434}}}
    3535
     
    4646}}}
    4747
    48 [http://pan-starrs.ifa.hawaii.edu/bugzilla/show_bug.cgi?id=993 Bug 993] asks for a fix inside the build system.
     48#993 asks for a fix inside the build system; as above, `pschecklibs -build force` is the brute-force solution.
    4949
    5050== libtool says some library "was moved", but I didn't move anything! ==
     
    6464}}}
    6565
    66 etc. before you psbuild.
     66etc. before you psbuild. (At least some of these are now unset by psbuild automatically.)
    6767
    6868http://markmail.org/message/sinepfpepgj7tdff seems to have the real solution for the remaining cases:
     
    8686in the install tree, and the dependency_libs was the problem.
    8787
    88 I have no ideas how where or when these get set wrongly by libtool, but it seems to be a common bug in libtool.
     88I have no ideas how where or when these get set wrongly by libtool, but it seems to be a common bug in libtool. Again, these might be fixed by forcing installation of the autotools versions that are now in extlibs (see comment:ticket:1143:2), again with `pschecklibs -force build`.
    8989
    9090== DBD::mysql build error: "CPU you selected does not support x86-64 instruction set" ==
     
    109109}}}
    110110
    111 The <code>-m32 -march=i386</code> indicate that MySQL was built for 32-bit machines.  Furthermore, the fact that the include files are being sucked in from <code>/usr/include/mysql</code> indicates that it's trying to use the system version, rather than one we've installed ourselves.
     111The `-m32 -march=i386` indicate that MySQL was built for 32-bit machines.  Furthermore, the fact that the include files are being sucked in from `/usr/include/mysql` indicates that it's trying to use the system version, rather than one we've installed ourselves.
    112112
    113113The solution is to force MySQL to build:
     
    120120== libjpeg fails make ==
    121121
    122 libjpeg fails the <code>configure</code> script, or <code>make</code>, and <code>pschecklibs</code> reports:
     122libjpeg fails the `configure` script, or `make`, and `pschecklibs` reports:
    123123{{{
    124124problem building libjpeg : failure in make
     
    126126
    127127
    128 libjpeg is an old library, and the bundled files for running the <code>configure</code> script pre-date several systems (e.g., Mac OS X, 64-bit Linux machines).  You can get around this by going into the directory containing libjpeg and doing:
     128libjpeg is an old library, and the bundled files for running the `configure` script pre-date several systems (e.g., Mac OS X, 64-bit Linux machines).  You can get around this by going into the directory containing libjpeg and doing:
    129129{{{
    130130% cp /usr/share/libtool/config.guess .