← Back to team overview

kicad-developers team mailing list archive

[PATCH] Fedora install script

 

Hello,

I noticed when trying to use the kicad-install.sh script that the bit for
installing the needed libraries for compiling was simply the debian
packages copied over. I found the appropriate packages needed for fedora
(at least for fedora 19) and created a patch to fix this to make it easier
for other fedora users!

Any comments welcome. I have attached the patch to this email.

Thanks,
Jon Neal
=== modified file 'scripts/kicad-install.sh' (properties changed: +x to -x)
--- scripts/kicad-install.sh	2013-11-10 06:31:13 +0000
+++ scripts/kicad-install.sh	2013-11-25 03:40:38 +0000
@@ -63,19 +63,20 @@
     elif [ "$(expr match "$PM" '.*\(yum\)')" == "yum" ]; then
         #echo "red hat compatible system"
         # Note: if you find this list not to be accurate, please submit a patch:
-        sudo yum install
+        sudo yum groupinstall "Development Tools"
+        sudo yum install \
             bzr \
             bzrtools \
-            build-essential \
             cmake \
-            cmake-curses-gui \
+            cmake-gui \
             doxygen \
-            libbz2-dev \
-            libcairo2-dev \
-            libglew-dev \
-            libssl-dev \
-            libwxgtk2.8-dev \
-            python-wxgtk2.8
+            bzip2-libs \
+            bzip2-devel \
+            cairo-devel \
+            glew-devel \
+            openssl-devel \
+            wxGTK-devel \
+            wxPython
     else
         echo
         echo "Incompatible System. Neither 'yum' nor 'apt-get' found. Not possible to continue."


Follow ups