MHVTL package 1.4.8 not updating via GUI/Console

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

MHVTL package 1.4.8 not updating via GUI/Console

marcos_fire
Hi All

I recently tried updating mhvtl pacakge via GUI/Console.... unfortunately, it didn't work.... can someone help

It fails with compilation error !!

Error logs (let me know if you need anything else):
==========================================================================
MHVTL Updates Available :  1.4.8-git-41b475d
Updating MHVTL, Please Wait ...
Stopping MHVTL, Please Wait ...
shutdown of mhvtl
mhvtl not running...
Removing mhvtl kernel module
make -C usr distclean
make[1]: Entering directory `/var/www/html/mhvtl/mhvtl.git/usr'
rm -f vtltape.o vtltape \
        dump_tape.o dump_tape \
        edit_tape.o edit_tape \
        q.o q \
        vtlcmd.o vtlcmd \
        dump_messageQ.o dump_messageQ \
        core mktape mktape.o \
        vtllib.o libvtlscsi.so \
        libvtlcart.so vtlcart.o spc.o \
        smc.o ssc.o \
        default_ssc_pm.o \
        ult3580_pm.o \
        hp_ultrium_pm.o \
        stk9x40_pm.o \
        quantum_dlt_pm.o \
        ait_pm.o t10000_pm.o ibm_03592_pm.o \
        z.o z \
        mode.o \
        log.o \
        subprocess.o \
        TAGS \
        make_vtl_media \
        make_vtl_media.1 \
        tapeexerciser tapeexerciser.o \
        vtllibrary vtllibrary.o
make[1]: Leaving directory `/var/www/html/mhvtl/mhvtl.git/usr'
make -C etc distclean
make[1]: Entering directory `/var/www/html/mhvtl/mhvtl.git/etc'
rm -f mhvtl
make[1]: Leaving directory `/var/www/html/mhvtl/mhvtl.git/etc'
make -C scripts distclean
make[1]: Entering directory `/var/www/html/mhvtl/mhvtl.git/scripts'
rm -f update_device.conf
make[1]: Leaving directory `/var/www/html/mhvtl/mhvtl.git/scripts'
make -C kernel distclean
make[1]: Entering directory `/var/www/html/mhvtl/mhvtl.git/kernel'
rm -f mhvtl.o mhvtl.ko \
        *.o \
        *.o.d \
        mhvtl.mod.c \
        Modules.symvers \
        Module.symvers \
        .mhvtl.ko.cmd \
        .mhvtl.o.cmd \
        .mhvtl.mod.o.cmd \
        .event.o.cmd \
        .event.o.d \
        Module.markers \
        modules.order \
        TAGS
rm -rf .tmp_versions
make[1]: Leaving directory `/var/www/html/mhvtl/mhvtl.git/kernel'
make -C /lib/modules/2.6.18-348.3.1.el5.centos.plus/build SUBDIRS=/var/www/html/mhvtl/mhvtl.git/kernel modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-348.3.1.el5.centos.plus-x86_64'
  CC [M]  /var/www/html/mhvtl/mhvtl.git/kernel/mhvtl.o
  Building modules, stage 2.
  MODPOST
  CC      /var/www/html/mhvtl/mhvtl.git/kernel/mhvtl.mod.o
  LD [M]  /var/www/html/mhvtl/mhvtl.git/kernel/mhvtl.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-348.3.1.el5.centos.plus-x86_64'
make -C usr USR=vtl GROUP=vtl MHVTL_HOME_PATH=/opt/mhvtl MHVTL_CONFIG_PATH=/etc/mhvtl
make[1]: Entering directory `/var/www/html/mhvtl/mhvtl.git/usr'
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUSR=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic log.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUSR=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic mode.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUSR=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic vtllib.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUSR=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic spc.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUSR=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic smc.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUSR=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic q.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUSR=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic subprocess.c
cc -shared  -o libvtlscsi.so vtllib.o spc.o smc.o q.o \
                mode.o log.o subprocess.o -lpthread
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUSR=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic log.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUSR=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic q.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUSR=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic -o vtlcart.o vtlcart.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUSR=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic vtllib.c
cc -shared  -o libvtlcart.so vtllib.o vtlcart.o q.o log.o \
                                -lpthread
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUSR=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\"   -c -o vtltape.o vtltape.c
make[1]: Leaving directory `/var/www/html/mhvtl/mhvtl.git/usr'
Compilation Error ... Exitting ...
 =====================================================================
