Changes between Version 1 and Version 2 of Platforms


Ignore:
Timestamp:
Oct 12, 2010, 12:29:51 PM (14 years ago)
Author:
Peter Baumann
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Platforms

    v1 v2  
    2020
    2121{{{
    22 Overall I think I was successful in that while I have doesn't an exhaustive check of all the features, the server runs and I can perform a simple query using rasql. Hopefully these notes will be useful.
     22Overall I think I was successful in that while I have doesn't an exhaustive check of all the features,
     23the server runs and I can perform a simple query using rasql. Hopefully these notes will be useful.
    2324
    24 The environment I used is Solaris 10 running on an AMD Opteron. The OS is 64bit but all the libraries and compilers used were 32bit. The compiler I used was gcc 3.4.3 with the Sun linker. I thought I'd also include a couple of notes on two of the more unusual dependences, hdf and netpbm, even though they not specifically related to you.
     25The environment I used is Solaris 10 running on an AMD Opteron. The OS is 64bit but all the libraries and
     26compilers used were 32bit. The compiler I used was gcc 3.4.3 with the Sun linker. I thought I'd also include
     27a couple of notes on two of the more unusual dependences, hdf and netpbm, even though they not specifically
     28related to you.
    2529
    2630
     
    3135
    3236netpbm:
    33 * converter/other/jpeg2000/pamtojpeg2k.c and converter/other/jpeg2000/jpeg2ktopam.c need -std=c99 added to their compile parameters to compile. This may have been a problem with gcc 3.4.3 however.
     37* converter/other/jpeg2000/pamtojpeg2k.c and converter/other/jpeg2000/jpeg2ktopam.c need -std=c99 added to
     38  their compile parameters to compile. This may have been a problem with gcc 3.4.3 however.
    3439* window.c in netpbm/other/pamx needs:
    3540    #if !defined (__SVR4) && !defined (__sun)
    3641      #include <X11/Xdefs.h>  /* Needed by Xutil.h */
    3742    #endif
    38 to only include Xdefs.h if not compiling on Solaris. Apparantly checking for __SVR4 and __sun is the portable way to tell if compiling on Solaris.
     43to only include Xdefs.h if not compiling on Solaris. Apparantly checking for __SVR4 and __sun is the portable
     44way to tell if compiling on Solaris.
    3945
    4046Rasdaman:
     
    4652
    4753* edit configure.in to use libcurses and not libncurses
    48 * had to edit generated configure to replace instances of <var>+=<param> to <var>="$var <param>" - I thought there was a way in Autoconf to control this but couldn't find out how from the documentation(Solaris 10 uses bash v3 which doesn't support appending variables using +=)
     54* had to edit generated configure to replace instances of <var>+=<param> to <var>="$var <param>" - I thought there
     55  was a way in Autoconf to control this but couldn't find out how from the documentation(Solaris 10 uses bash v3
     56  which doesn't support appending variables using +=)
    4957* had to install gawk, the included Solaris nawk doesn't work with the .awk scripts
    5058* rpcgen calls need -C -b added. On Linux, -C and -b flags are implied by default but on Solaris they are not
    51 * the -DSOLARIS check doesn't work so no source files get passed -DSOLARIS this is a problem for some source files(I hacked it into the Makefile.am AM_CXXFLAGS variable)
    52 * servercomm/servercomm.cc and servercomm/servercomm2.cc needs the gethostname commented out on line 77 and line 68 respectively as this conflicts with a built in function
     59* the -DSOLARIS check doesn't work so no source files get passed -DSOLARIS this is a problem for some source
     60  files(I hacked it into the Makefile.am AM_CXXFLAGS variable)
     61* servercomm/servercomm.cc and servercomm/servercomm2.cc needs the gethostname commented out on line 77 and line
     62  68 respectively as this conflicts with a built in function
    5363* had to upgrade Bison from the Solaris version(v1.8.75) to a newer version, I used v2.4.3
    5464* had to add AM_CXXFLAGS=@BASEDBCXXFLAGS@ and AM_LDFLAGS=@BASEDBLDFLAGS@ to conversion/Makefile.am
    55 * during configure the check for hdf.h and mfhdf.h failed but the configure didn't abort, these files seem to be required for conversion/hdf.cc
     65* during configure the check for hdf.h and mfhdf.h failed but the configure didn't abort, these files seem to be
     66  required for conversion/hdf.cc
    5667* had to upgrade Flex from Solaris default(v2.5.4) to a newer version, I used v2.5.35
    57 * had to add -lmalloc to server/Makefile.am AM_LDFLAGS parameter. If I added it to LDFLAGS passed to configure this broke servercomm/rpcif_svc.cc
    58 * rasmgr/rasmgr_config.hh and rasmgr/rasmgr_localsrv.cc added #ifdef SOLARIS around the #include <linux/limits.h> to include #include <limits.h> instead
     68* had to add -lmalloc to server/Makefile.am AM_LDFLAGS parameter. If I added it to LDFLAGS passed to configure
     69  this broke servercomm/rpcif_svc.cc
     70* rasmgr/rasmgr_config.hh and rasmgr/rasmgr_localsrv.cc added #ifdef SOLARIS around the #include <linux/limits.h>
     71  to include #include <limits.h> instead
    5972* rasmgr/Makefile.am added AM_LDFLAGS=@BASEDBLDFLAGS@ to fix linking problems
    6073* rascontrol/Makefile.am added AM_LDFLAGS=@BASEDBLDFLAGS@ to fix linking problems
     
    6275* insertutils/Makefile.am added @BASEDBLDFLAGS@ to AM_LDFLAGS to fix linking problems
    6376
    64 The CPPFLAGS and LDFLAGS variables passed to configure point to the paths where I installed all the upgrades over the Solaris default apps. LD_LIBRARY_PATH and PATH has the same folders before the Solaris default folders to make sure my libraries are picked up first.
     77The CPPFLAGS and LDFLAGS variables passed to configure point to the paths where I installed all the upgrades over
     78the Solaris default apps. LD_LIBRARY_PATH and PATH has the same folders before the Solaris default folders to make sure my libraries are picked up first.
    6579
    66 Not all the fixes above are the "correct" thing to do, in particular the check around #include <linux/limits.h>, but it was enough to get the software to compile and run.
     80Not all the fixes above are the "correct" thing to do, in particular the check around #include <linux/limits.h>,
     81but it was enough to get the software to compile and run.
    6782
    68 The version I used was the version in git checked out about 10 days ago or so. Everything seemed to work except for running rascontrol with the incorrect username or password. This would for some reason cause the server process to hang so RASQL commands wouldn't work. If the correct username and password were passed to rascontrol then everything worked fine.
     83The version I used was the version in git checked out about 10 days ago or so. Everything seemed to work except
     84for running rascontrol with the incorrect username or password. This would for some reason cause the server process
     85to hang so RASQL commands wouldn't work. If the correct username and password were passed to rascontrol then
     86everything worked fine.
    6987
    7088I was successfully able to import the 3 provided sample images and retrieve them using RASQL queries.
     
    8199Code has been ported to IRIX earlier, but hasn't been compiled there for a long time. Re-porting it is necessary.
    82100
    83 == SGI IRIX ==
     101== MS Windows ==
    84102
    85 Code has been ported to IRIX earlier, but hasn't been compiled there for a long time. Re-porting it is necessary.
     103The client API (''raslib'') has been ported to Windows long time ago. Needs checking again, I suspect it will not run out of the box.