Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cspp-sdr-binary
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cspp-public-distro
cspp-sdr-binary
Commits
5ef75067
Commit
5ef75067
authored
11 months ago
by
Scott Mindock
Browse files
Options
Downloads
Patches
Plain Diff
Users stuff
parent
046f93db
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
distro/scripts/adl_cots.sh
+12
-153
12 additions, 153 deletions
distro/scripts/adl_cots.sh
with
12 additions
and
153 deletions
distro/scripts/adl_cots.sh
+
12
−
153
View file @
5ef75067
...
...
@@ -130,159 +130,7 @@ echo_vars()
}
chk_installed
()
{
echo
${
FUNCNAME
[0]
}
exit_now
=
0
echo
"Variables"
which
${
CC
}
which
${
CPP
}
which
${
CXX
}
which gcc
if
[
$?
-eq
1
]
;
then
echo
"Possible installation command"
echo
"sudo yum install gcc.x86_64"
exit_now
=
1
fi
which g++
if
[
$?
-eq
1
]
;
then
echo
"Possible installation command"
echo
"sudo yum install gcc-c++.x86_64"
exit_now
=
1
fi
which gfortran
if
[
$?
-eq
1
]
;
then
echo
"Possible installation command"
echo
"sudo yum install gcc-gfortran.x86_64"
exit_now
=
1
fi
X11
=
`
find /
-mount
-name
Xlib.h 2>&-
`
if
[
-z
${
X11
}
]
;
then
echo
"Possible installation command"
echo
"sudo yum install libXt-devel.x86_64"
fi
X11
=
`
find /
-mount
-iname
expat-dev
*
2>&-
`
if
[
-z
${
X11
}
]
;
then
echo
"Possible installation command"
echo
"sudo yum install expat-devel.x86_64"
fi
which bison
if
[
$?
-eq
1
]
;
then
echo
"Possible installation command"
echo
"sudo yum install bison.x86_64"
exit_now
=
1
fi
which jar
if
[
$?
-eq
1
]
;
then
echo
"Possible installation command"
echo
"sudo yum install java-1.8.0-openjdk-devel.x86_64 "
exit_now
=
1
fi
which ksh
if
[
$?
-eq
1
]
;
then
echo
"Possible installation command"
echo
"sudo yum install sudo yum install ksh.x86_64"
exit_now
=
1
fi
which imake
if
[
$?
-eq
1
]
;
then
echo
"Possible installation command"
echo
" sudo yum install imake.x86_64"
exit_now
=
1
fi
which tclsh
if
[
$?
-eq
1
]
;
then
echo
"Possible installation command"
echo
" sudo yum install tcl-devel.x86_64"
exit_now
=
1
fi
which perl
if
[
$?
-eq
1
]
;
then
echo
"Possible installation command"
echo
"perl must be at least 5.10.1"
perl
-v
#2>&1 | grep "version"
fi
which cpan
if
[
$?
-eq
1
]
;
then
echo
"Possible installation command"
echo
"sudo yum install perl-CPAN.x86_64"
fi
modules
=
"File::Basename Getopt::Std Data::Dumper FileHandle Exporter XML::Simple "
exit_now
=
0
for
mod
in
${
modules
}
;
do
perl
-M
${
mod
}
-e
1 &> perl.log
if
[
$?
!=
0
]
;
then
echo
"Possible installation command"
echo
"sudo cpan -f
${
mod
}
"
exit_now
=
1
else
echo
'Module: '
${
mod
}
'present'
fi
done
if
[
${
exit_now
}
-ne
0
]
;
then
echo
"Missing perl COTS listed above"
echo
"Suggested commands listed"
exit
1
fi
boost_libs
=
`
find /usr
-iname
*
libboost
*
`
if
[
!
-z
"
${
boost_libs
}
"
]
;
then
echo
"Warning parts of Boost already installed"
fi
}
mk_libtool
()
{
echo
${
FUNCNAME
[0]
}
tar_name
=
libtool-2.4.6.tar.gz
&&
\
rm
-fr
${
BUILD
}
/libtool
*
&&
\
install_the_source
${
tar_name
}
&&
\
cd
${
BUILD
}
/libtool
*
&&
\
./configure
--prefix
=
${
USER_COTS_PATH
}
&&
\
make
&&
\
make
install
&&
\
echo
"
${
FUNCNAME
[0]
}
finished"
}
mk_xerces
()
{
echo
${
FUNCNAME
[0]
}
...
...
@@ -567,7 +415,18 @@ mk_pppack() {
mv
libpppack.a
${
USER_COTS_PATH
}
/lib
}
mk_libtool
()
{
echo
${
FUNCNAME
[0]
}
tar_name
=
libtool-2.4.6.tar.gz
&&
\
rm
-fr
${
BUILD
}
/libtool
*
&&
\
install_the_source
${
tar_name
}
&&
\
cd
${
BUILD
}
/libtool
*
&&
\
./configure
--prefix
=
${
USER_COTS_PATH
}
&&
\
make
&&
\
make
install
&&
\
echo
"
${
FUNCNAME
[0]
}
finished"
}
mk_cminpak
(){
echo
${
FUNCNAME
[0]
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment