Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.0.7
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:CentOS 5.5 x86_64
-
Platform:Linux x86_64/gcc
-
CPU Info:GenuineIntel - QEMU Virtual CPU version 0.13.0
-
GCC Version:4.1.2
-
FreeSWITCH GIT Revision:0e37dcb from Jan 23, 2011
-
Reproduced with GIT HEAD?:Yes
Description
There are a number of issues with building the mod_khomp module particularly related to its requirements: k3l
1) during the build process running tools/getk3l.sh and downloading k3l from the Internet is not allowed in any of the Enterprise and Government environments I know. I can disable the download and add the required file during the build. It would be even better if you just add the required file to mod_khomp/ and update it when necessary
2) the k3l_2.1_client_x86-64.sh script searches for a number of apps but gives strange results. Please note that the script is not run as root. Package builders in Enterprise and Government environments I know do not have root rights
install: depmod... *NOT FOUND* <-- depmod is present in /sbin
install: dialog... *NOT FOUND* <-- no idea what this is. is this maybe Ubuntu specific? I could not find a dialog app on CentOS
install: ldconfig... *NOT FOUND* <-- ldconfig is present in /sbin
3) packing k3l_2.1.0012_Client_x86_64tar.gz inside a shell script?
Why? Please don't do that or at least put on the wiki the information howto unpack it and extract k3l_2.1.0012_Client_x86_64tar.gz so that you can actually access the requirements. Why not put k3l_2.1.0012_Client_x86_64tar.gz and the shell script separately in the mod_khomp directory tree?
4) shell script refers to /usr/doc/khomp and /usr/src/khomp
The /usr/doc directory is wrong on RHEL/CentOS and I think also according to the LSB. Docs go into /usr/share/doc but this requires root rights... On RHEL/CentOS you need root rights to use /usr/src which builders in Enterprise and Government environments do not have.
1) during the build process running tools/getk3l.sh and downloading k3l from the Internet is not allowed in any of the Enterprise and Government environments I know. I can disable the download and add the required file during the build. It would be even better if you just add the required file to mod_khomp/ and update it when necessary
2) the k3l_2.1_client_x86-64.sh script searches for a number of apps but gives strange results. Please note that the script is not run as root. Package builders in Enterprise and Government environments I know do not have root rights
install: depmod... *NOT FOUND* <-- depmod is present in /sbin
install: dialog... *NOT FOUND* <-- no idea what this is. is this maybe Ubuntu specific? I could not find a dialog app on CentOS
install: ldconfig... *NOT FOUND* <-- ldconfig is present in /sbin
3) packing k3l_2.1.0012_Client_x86_64tar.gz inside a shell script?
Why? Please don't do that or at least put on the wiki the information howto unpack it and extract k3l_2.1.0012_Client_x86_64tar.gz so that you can actually access the requirements. Why not put k3l_2.1.0012_Client_x86_64tar.gz and the shell script separately in the mod_khomp directory tree?
4) shell script refers to /usr/doc/khomp and /usr/src/khomp
The /usr/doc directory is wrong on RHEL/CentOS and I think also according to the LSB. Docs go into /usr/share/doc but this requires root rights... On RHEL/CentOS you need root rights to use /usr/src which builders in Enterprise and Government environments do not have.