Opened 8 years ago

Closed 8 years ago

#772 closed defect (fixed)

rasdaman build errors in 5.0rc2

Reported by: hamish Owned by: live-demo@…
Priority: major Milestone:
Component: OSGeoLive Keywords: 5.0, rasdaman
Cc:

Description

make[1]: Leaving directory `/tmp/build_rasdaman/rasdaman_data/DataImport/demodata'
make -C nir import;   make -C lena import;   make -C mowglie import;   make -C timeseries import;   make -C demodata imp
ort; 
make[1]: Entering directory `/tmp/build_rasdaman/rasdaman_data/DataImport/nir'
echo "rasql -q 'insert into NIR values inv_tiff($1)' --file nir.tiff --user rasadmin --passwd rasadmin --port 7001 -d RA
SBASE"
rasql -q 'insert into NIR values inv_tiff()' --file nir.tiff --user rasadmin --passwd rasadmin --port 7001 -d RASBASE
rasql -q 'insert into NIR values inv_tiff($1)' --file nir.tiff --user rasadmin --passwd rasadmin --port 7001 -d RASBASE
rasql: rasdaman query tool v1.0, rasdaman v8 -- generated on 22.08.2011 16:24:27.
opening database RASBASE at localhost:7001...ok
fetching type information for GreyString from database, using readonly transaction...ok
reading file nir.tiff...ok
  constant 1: GMarray
  Oid...................: 
  Type Structure........: 
  Type Schema...........: marray< char >
  Domain................: [0:6195321]
  Base Type Schema......: char
  Base Type Length......: 1
  Data format.......... : Array
  Data size (bytes).... : 6195322
Executing update query...rasdaman error 0: Exception: Transfer Failed
aborting transaction...ok
rasql done.
make[1]: *** [import] Error 255
make[1]: Leaving directory `/tmp/build_rasdaman/rasdaman_data/DataImport/nir'
[...]
echo "rasql -q 'insert into lena values inv_tiff($1)' --file lena.tiff --user rasadmin --passwd rasadmin --port 7001 -d RASBASE"
rasql -q 'insert into lena values inv_tiff()' --file lena.tiff --user rasadmin --passwd rasadmin --port 7001 -d RASBASE
rasql -q 'insert into lena values inv_tiff($1)' --file lena.tiff --user rasadmin --passwd rasadmin --port 7001 -d RASBASE
[...]
Executing update query...rasdaman error 0: Exception: Transfer Failed
aborting transaction...ok
rasql done.
make[1]: *** [import] Error 255
make[1]: Leaving directory `/tmp/build_rasdaman/rasdaman_data/DataImport/lena'
[...]
scripts/insertbin localhost 7001 rasadmin rasadmin RASBASE NN3_10 Data/NN3_10.dat
scripts/insertbin: error while loading shared libraries: libmfhdf.so.0: cannot open shared object file: No such file or 
directory
scripts/insertbin localhost 7001 rasadmin rasadmin RASBASE NN3_11 Data/NN3_11.dat
scripts/insertbin: error while loading shared libraries: libmfhdf.so.0: cannot open shared object file: No such file or 
directory
make[1]: *** [import] Error 127
make[1]: Leaving directory `/tmp/build_rasdaman/rasdaman_data/DataImport/timeseries'

it is unknown to me if any of the above are fatal / harmless.

for the last one, perhaps installing the libhdf4-0 package is needed?

Hamish

Change history (7)

comment:1 Changed 8 years ago by hamish

libhdf4-0-alt seems installed.

do we also install libhdf4-0 or symlink from libmfhdfalt.so.0?

also openjdk-6-jre-headless was not being removed, fixed in r7025.

Hamish

comment:2 Changed 8 years ago by hamish

also it installs, but does not remove the following tex packages, which are fairly large:

texlive-binaries texlive-common texlive-doc-base texlive-extra-utils texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-pictures

?

please look through the 5.0rc2 build log and look for other orphaned build packages. we've painfully sacrificed installing mb-system & mapguide due to lack of disc space, and it would be sad to have those savings go to waste.

thanks, Hamish

comment:3 Changed 8 years ago by hamish

Hi,

when removing packages just be careful that any packages needed by e.g. liblas or mapfish don't get forcefully removed from the disc. things which were freshly installed at the beginning of the 5.0rc2 install_rasdaman.sh build-log should be safe to remove at the end of the same install script of course :)

(and also that liblas and mapfish should get special attention in the final testing, just in case we get it wrong)

thanks, Hamish

comment:4 Changed 8 years ago by hamish

status-

build errors all seem to be fixed, remaining question is if the installer actually needs to pull in openjdk at all, as sun's jdk is already installed and apparently the webapp is precompiled(?).

currently installed on 5.0rc3 which we'd like to do away with if we can:

openjdk-6-jre-headless openjdk-6-jre openjdk-6-jre-lib

thanks, Hamish

comment:5 Changed 8 years ago by hamish

Priority: criticalmajor

Hi,

there was a error in last night's build,

Making all in clientcomm
make[1]: Entering directory `/tmp/build_rasdaman/rasdaman/clientcomm'
/usr/bin/rpcgen -l -o rpcif_clnt.cc.tmp rpcif.x
gawk -f rpcif_clnt.c.awk rpcif_clnt.cc.tmp > rpcif_clnt.cc
rm rpcif_clnt.cc.tmp    
rm rpcif_xdr.c
rm: cannot remove `rpcif_xdr.c': No such file or directory
make[1]: [rpcif_xdr.c] Error 1 (ignored)

...

rasql -q 'insert into NIR values inv_tiff($1)' --file nir.tiff --user rasadmin --passwd rasadmin --port 7001 -d RASBASE
rasql: rasdaman query tool v1.0, rasdaman v8 -- generated on 25.08.2011 07:58:36.
opening database RASBASE at localhost:7001...ok
fetching type information for GreyString from database, using readonly transaction...ok
reading file nir.tiff...ok
  constant 1: GMarray
  Oid...................: 
  Type Structure........: 
  Type Schema...........: marray< char >
  Domain................: [0:6195321]
  Base Type Schema......: char
  Base Type Length......: 1
  Data format.......... : Array
  Data size (bytes).... : 6195322
Executing update query...rasdaman error 0: Exception: Transfer Failed
aborting transaction...ok
rasql done.
make[1]: *** [import] Error 255
make[1]: Leaving directory `/tmp/build_rasdaman/rasdaman_data/DataImport/nir'

...

rasql -q 'insert into lena values inv_tiff($1)' --file lena.tiff --user rasadmin --passwd rasadmin --port 7001 -d RASBASE
Spawned rasserver v8.2 on base DBMS pgsql -- generated on 25.08.2011 07:58:36.
rasql: rasdaman query tool v1.0, rasdaman v8 -- generated on 25.08.2011 07:58:36.
opening database RASBASE at localhost:7001...ok
fetching type information for GreyString from database, using readonly transaction...ok
reading file lena.tiff...ok
  constant 1: GMarray
  Oid...................: 
  Type Structure........: 
  Type Schema...........: marray< char >
  Domain................: [0:284345]
  Base Type Schema......: char
  Base Type Length......: 1
  Data format.......... : Array
  Data size (bytes).... : 284346
Executing update query...rasdaman error 0: Exception: Transfer Failed
aborting transaction...ok
rasql done.
make[1]: *** [import] Error 255
make[1]: Leaving directory `/tmp/build_rasdaman/rasdaman_data/DataImport/lena'

Hamish

comment:6 Changed 8 years ago by darkblueb

RC6 booted from .iso

user@user:~$ rasql -q "select png(rgb.red + rgb.blue ) from rgb" --out filerasql: rasdaman query tool v1.0, rasdaman v8 -- generated on 25.08.2011 22:40:37.
opening database RASBASE at localhost:7001...rasdaman error 805: RasManager Error: No suitable servers started, call administrator.
rasql done.

user@user:~$ sudo netstat -lptn
...
tcp        0      0 0.0.0.0:7001            0.0.0.0:*               LISTEN      3097/rasmgr   

comment:7 Changed 8 years ago by camerons

Resolution: fixed
Status: newclosed

On 5.0rc6, running ISO in a VM, with 768 Meg RAM:

I successfully ran the startup script from the pull down menu.

Then opened up the Demo, and ran one demo.

Hence I'm closing this issue as Fixed.

Note: See TracTickets for help on using tickets.