Common installation problems and solutions
After installing the Diva System Release for Linux the driver modules need to be built for the currently running kernel. During this process the Diva System Release checks that all requirements are fulfilled.
Should the Diva software detect any problems (i.e.missing sources or libraries) the most likely root cause will be prompted. Additional information can be found in the corresponding installer log <install-directory>/divas/Diva4Linux_installer.log and build log /usr/lib/opendiva/divas/src/divas.log.
This article aims to list typical issues and possible courses of action.
Installation Problem
#Â Â sh Diva4Linux_installer_9.5-110-91.bin ----------------------
Installing Diva System Release 9.5LIN
 Build 110-91...
6) installing Diva for Linux   failed; check logfile /tmp/divas/Diva4Linux_installer.log.
Diva4Linux_installer.log shows
error: %pre(divas4linux_SOURCE-110.95-1.i386) scriptlet failed, exit status 1 error:Â Â install: %pre scriptlet failed (2), skipping divas4linux_SOURCE-110.95-1
Course of action:
Make sure the installation requirements are fulfilled.
Make sure the folders /usr/lib/eicon/ or /usr/lib/opendiva or parts of them do not exist (maybe from an earlier, unsuccessful installation).
Build Problems
Build Problem 1
# cd /usr/lib/opendiva/divas/src; ./Build -nowait
....
PROCESSING: Please press CTRL-C to abort (waiting 15 sec) ... SKIP (due to command line option)
PROCESSING: Cleanup ... OK
PROCESSING: Check system environment ...
 ---------------------------------------------------------
 ERROR :      Can not locate kernel source directory
               You can create symbolic link to source code of active kernel using
               'ln -s /lib/modules/<KERNEL-VERSION>/source /usr/src/linux'
 MISSING:     /usr/src/linux
 Execution aborted, please see '/usr/lib/opendiva/divas/src/divas.log' file for details
 ---------------------------------------------------------
Course of action:
Make sure the kernel sources for the currently running kernel are installed.
Set symbolic link '/usr/src/linux' to kernel source directory of currently running kernel.
Build Problem 2
# cd /usr/lib/opendiva/divas/src; ./Build -nowait
...
# --------------------------------------------------------------
PROCESSING: Please press CTRL-C to abort (waiting 15 sec) ... SKIP (due to command line option)
PROCESSING: Cleanup ... OK
PROCESSING: Check system environment ...
 ---------------------------------------------------------
 ERROR :      Can not locate 'gcc' C++ compiler
 MISSING:     gcc
 Execution aborted, please see '/usr/lib/opendiva/divas/src/divas.log' file for details
 ---------------------------------------------------------
Â
Course of action:
Install gcc c++ compiler
Build Problem 3
# cd /usr/lib/opendiva/divas/src; ./Build -nowait
...
# --------------------------------------------------------------
PROCESSING: Please press CTRL-C to abort (waiting 15 sec) ... SKIP (due to command line option)
PROCESSING: Cleanup ... OK
PROCESSING: Check system environment ...
...
PROCESSING: Call 'make menuconfig' ...
 ---------------------------------------------------------
 ERROR :      Failed to execute 'make menuconfig'
 MISSING:     make menuconfig
 Execution aborted, please see '/usr/lib/opendiva/divas/src/divas.log' file for details
 ---------------------------------------------------------
Course of action:
Install ncurses-devel headers and libraries
Build Problem 4
# cd /usr/lib/opendiva/divas/src; ./Build -nowait
....
# --------------------------------------------------------------
PROCESSING: Please press CTRL-C to abort (waiting 15 sec) ... SKIP (due to command line option)
PROCESSING: Cleanup ... OK
PROCESSING: Check system environment ...
 ---------------------------------------------------------
 ERROR :      Can not locate kernel Makefile
 MISSING:     /usr/src/linux/Makefile
 Execution aborted, please see '/usr/lib/opendiva/divas/src/divas.log' file for details
 ---------------------------------------------------------
Course of action:
Make sure kernel sources for currently running kernel are installed
Build Problem 5
divas.log shows
....
#+ LOG END PROCESS STEP: 17
#+ LOG START PROCESS STEP 18: Kernel features
#+ LOG END PROCESS STEP: 18
#+ LOG START PROCESS STEP 19: /usr/src/linux/Module.symvers
#! LOG ABORT EXECUTION DUE TO ERRORÂ : Can not locate kernel file Module.symvers. Please install appropriate kernel headers or obj package.#! LOG ERROR INFO: /usr/src/linux/Module.symvers
Course of action:
Install kernel headers.
Make sure the kernel header version matches exactly the running kernel version.
Â