Changes between Version 1 and Version 2 of Platforms
- Timestamp:
- Oct 12, 2010, 12:29:51 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Platforms
v1 v2 20 20 21 21 {{{ 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. 22 Overall I think I was successful in that while I have doesn't an exhaustive check of all the features, 23 the server runs and I can perform a simple query using rasql. Hopefully these notes will be useful. 23 24 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. 25 The environment I used is Solaris 10 running on an AMD Opteron. The OS is 64bit but all the libraries and 26 compilers used were 32bit. The compiler I used was gcc 3.4.3 with the Sun linker. I thought I'd also include 27 a couple of notes on two of the more unusual dependences, hdf and netpbm, even though they not specifically 28 related to you. 25 29 26 30 … … 31 35 32 36 netpbm: 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. 34 39 * window.c in netpbm/other/pamx needs: 35 40 #if !defined (__SVR4) && !defined (__sun) 36 41 #include <X11/Xdefs.h> /* Needed by Xutil.h */ 37 42 #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. 43 to only include Xdefs.h if not compiling on Solaris. Apparantly checking for __SVR4 and __sun is the portable 44 way to tell if compiling on Solaris. 39 45 40 46 Rasdaman: … … 46 52 47 53 * 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 +=) 49 57 * had to install gawk, the included Solaris nawk doesn't work with the .awk scripts 50 58 * 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 53 63 * had to upgrade Bison from the Solaris version(v1.8.75) to a newer version, I used v2.4.3 54 64 * 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 56 67 * 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 59 72 * rasmgr/Makefile.am added AM_LDFLAGS=@BASEDBLDFLAGS@ to fix linking problems 60 73 * rascontrol/Makefile.am added AM_LDFLAGS=@BASEDBLDFLAGS@ to fix linking problems … … 62 75 * insertutils/Makefile.am added @BASEDBLDFLAGS@ to AM_LDFLAGS to fix linking problems 63 76 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. 77 The CPPFLAGS and LDFLAGS variables passed to configure point to the paths where I installed all the upgrades over 78 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. 65 79 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. 80 Not all the fixes above are the "correct" thing to do, in particular the check around #include <linux/limits.h>, 81 but it was enough to get the software to compile and run. 67 82 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. 83 The version I used was the version in git checked out about 10 days ago or so. Everything seemed to work except 84 for running rascontrol with the incorrect username or password. This would for some reason cause the server process 85 to hang so RASQL commands wouldn't work. If the correct username and password were passed to rascontrol then 86 everything worked fine. 69 87 70 88 I was successfully able to import the 3 provided sample images and retrieve them using RASQL queries. … … 81 99 Code has been ported to IRIX earlier, but hasn't been compiled there for a long time. Re-porting it is necessary. 82 100 83 == SGI IRIX==101 == MS Windows == 84 102 85 Code has been ported to IRIX earlier, but hasn't been compiled there for a long time. Re-porting it is necessary.103 The client API (''raslib'') has been ported to Windows long time ago. Needs checking again, I suspect it will not run out of the box.