|
-
December 3rd, 2000, 08:13 AM
#1
What am I doing wrong?
I d/l kisomandel-0.501.tar.gz and followed the instructions? This is my first time doing this ,so I'm probably missing something.Do I need to install A c++ compiler ?
Any help greatly appreciated!!!
[IMG]http://www.members.home.net/cooldog-graphics/kiso2.jpg[/IMG ] pic was taking too long to load so I killed the link
------------------
--------------------------------------
PII266
Win95b/WinNT/Linux
64 megs ram
30gig Maxtor HD Pri Master(Win95/fat32,Linux/Ext2)
4 gig Quantum Pri Slave(winNT4/NTFS,sharedpart/Fat16)
Creative PC-DVD Dxr2
Creative CDRW 6424
Sound:SoundBlaster PCI64 integrated
Video:ATI mach64 VT2(Int)/Monster II
[email protected]
[This message has been edited by wonderinguy34 (edited 12-04-2000).]
Win 7
Asrock Z68 Extreme3 Gen3
I5 2500k @4ghz
8Gb DDR3 2133Mhz
Crucial M4 128Gb SataIII SSd
Sapphire Radeon 6870
Samsung 931bf 19" LCD
-
December 3rd, 2000, 11:50 AM
#2
Okay I figured out I need to update qt to version 2.2.I'm having a little trouble with that ,the install tells me to make add some lines to .profile and if there is no .profile I'm supposed to make one (I'm assuming I use nedit or such ),but when I put it in my home directory like they suggest it gives me the same error($QTDIR isn't configured properly its"" when it should be /usr/local/qt" as if the file doesn't exist.I extracted the tar file to /usr/local and renamed it as they suggested .
Any ideas
[This message has been edited by wonderinguy34 (edited 12-03-2000).]
[This message has been edited by wonderinguy34 (edited 12-03-2000).]
Win 7
Asrock Z68 Extreme3 Gen3
I5 2500k @4ghz
8Gb DDR3 2133Mhz
Crucial M4 128Gb SataIII SSd
Sapphire Radeon 6870
Samsung 931bf 19" LCD
-
December 3rd, 2000, 02:53 PM
#3
If you're using the POSIX Shell, sh, then you'll have a .profile. If your using bash, which seems to be the favored shell in Linux, you would use either ~/.bashrc or ~/.bash_profile. If you're using csh, then you would use .cshrc.
Note: If your using .cshrc, then you would use the command in your ~/.cshrc:
setenv QTDIR /usr/local/qt
without the export function, to set your environment variables. -mk
------------------
If it ain't broke, fix it till it is.
If it ain't broke,
Fix it till it is.
-
December 3rd, 2000, 08:51 PM
#4
I use Mandrake 7.1 ,I set up a firewall using the sh install-sh ,so I followed the instructions for .profile,I'll try making up a .login file.
Win 7
Asrock Z68 Extreme3 Gen3
I5 2500k @4ghz
8Gb DDR3 2133Mhz
Crucial M4 128Gb SataIII SSd
Sapphire Radeon 6870
Samsung 931bf 19" LCD
-
December 3rd, 2000, 10:22 PM
#5
Okay tried using the .login ,still no good.If it helps here are the install instructions .The only thing I can see I may have done wrong is I did not untar it from a prompt ,but through the GUI.(i'm going to try that next)
a few questions
1) I created the file using gedit and saved it without an extension ,is this correct?
2)The INSTALL says to put it in your home directory ,is that the folder "home",or is there a different place to put it.
other than that I'm baffled 
You may need to be 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-2.2.2.tar.gz # uncompress the archive
tar xf qt-x11-2.2.2.tar # unpack it
This creates the directory /usr/local/qt-2.2.2 containing the
files from the main archive.
Rename qt-2.2.2 to qt (or make a symlink):
mv qt-2.2.2 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 - wherever you installed
QtPATH - 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 $QTDIRis set. The installation will give an error message and not proceed otherwise.
Win 7
Asrock Z68 Extreme3 Gen3
I5 2500k @4ghz
8Gb DDR3 2133Mhz
Crucial M4 128Gb SataIII SSd
Sapphire Radeon 6870
Samsung 931bf 19" LCD
-
December 4th, 2000, 05:18 AM
#6
First, let's see which user you are. Type in:
whoami
root
This should respond with a username (root). Now try:
grep root /etc/passwd
It should respond with something like"
root:x:0:0:root:/root:/bin/bash
The /bin/bash part of the above line tells you you're using the bash shell. The /root part of the line tells you the home directory of that user. If that's the case, then the declaration of environment variables will be done in either /root/.bash_profile or /root/.bashrc. The '.' before the name .bash_profile or .bashrc is part of the file name and describes the file as being hidden.
Although I can see that you are doing this as root, it's still good to know the above commands. Another command that might be usefull is who am i. This command gives additional information as to who you are.
Keep in mind that to install anything, you must be logged in as root. In my earlier reply, when I refered to a file as ~/.bash_profile, the '~' character is shorthand for the users home directory as in:
/root
or
/home/dave
Now using the information we currently know about you, if you're indeed root, type
cd ; pwd
responds with:
/root
Knowing the shell you're using, based on the results of the grep command, above, modify the appropriate file as described in my earlier reply.
If you are still having problems, post back. -mk
------------------
If it ain't broke, fix it till it is.
If it ain't broke,
Fix it till it is.
-
December 4th, 2000, 09:44 AM
#7
Okay followed your directions and got the same reponses you predicted.I then found a .bashrc in the./etc so I added the info from my profile file and got it to the point of accepting the liscence and the told me to type "make" bunch of errors after that.Any way I found an RPM of qt2.2.1 so its a moot point
I don't know if when I set up mandrake if I chose to install the developemnt tools I think I'm a "few short of a full install"
After I installed the QT2.2.1 RPM ,I got the same error as my first post, when I tried to install Kisomandel.
Thanks for your help mike147 ,but don't think I'm quite ready for compiling yet.
[This message has been edited by wonderinguy34 (edited 12-04-2000).]
Win 7
Asrock Z68 Extreme3 Gen3
I5 2500k @4ghz
8Gb DDR3 2133Mhz
Crucial M4 128Gb SataIII SSd
Sapphire Radeon 6870
Samsung 931bf 19" LCD
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|