- Marcos

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Small steps make way to that Giant Leap...So step up !!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
nia
Reply | Threaded
Open this post in threaded view
|

Re: MHVTL package 1.4.8 not updating via GUI/Console

nia
Administrator
Looks like the errors are not showing up .. Could you perform this again manually :


sh -x scripts/update_mhvtl.sh

Thanks
-nia
nia
Reply | Threaded
Open this post in threaded view
|

Re: MHVTL package 1.4.8 not updating via GUI/Console

nia
Administrator
Correction :

cd scripts
sh -x ./update_mhvtl.sh
Reply | Threaded
Open this post in threaded view
|

Re: MHVTL package 1.4.8 not updating via GUI/Console

marcos_fire
Hi Nia,


Manual way for updating failed too...

Details:
---------------------------------------------------------------
[root@cntosmhvtl2 scripts]# cd /var/www/html/mhvtl/scripts
[root@cntosmhvtl2 scripts]#
[root@cntosmhvtl2 scripts]#
[root@cntosmhvtl2 scripts]# ./update_mhvtl.sh
MHVTL Updates Available :  1.4.8-git-41b475d
Updating MHVTL, Please Wait ...
Stopping MHVTL, Please Wait ...
shutdown of mhvtl
mhvtl not running...
Removing mhvtl kernel module
make -C usr distclean
make[1]: Entering directory `/var/www/html/mhvtl/mhvtl.git/usr'
rm -f vtltape.o vtltape \
        dump_tape.o dump_tape \
        edit_tape.o edit_tape \
        q.o q \
        vtlcmd.o vtlcmd \
        dump_messageQ.o dump_messageQ \
        core mktape mktape.o \
        vtllib.o libvtlscsi.so \
        libvtlcart.so vtlcart.o spc.o \
        smc.o ssc.o \
        default_ssc_pm.o \
        ult3580_pm.o \
        hp_ultrium_pm.o \
        stk9x40_pm.o \
        quantum_dlt_pm.o \
        ait_pm.o t10000_pm.o ibm_03592_pm.o \
        z.o z \
        mode.o \
        log.o \
        subprocess.o \
        TAGS \
        make_vtl_media \
        make_vtl_media.1 \
        tapeexerciser tapeexerciser.o \
        vtllibrary vtllibrary.o
make[1]: Leaving directory `/var/www/html/mhvtl/mhvtl.git/usr'
make -C etc distclean
make[1]: Entering directory `/var/www/html/mhvtl/mhvtl.git/etc'
rm -f mhvtl
make[1]: Leaving directory `/var/www/html/mhvtl/mhvtl.git/etc'
make -C scripts distclean
make[1]: Entering directory `/var/www/html/mhvtl/mhvtl.git/scripts'
rm -f update_device.conf
make[1]: Leaving directory `/var/www/html/mhvtl/mhvtl.git/scripts'
make -C kernel distclean
make[1]: Entering directory `/var/www/html/mhvtl/mhvtl.git/kernel'
rm -f mhvtl.o mhvtl.ko \
        *.o \
        *.o.d \
        mhvtl.mod.c \
        Modules.symvers \
        Module.symvers \
        .mhvtl.ko.cmd \
        .mhvtl.o.cmd \
        .mhvtl.mod.o.cmd \
        .event.o.cmd \
        .event.o.d \
        Module.markers \
        modules.order \
        TAGS
rm -rf .tmp_versions
make[1]: Leaving directory `/var/www/html/mhvtl/mhvtl.git/kernel'
make -C /lib/modules/2.6.18-348.3.1.el5.centos.plus/build SUBDIRS=/var/www/html/mhvtl/mhvtl.git/kernel modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-348.3.1.el5.centos.plus-x86_64'
  CC [M]  /var/www/html/mhvtl/mhvtl.git/kernel/mhvtl.o
  Building modules, stage 2.
  MODPOST
  CC      /var/www/html/mhvtl/mhvtl.git/kernel/mhvtl.mod.o
  LD [M]  /var/www/html/mhvtl/mhvtl.git/kernel/mhvtl.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-348.3.1.el5.centos.plus-x86_64'
