× CodeTyphon Linux OS Development, discussions and problems

Question Mandriva scrip fix

  • Aleksandar
  • Aleksandar's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
7 years 11 months ago #2641 by Aleksandar
Mandriva scrip fix was created by Aleksandar
I found two bugs in "ln1_Install_SysLibraries_For_Mandriva.sh" script.

First of all, I am not sure where you get this qt4-qmake package?! libqt4-devel will install qmake command.

sudo urpmi libxtst-dev on 64bit system will install i586 package instead of x86_64 one. It might work if you do not have 32bit repos enabled, but I am not sure about that.

On 32bit system it will work just fine.

Proper package name that will install x86_64 package on 64bit system (and i586 package on 32bit system) is libxtst-devel.

Please fix that.

I would also suggest you to include this version which is much smaller and cleaner than your current version.

Please let me know if you find any problem.

# =============================================================
#               CodeTyphon Project
#      Copyright (c) PilotLogic Software House.
#               All rights reserved.
#
#        This Script Install to Mandriva Linux 
#      base libraries to Build and Run CodeTyphon
# =============================================================

echo "----------------------------------------------------"
echo " CodeTyphon OS Libraries Installation for" 
echo "              Mandriva Linux" 
echo "----------------------------------------------------"
echo "."

ciplatiform=$1

# automaticly update Mandriva
sudo urpmi --auto-update --auto
# install needed libraries
sudo urpmi --auto gcc-c++ xterm gdb gpm
sudo urpmi --auto gtkglext-devel
sudo urpmi --auto mesa-common-devel
sudo urpmi --auto libxtst-devel

# Install libraries for QT
if [ $ciplatiform = 1 ] ; 
then
    echo "."
    echo "Install libraries for QT"
    echo "."
    sudo urpmi --auto libqt4-devel
    sudo urpmi --auto libQt4Pas5 
fi

echo "----------------------------------------------------"
echo "CodeTyphon OS Libraries Installation"  
echo "Finish !!!"

sleep 5


This script is clean of my "32bit on x64 system tricks". :)
The following user(s) said Thank You: Konstantinos Papadoulas

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
7 years 11 months ago #2671 by Sternas Stefanos
Replied by Sternas Stefanos on topic Mandriva scrip fix
Thanks Sir
we put your updates

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Aleksandar
  • Aleksandar's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
7 years 2 months ago #4261 by Aleksandar
Replied by Aleksandar on topic Mandriva scrip fix

sternas wrote: Thanks Sir
we put your updates


In CT 4.41 I still see same old Mandriva script as it was then. :huh:

Please Log in or Create an account to join the conversation.

  • Aleksandar
  • Aleksandar's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
6 years 9 months ago #4780 by Aleksandar
Replied by Aleksandar on topic Mandriva scrip fix

sternas wrote: Thanks Sir
we put your updates


For some reason CodeTyphon 4.6 still have old buggy install script for Mandriva and it's derivatives.

Please fix this.

Please Log in or Create an account to join the conversation.