Lieber Besucher, herzlich willkommen bei: Linux Forum Linux-Web.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »canis_lupus« (29.05.2005, 19:40)
Zitat
Da Du immer noch nicht den Namen deiner Distribution (Der Name deines Linux: SuSE, RedHat, Fedora, ....) raus rückst, sage ich pauschal: Befrage das Installationstool deiner Distribution.
Installiere die Kernel-Sourcen und den gcc, make, ... (also die C/C++ Entwicklungstools)
Solltest Du schonmal ein Online-Update gemacht haben, tue es jetzt nochmal, damit die Sourcen des Kernels zum laufenden Binärkernel passen!
Kopiere dann wie in der README die Datei RT2500STA-Linux-1.1.0.tgz auf die Platte. Öffne eine Shell und tippe:
tar -xvzf RT2500STA-Linux-1.1.0.tgz
cd RT2500STA-Linux-1.1.0/Module
make config
make all
Erstmal bis hierher.
Zitat
INSTALLING Qt Version 3.2.1 FOR X11
You may need to be logged in as root, depending on the permissions of
the directories where you choose to install Qt.
1. Unpack the archive if you have not done so already:
cd /usr/local
gunzip qt-x11-free-3.2.1.tar.gz # uncompress the archive
tar xf qt-x11-free-3.2.1.tar # unpack it
This creates the directory /usr/local/qt-x11-free-3.2.1 containing the
files from the main archive.
Rename qt-x11-free-3.2.1 to qt (or make a symlink):
mv qt-x11-free-3.2.1 qt
The rest of this file assumes that Qt is installed in /usr/local/qt.
2. Set some environment variables in the file .profile (or .login,
depending on your shell) in your home directory. Create the
file if it is not there already.
QTDIR - the directory in which you're building Qt
PATH - to locate the moc program and other Qt tools
MANPATH - to access the Qt man pages
LD_LIBRARY_PATH - for the shared Qt library
This is done like this:
In .profile (if your shell is bash, ksh, zsh or sh), add the
following lines:
QTDIR=/usr/local/qt
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/doc/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QTDIR PATH MANPATH LD_LIBRARY_PATH
In .login (in case your shell is csh or tcsh), add the following lines:
setenv QTDIR /usr/local/qt
setenv PATH $QTDIR/bin:$PATH
setenv MANPATH $QTDIR/doc/man:$MANPATH
setenv LD_LIBRARY_PATH $QTDIR/lib:$LD_LIBRARY_PATH
After you have done this, you will need to login again, or
re-source the profile before continuing, so that at least $QTDIR
and $PATH are set. Without these the installation will halt with an error
message.
On AIX set LIBPATH and on HP-UX set SHLIB_PATH instead of LD_LIBRARY_PATH.
If you use IRIX MIPSpro o32 or Sun CC 5.0 you need to run the
qt32castcompat script found in $QTDIR/bin before compiling Qt.
3. Install your license file as $HOME/.qt-license.
For the free edition and evaluation version, you do not need a license
file.
4. Building.
This step compiles the Qt library, and builds the example programs,
the tutorial, and the tools (e.g. Qt Designer).
Type:
./configure
This will configure the Qt library for your machine. Note that
GIF support is turned off by default. Run ./configure -help
to get a list of configuration options. Read PLATFORMS for a
list of supported platforms.
To create the library and compile all the examples and the
tutorial, type:
make
If your platform or compiler is not supported, please contact us at
qt-bugs@trolltech.com so that we can assist you. If it is supported
but you have problems, see http://www.trolltech.com/platforms/
At this point you have binaries created in $QTDIR (eg. $QTDIR/lib/
contains libqt.so). If, however, you would like to have your Qt
installed in a non-local installation you can run configure with
options splitting Qt into different areas for example:
./configure -libdir /usr/local/lib -bindir /usr/local/bin -headerdir /usr/local/include/qt
If you supplied a custom install directory using the -prefix
parameter in step 2, you can:
make install
This will install Qt onto your machine using the paths you've set.
(See ./configure -help for more information). If you choose to
install Qt like this, remember that you must set your
LD_LIBRARY_PATH to match your -libdir and your QTDIR to your
-headerdir (as described in (2) above).
5. In very few cases you may need to run /sbin/ldconfig or something
similar at this point if you are using shared libraries.
If you have problems running the example programs, e.g. messages like
can't load library 'libqt.so.3'
you probably need to put a reference to the qt library in a
configuration file and run /sbin/ldconfig as root on your system.
And don't forget to set LD_LIBRARY_PATH as explained in (2) above.
6. The online HTML documentation is installed in /usr/local/qt/doc/html/
The main page is /usr/local/qt/doc/html/index.html
The man pages are installed in /usr/local/qt/doc/man/
That's all. Qt is now installed.
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »coollinux« (30.05.2005, 07:05)
Zitat
Original von canis_lupus
Eins nach dem anderen!
Ist das hier deine Karte?
http://www.tuxhardware.de/product_info.html?products_id=429
Hast Du schon die Kernelsourcen und die Tools installiert?
YaSTSoftwareSoftware intallieren...FilterSelektionen
Hier "Kernel Entwicklung" und "C++ Compiler und Werkzeuge" anwählen und installieren.
Zitat
Original von canis_lupus
Das sind alles Daten bzw. Konsolenanwendungen. Da gibts nichts im Menu. Willkommen in der Welt der unixartigen Betriebsysteme. Hier wird auch heute noch zu 80% getippt.
Weiter gehts: (ich gehe jetzt bei den Befehlen immer von meinen vorgeschalgenen Pfaden aus. Nimmst Du andere, dan anpassen. Ausserdem Groß- und Kleinschreibung wird unterschieden!!!)
- Erstelle ein Verzeichnis WLAN in deinem Homeverzeichnis
- Kopiere die Verzeichnisse (Module, Utilities) in das WLAN-Verzeichnis
- Shell öffnen
- cd ~/WLAN/Module
- ls -l
Ergebnis beim nächsten mal posten
- make
Wenn Fehlermeldungen, dann ab kurz vor der Fehlermeldung posten
Zitat
Original von coollinux
Ich glaube jetzt habe ichs...
Bin in "Befehlsfenster - Konsole"
Habe da "cd /WLAN/Module" eingegeben und dann sahs wie im MSDOS aus
habe den befehl "ls -l" eingegeben. Dann hat er mir den inhalt des verzeichnisses "Module" ausgegeben. Dan habe ich '/WLAN/Module/Makefile' eingegeben, und dan kamen viele fehler meldungen
wo immer steht:
Line 2: CC: command not found
Line 5: include: command not found
...
Und immer so weiter
Quellcode |
|
1 |
ls -l |
Quellcode |
|
1 |
pwd |
Quellcode |
|
1 |
gcc |
Quellcode |
|
1 |
cc |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »canis_lupus« (30.05.2005, 17:35)
Zitat
Original von canis_lupus
Zitat
Original von coollinux
Ich glaube jetzt habe ichs...
Bin in "Befehlsfenster - Konsole"
Habe da "cd /WLAN/Module" eingegeben und dann sahs wie im MSDOS aus
habe den befehl "ls -l" eingegeben. Dann hat er mir den inhalt des verzeichnisses "Module" ausgegeben. Dan habe ich '/WLAN/Module/Makefile' eingegeben, und dan kamen viele fehler meldungen
wo immer steht:
Line 2: CC: command not found
Line 5: include: command not found
...
Und immer so weiter
Sicher das Du cd /WLAN/Module eingegeben hast?
Wenn Du im Modul-Verzeichnis bist, bitt mal die Ausgaben von:
und
Quellcode
1 ls -l
Quellcode
1 pwd
posten!
Die Fehlermeldungen sagen, das Du den C-Compiler nicht installiert hast!
Tippe mal
und
Quellcode
1 gccein. Wenn Du "command not found" als Fehler bekommst, hast Du die C-Entwicklungsumgebung doch nicht installiert.
Quellcode
1 cc
P.S.: ~ mit <AltGr>+<+>
Zitat
2. Set some environment variables in the file .profile (or .login,
depending on your shell) in your home directory. Create the
file if it is not there already.
QTDIR - the directory in which you're building Qt
PATH - to locate the moc program and other Qt tools
MANPATH - to access the Qt man pages
LD_LIBRARY_PATH - for the shared Qt library
This is done like this:
In .profile (if your shell is bash, ksh, zsh or sh), add the
following lines:
QTDIR=/usr/local/qt
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/doc/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QTDIR PATH MANPATH LD_LIBRARY_PATH
In .login (in case your shell is csh or tcsh), add the following lines:
setenv QTDIR /usr/local/qt
setenv PATH $QTDIR/bin:$PATH
setenv MANPATH $QTDIR/doc/man:$MANPATH
setenv LD_LIBRARY_PATH $QTDIR/lib:$LD_LIBRARY_PATH
After you have done this, you will need to login again, or
re-source the profile before continuing, so that at least $QTDIR
and $PATH are set. Without these the installation will halt with an error
message.
On AIX set LIBPATH and on HP-UX set SHLIB_PATH instead of LD_LIBRARY_PATH.
If you use IRIX MIPSpro o32 or Sun CC 5.0 you need to run the
qt32castcompat script found in $QTDIR/bin before compiling Qt.
Zitat
QTDIR - the directory in which you're building Qt
PATH - to locate the moc program and other Qt tools
MANPATH - to access the Qt man pages
LD_LIBRARY_PATH - for the shared Qt library
QTDIR=/usr/local/qt
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/doc/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QTDIR PATH MANPATH LD_LIBRARY_PATH
csh
setenv QTDIR /usr/local/qt
setenv PATH $QTDIR/bin:$PATH
setenv MANPATH $QTDIR/doc/man:$MANPATH
setenv LD_LIBRARY_PATH $QTDIR/lib:$LD_LIBRARY_PATH
Zitat
INSTALLING Qt Version 3.2.1 FOR X11
You may need to be logged in as root, depending on the permissions of
the directories where you choose to install Qt.
1. Unpack the archive if you have not done so already:
cd /usr/local
gunzip qt-x11-free-3.2.1.tar.gz # uncompress the archive
tar xf qt-x11-free-3.2.1.tar # unpack it
This creates the directory /usr/local/qt-x11-free-3.2.1 containing the
files from the main archive.
Rename qt-x11-free-3.2.1 to qt (or make a symlink):
mv qt-x11-free-3.2.1 qt
The rest of this file assumes that Qt is installed in /usr/local/qt.
2. Set some environment variables in the file .profile (or .login,
depending on your shell) in your home directory. Create the
file if it is not there already.
QTDIR - the directory in which you're building Qt
PATH - to locate the moc program and other Qt tools
MANPATH - to access the Qt man pages
LD_LIBRARY_PATH - for the shared Qt library
This is done like this:
In .profile (if your shell is bash, ksh, zsh or sh), add the
following lines:
QTDIR=/usr/local/qt
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/doc/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QTDIR PATH MANPATH LD_LIBRARY_PATH
In .login (in case your shell is csh or tcsh), add the following lines:
setenv QTDIR /usr/local/qt
setenv PATH $QTDIR/bin:$PATH
setenv MANPATH $QTDIR/doc/man:$MANPATH
setenv LD_LIBRARY_PATH $QTDIR/lib:$LD_LIBRARY_PATH
After you have done this, you will need to login again, or
re-source the profile before continuing, so that at least $QTDIR
and $PATH are set. Without these the installation will halt with an error
message.
On AIX set LIBPATH and on HP-UX set SHLIB_PATH instead of LD_LIBRARY_PATH.
If you use IRIX MIPSpro o32 or Sun CC 5.0 you need to run the
qt32castcompat script found in $QTDIR/bin before compiling Qt.
3. Install your license file as $HOME/.qt-license.
For the free edition and evaluation version, you do not need a license
file.
4. Building.
This step compiles the Qt library, and builds the example programs,
the tutorial, and the tools (e.g. Qt Designer).
Type:
./configure
This will configure the Qt library for your machine. Note that
GIF support is turned off by default. Run ./configure -help
to get a list of configuration options. Read PLATFORMS for a
list of supported platforms.
To create the library and compile all the examples and the
tutorial, type:
make
If your platform or compiler is not supported, please contact us at
qt-bugs@trolltech.com so that we can assist you. If it is supported
but you have problems, see http://www.trolltech.com/platforms/
At this point you have binaries created in $QTDIR (eg. $QTDIR/lib/
contains libqt.so). If, however, you would like to have your Qt
installed in a non-local installation you can run configure with
options splitting Qt into different areas for example:
./configure -libdir /usr/local/lib -bindir /usr/local/bin -headerdir /usr/local/include/qt
If you supplied a custom install directory using the -prefix
parameter in step 2, you can:
make install
This will install Qt onto your machine using the paths you've set.
(See ./configure -help for more information). If you choose to
install Qt like this, remember that you must set your
LD_LIBRARY_PATH to match your -libdir and your QTDIR to your
-headerdir (as described in (2) above).
5. In very few cases you may need to run /sbin/ldconfig or something
similar at this point if you are using shared libraries.
If you have problems running the example programs, e.g. messages like
can't load library 'libqt.so.3'
you probably need to put a reference to the qt library in a
configuration file and run /sbin/ldconfig as root on your system.
And don't forget to set LD_LIBRARY_PATH as explained in (2) above.
6. The online HTML documentation is installed in /usr/local/qt/doc/html/
The main page is /usr/local/qt/doc/html/index.html
The man pages are installed in /usr/local/qt/doc/man/
That's all. Qt is now installed.
Zitat
This is Qt version 3.2.1
Qt is a multiplatform C++ GUI application framework.
Qt 3.2 introduces new features and many improvements over the 3.1.x
series. See the changes file for details.
The Qt version 3.2 series is binary compatible with the 3.1.x series -
applications compiled for 3.1 will continue to run with 3.2.
For this release, the following platforms have been tested:
win32-borland
win32-msvc
win32-msvc.net
irix-cc
irix-g++
solaris-cc
solaris-g++
linux-g++
freebsd-g++
aix-g++
aix-xlc
hpux-acc
hpux-g++
macx-g++
macx-pbuilder
If you want to use Qt 3 on an unsupported version of Unix, please
contact us at qt-bugs@trolltech.com so that we can assist you.
How to get the release:
Qt Free Edition: Download the .tar.gz archive from
ftp.trolltech.com. For faster download times, use ftpsearch and search
for qt-x11-free-3.2.1 to find it on a mirror ftp site
near you.
Qt Professional Edition, Qt Enterprise Edition: Holders of valid
licenses should have received an e-mail with instructions on how to
get the new release. Contact sales@trolltech.com if you are a
Professional or Enterprise Edition licensee and have not received this
e-mail.
Any problems encountered with Qt 3.2 should be reported to
qt-bugs@trolltech.com.
Qt is a trademark of Trolltech AS.
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »canis_lupus« (30.05.2005, 20:18)