make -C usr USR=vtl GROUP=vtl MHVTL_HOME_PATH=/opt/mhvtl MHVTL_CONFIG_PATH=/etc/mhvtl
make[1]: Entering directory `/var/www/html/mhvtl/mhvtl.git/usr'
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic log.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic mode.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic vtllib.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic spc.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic smc.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic q.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic subprocess.c
cc -shared  -o libvtlscsi.so vtllib.o spc.o smc.o q.o \
                mode.o log.o subprocess.o -lpthread
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic log.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic q.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic -o vtlcart.o vtlcart.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic vtllib.c
cc -shared  -o libvtlcart.so vtllib.o vtlcart.o q.o log.o \
                                -lpthread
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\"   -c -o vtltape.o vtltape.c
vtltape.c:95:18: error: zlib.h: No such file or directory
vtltape.c:96:25: error: lzo/lzoconf.h: No such file or directory
vtltape.c:97:23: error: lzo/lzo1x.h: No such file or directory
vtltape.c: In function âuncompress_lzo_blockâ:
vtltape.c:583: error: âlzo_uintâ undeclared (first use in this function)
vtltape.c:583: error: (Each undeclared identifier is reported only once
vtltape.c:583: error: for each function it appears in.)
vtltape.c:583: error: expected â;â before âuncompress_szâ
vtltape.c:611: error: âuncompress_szâ undeclared (first use in this function)
vtltape.c:622: warning: implicit declaration of function âlzo1x_decompressâ
vtltape.c:638: error: âLZO_E_OKâ undeclared (first use in this function)
vtltape.c: In function âuncompress_zlib_blockâ:
vtltape.c:657: error: âuLongfâ undeclared (first use in this function)
vtltape.c:657: error: expected â;â before âuncompress_szâ
vtltape.c:687: error: âuncompress_szâ undeclared (first use in this function)
vtltape.c:698: warning: implicit declaration of function âuncompressâ
vtltape.c:715: error: âZ_OKâ undeclared (first use in this function)
vtltape.c:720: error: âZ_MEM_ERRORâ undeclared (first use in this function)
vtltape.c:725: error: âZ_DATA_ERRORâ undeclared (first use in this function)
vtltape.c:730: error: âZ_BUF_ERRORâ undeclared (first use in this function)
vtltape.c: At top level:
vtltape.c:827: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âmhvtl_compressBoundâ
vtltape.c: In function âwriteBlock_lzoâ:
vtltape.c:879: error: âlzo_uintâ undeclared (first use in this function)
vtltape.c:879: error: expected â;â before âdest_lenâ
vtltape.c:880: error: expected â;â before âsrc_lenâ
vtltape.c:881: error: âlzo_bytepâ undeclared (first use in this function)
vtltape.c:881: error: expected â;â before âdest_bufâ
vtltape.c:882: error: expected â;â before âwrkmemâ
vtltape.c:884: error: expected â;â before âsrc_bufâ
vtltape.c:900: error: âdest_lenâ undeclared (first use in this function)
vtltape.c:900: warning: implicit declaration of function âmhvtl_compressBoundâ
vtltape.c:901: error: âdest_bufâ undeclared (first use in this function)
vtltape.c:901: error: expected â;â before âmallocâ
vtltape.c:902: error: âwrkmemâ undeclared (first use in this function)
vtltape.c:902: error: expected â;â before âmallocâ
vtltape.c:910: warning: implicit declaration of function âlzo1x_1_compressâ
vtltape.c:910: error: âsrc_bufâ undeclared (first use in this function)
vtltape.c:911: error: âLZO_E_OKâ undeclared (first use in this function)
vtltape.c:921: error: âsrc_lenâ undeclared (first use in this function)
vtltape.c: In function âwriteBlock_zlibâ:
vtltape.c:942: error: âBytefâ undeclared (first use in this function)
vtltape.c:942: error: âdest_bufâ undeclared (first use in this function)
vtltape.c:943: error: âuLongâ undeclared (first use in this function)
vtltape.c:943: error: expected â;â before âdest_lenâ
vtltape.c:944: error: expected â;â before âsrc_lenâ
vtltape.c:959: error: âdest_lenâ undeclared (first use in this function)
vtltape.c:959: warning: implicit declaration of function âcompressBoundâ
vtltape.c:960: error: expected expression before â)â token
vtltape.c:967: warning: implicit declaration of function âcompress2â
vtltape.c:969: error: âZ_OKâ undeclared (first use in this function)
vtltape.c:971: error: âZ_MEM_ERRORâ undeclared (first use in this function)
vtltape.c:974: error: âZ_BUF_ERRORâ undeclared (first use in this function)
vtltape.c:978: error: âZ_DATA_ERRORâ undeclared (first use in this function)
vtltape.c:990: error: âsrc_lenâ undeclared (first use in this function)
vtltape.c: In function âinit_luâ:
vtltape.c:2546: error: âZ_NO_COMPRESSIONâ undeclared (first use in this function)
vtltape.c:2547: error: âZ_BEST_COMPRESSIONâ undeclared (first use in this function)
vtltape.c: In function âinit_lu_sscâ:
vtltape.c:2646: error: âZ_BEST_SPEEDâ undeclared (first use in this function)
vtltape.c: In function âmainâ:
vtltape.c:2803: warning: implicit declaration of function âlzo_initâ
vtltape.c:2803: error: âLZO_E_OKâ undeclared (first use in this function)
make[1]: *** [vtltape.o] Error 1
make[1]: Leaving directory `/var/www/html/mhvtl/mhvtl.git/usr'
make: *** [usr] Error 2
Compilation Error ... Exitting ...
[root@cntosmhvtl2 scripts]#
------------------------------------------------------------------------------------------
- Marcos

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Small steps make way to that Giant Leap...So step up !!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Reply | Threaded
Open this post in threaded view
|

Re: MHVTL package 1.4.8 not updating via GUI/Console

Mark Harvey
Administrator
you don't have the zlib or lzo development packages installed...

Sent from my iPad

On Aug 27, 2013, at 1:11, "marcos_fire [via mhVTL - A Linux Virtual Tape Library]" <[hidden email]> wrote:

Hi Nia,


Manual way for updating failed too...

Details:
---------------------------------------------------------------
[root@cntosmhvtl2 scripts]# cd /var/www/html/mhvtl/scripts
[root@cntosmhvtl2 scripts]#
[root@cntosmhvtl2 scripts]#
[root@cntosmhvtl2 scripts]# ./update_mhvtl.sh
MHVTL Updates Available :  1.4.8-git-41b475d
Updating MHVTL, Please Wait ...
Stopping MHVTL, Please Wait ...
shutdown of mhvtl
mhvtl not running...
Removing mhvtl kernel module
make -C usr distclean
make[1]: Entering directory `/var/www/html/mhvtl/mhvtl.git/usr'
rm -f vtltape.o vtltape \
        dump_tape.o dump_tape \
        edit_tape.o edit_tape \
        q.o q \
        vtlcmd.o vtlcmd \
        dump_messageQ.o dump_messageQ \
        core mktape mktape.o \
        vtllib.o libvtlscsi.so \
        libvtlcart.so vtlcart.o spc.o \
        smc.o ssc.o \
        default_ssc_pm.o \
        ult3580_pm.o \
        hp_ultrium_pm.o \
        stk9x40_pm.o \
        quantum_dlt_pm.o \
        ait_pm.o t10000_pm.o ibm_03592_pm.o \
        z.o z \
        mode.o \
        log.o \
        subprocess.o \
        TAGS \
        make_vtl_media \
        make_vtl_media.1 \
        tapeexerciser tapeexerciser.o \
        vtllibrary vtllibrary.o
make[1]: Leaving directory `/var/www/html/mhvtl/mhvtl.git/usr'
make -C etc distclean
make[1]: Entering directory `/var/www/html/mhvtl/mhvtl.git/etc'
rm -f mhvtl
make[1]: Leaving directory `/var/www/html/mhvtl/mhvtl.git/etc'
make -C scripts distclean
make[1]: Entering directory `/var/www/html/mhvtl/mhvtl.git/scripts'
rm -f update_device.conf
make[1]: Leaving directory `/var/www/html/mhvtl/mhvtl.git/scripts'
make -C kernel distclean
make[1]: Entering directory `/var/www/html/mhvtl/mhvtl.git/kernel'
rm -f mhvtl.o mhvtl.ko \
        *.o \
        *.o.d \
        mhvtl.mod.c \
        Modules.symvers \
        Module.symvers \
        .mhvtl.ko.cmd \
        .mhvtl.o.cmd \
        .mhvtl.mod.o.cmd \
        .event.o.cmd \
        .event.o.d \
        Module.markers \
        modules.order \
        TAGS
rm -rf .tmp_versions
make[1]: Leaving directory `/var/www/html/mhvtl/mhvtl.git/kernel'
make -C /lib/modules/2.6.18-348.3.1.el5.centos.plus/build SUBDIRS=/var/www/html/mhvtl/mhvtl.git/kernel modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-348.3.1.el5.centos.plus-x86_64'
  CC [M]  /var/www/html/mhvtl/mhvtl.git/kernel/mhvtl.o
  Building modules, stage 2.
  MODPOST
  CC      /var/www/html/mhvtl/mhvtl.git/kernel/mhvtl.mod.o
  LD [M]  /var/www/html/mhvtl/mhvtl.git/kernel/mhvtl.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-348.3.1.el5.centos.plus-x86_64'
