Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
9f6d1d0e
Commit
9f6d1d0e
authored
Nov 04, 2014
by
Gilbert
Committed by
Wayne Stambaugh
Nov 04, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Update the kicad-install.sh script to work with Fedora 20.
parents
e9a25ceb
25061ed6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
kicad-install.sh
scripts/kicad-install.sh
+10
-2
No files found.
scripts/kicad-install.sh
View file @
9f6d1d0e
...
@@ -132,7 +132,6 @@ install_prerequisites()
...
@@ -132,7 +132,6 @@ install_prerequisites()
sudo
yum groupinstall
"Development Tools"
||
exit
1
sudo
yum groupinstall
"Development Tools"
||
exit
1
prerequisite_list
=
"
prerequisite_list
=
"
install
bzr
bzr
bzrtools
bzrtools
bzip2-libs
bzip2-libs
...
@@ -144,7 +143,7 @@ install_prerequisites()
...
@@ -144,7 +143,7 @@ install_prerequisites()
glew-devel
glew-devel
grep
grep
openssl-devel
openssl-devel
wxGTK-devel
wxGTK
3
-devel
"
"
for
p
in
${
prerequisite_list
}
for
p
in
${
prerequisite_list
}
...
@@ -152,6 +151,15 @@ install_prerequisites()
...
@@ -152,6 +151,15 @@ install_prerequisites()
sudo
yum
install
$p
||
exit
1
sudo
yum
install
$p
||
exit
1
done
done
echo
"Checking wxGTK version. Maybe you have to symlink /usr/bin/wx-config-3.0 to /usr/bin/wx-config"
V
=
`
wx-config
--version
|
cut
-f
1
-d
'.'
`
||
echo
"Error running wx-config."
if
[
$V
-lt
3
]
then
echo
"Error: wx-config is reporting version prior to 3"
exit
else
echo
"All ok"
fi
# Only install the scripting prerequisites if required.
# Only install the scripting prerequisites if required.
if
[
"
$(
expr
match
"
$OPTS
"
'.*\(-DKICAD_SCRIPTING=ON\)'
)
"
==
"-DKICAD_SCRIPTING=ON"
]
;
then
if
[
"
$(
expr
match
"
$OPTS
"
'.*\(-DKICAD_SCRIPTING=ON\)'
)
"
==
"-DKICAD_SCRIPTING=ON"
]
;
then
#echo "KICAD_SCRIPTING=ON"
#echo "KICAD_SCRIPTING=ON"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment