[ LUGOS ] Configure

Rok Papez rok na slo.net
Pet Jan 22 10:50:59 CET 1999


On Fri, 22 Jan 1999 09:45:01 +0100, Miha Gregors wrote:

>> > Ej folk en problem. Ko od zipam kirc in ko napisem ./configure mi na koncu
>> > javi QT-1.40.....configure error: QT-1.40 (headers and libraries) not found
>> > Please check your installation !. Kaj bi to bilo. Instaliran imam QT 1.41.
>>
>> export QTDIR="/usr/local/qt"
>>
>
>In kam to napisem. A predno zazenem ./configure
>

Govorim za RH...
V /etc/profile.d skopiraj vključeno datoteko. Seveda jo 
popravi, da kaze na ustrezne imenike in "chmod a+x qt.sh".


-----------------  qt.sh -------------------------
#!/bin/bash

QTDIR=/opt/qt
if [ $PATH ]; then
  PATH=$PATH:$QTDIR/bin
else
  PATH=$QTDIR/bin
fi
if [ $LD_LIBRARY_PATH ]; then
  LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QTDIR/lib
else
  LD_LIBRARY_PATH=$QTDIR/lib
fi
LIBRARY_PATH=$LD_LIBRARY_PATH
if [ $CPLUS_INCLUDE_PATH ]; then
  CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:$QTDIR/include
else
  CPLUS_INCLUDE_PATH=$QTDIR/include
fi

export QTDIR PATH MANPATH LIBRARY_PATH LD_LIBRARY_PATH
export CPLUS_INCLUDE_PATH
-----------------------------------------------------



best regards,
Rok Papez.

Student at Faculty of Computer and Information Science,
University of Ljubljana, Slovenia.





Dodatne informacije o seznamu Starilist