make -C usr USR=vtl GROUP=vtl MHVTL_HOME_PATH=/opt/mhvtl MHVTL_CONFIG_PATH=/etc/mhvtl
make[1]: Entering directory `/var/www/html/mhvtl/mhvtl.git/usr'
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic log.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic mode.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic vtllib.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic spc.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic smc.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic q.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic subprocess.c
cc -shared  -o libvtlscsi.so vtllib.o spc.o smc.o q.o \
                mode.o log.o subprocess.o -lpthread
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic log.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic q.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic -o vtlcart.o vtlcart.c
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\" -c -fpic vtllib.c
cc -shared  -o libvtlcart.so vtllib.o vtlcart.o q.o log.o \
                                -lpthread
cc -Wall -Wshadow -g -O2 -D_LARGEFILE64_SOURCE  -I../kernel -DMHVTL_VERSION=\"1.4.8-git-41b475d\" -D_GNU_SOURCE -DMHVTL_DEBUG -DUS
R=\"vtl\" -DMHVTL_HOME_PATH=\"/opt/mhvtl\" -DMHVTL_CONFIG_PATH=\"/etc/mhvtl\"   -c -o vtltape.o vtltape.c
vtltape.c:95:18: error: zlib.h: No such file or directory
vtltape.c:96:25: error: lzo/lzoconf.h: No such file or directory
vtltape.c:97:23: error: lzo/lzo1x.h: No such file or directory
vtltape.c: In function âuncompress_lzo_blockâ:
vtltape.c:583: error: âlzo_uintâ undeclared (first use in this function)
vtltape.c:583: error: (Each undeclared identifier is reported only once
vtltape.c:583: error: for each function it appears in.)
vtltape.c:583: error: expected â;â before âuncompress_szâ
vtltape.c:611: error: âuncompress_szâ undeclared (first use in this function)
vtltape.c:622: warning: implicit declaration of function âlzo1x_decompressâ
vtltape.c:638: error: âLZO_E_OKâ undeclared (first use in this function)
vtltape.c: In function âuncompress_zlib_blockâ:
vtltape.c:657: error: âuLongfâ undeclared (first use in this function)
vtltape.c:657: error: expected â;â before âuncompress_szâ
vtltape.c:687: error: âuncompress_szâ undeclared (first use in this function)
vtltape.c:698: warning: implicit declaration of function âuncompressâ
vtltape.c:715: error: âZ_OKâ undeclared (first use in this function)
vtltape.c:720: error: âZ_MEM_ERRORâ undeclared (first use in this function)
vtltape.c:725: error: âZ_DATA_ERRORâ undeclared (first use in this function)
vtltape.c:730: error: âZ_BUF_ERRORâ undeclared (first use in this function)
vtltape.c: At top level:
vtltape.c:827: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âmhvtl_compressBoundâ
vtltape.c: In function âwriteBlock_lzoâ:
vtltape.c:879: error: âlzo_uintâ undeclared (first use in this function)
vtltape.c:879: error: expected â;â before âdest_lenâ
vtltape.c:880: error: expected â;â before âsrc_lenâ
vtltape.c:881: error: âlzo_bytepâ undeclared (first use in this function)
vtltape.c:881: error: expected â;â before âdest_bufâ
vtltape.c:882: error: expected â;â before âwrkmemâ
vtltape.c:884: error: expected â;â before âsrc_bufâ
vtltape.c:900: error: âdest_lenâ undeclared (first use in this function)
vtltape.c:900: warning: implicit declaration of function âmhvtl_compressBoundâ
vtltape.c:901: error: âdest_bufâ undeclared (first use in this function)
vtltape.c:901: error: expected â;â before âmallocâ
vtltape.c:902: error: âwrkmemâ undeclared (first use in this function)
vtltape.c:902: error: expected â;â before âmallocâ
vtltape.c:910: warning: implicit declaration of function âlzo1x_1_compressâ
vtltape.c:910: error: âsrc_bufâ undeclared (first use in this function)
vtltape.c:911: error: âLZO_E_OKâ undeclared (first use in this function)
vtltape.c:921: error: âsrc_lenâ undeclared (first use in this function)
vtltape.c: In function âwriteBlock_zlibâ:
vtltape.c:942: error: âBytefâ undeclared (first use in this function)
vtltape.c:942: error: âdest_bufâ undeclared (first use in this function)
vtltape.c:943: error: âuLongâ undeclared (first use in this function)
vtltape.c:943: error: expected â;â before âdest_lenâ
vtltape.c:944: error: expected â;â before âsrc_lenâ
vtltape.c:959: error: âdest_lenâ undeclared (first use in this function)
vtltape.c:959: warning: implicit declaration of function âcompressBoundâ
vtltape.c:960: error: expected expression before â)â token
vtltape.c:967: warning: implicit declaration of function âcompress2â
vtltape.c:969: error: âZ_OKâ undeclared (first use in this function)
vtltape.c:971: error: âZ_MEM_ERRORâ undeclared (first use in this function)
vtltape.c:974: error: âZ_BUF_ERRORâ undeclared (first use in this function)
vtltape.c:978: error: âZ_DATA_ERRORâ undeclared (first use in this function)
vtltape.c:990: error: âsrc_lenâ undeclared (first use in this function)
vtltape.c: In function âinit_luâ:
vtltape.c:2546: error: âZ_NO_COMPRESSIONâ undeclared (first use in this function)
vtltape.c:2547: error: âZ_BEST_COMPRESSIONâ undeclared (first use in this function)
vtltape.c: In function âinit_lu_sscâ:
vtltape.c:2646: error: âZ_BEST_SPEEDâ undeclared (first use in this function)
vtltape.c: In function âmainâ:
vtltape.c:2803: warning: implicit declaration of function âlzo_initâ
vtltape.c:2803: error: âLZO_E_OKâ undeclared (first use in this function)
make[1]: *** [vtltape.o] Error 1
make[1]: Leaving directory `/var/www/html/mhvtl/mhvtl.git/usr'
make: *** [usr] Error 2
Compilation Error ... Exitting ...
[root@cntosmhvtl2 scripts]#
------------------------------------------------------------------------------------------
- Marcos

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Small steps make way to that Giant Leap...So step up !!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



To start a new topic under mhVTL - A Linux Virtual Tape Library, email [hidden email]
To unsubscribe from mhVTL - A Linux Virtual Tape Library, click here.
NAML
Regards from Australia
Mark Harvey