Click to See Complete Forum and Search --> : 2 total newbie questions gcc and wine


ratsalad
07-31-2001, 01:59 PM
im a real newbie so bear with me...

1) i went to compile nmap and when i typed
./configure i got errors related to gcc and cc... it said gcc wasnt in the path
now i guess gcc is the c compiler dealee or something... do i have to install it or what?
i could do this with a rpm but i wanna learn this stuff from the command line

2) how do you get wine to work? say i had paltalk.exe in /mnt/win_c/paltalk, what would i type?

also, is there an eqivalent to a netstat on linux?

scanez
07-31-2001, 02:10 PM
What distro are you using? Unless something went totally wrong, gcc should have been installed by default. It may be a problem with your path. Type echo $path and see if /usr/bin is listed there. If not, try adding it and see if that works.

For wine, cd to /mnt/win_c/paltalk and then run

wine paltalk.exe

There's no guarantee that wine will work, sometimes it does, sometimes it doesn't.

Good luck
SC

ratsalad
07-31-2001, 02:30 PM
im using mandrake 8

should i have put that in bin or smething, i was trying to install it from my home directory

plus, wine told me it couldnt find wine config for directory, not could winereal find paltalk.exe

and im fixing to do that echo path thingee

Dru Lee Parsec
07-31-2001, 02:48 PM
IN mandrake 8 you have to either say (during installation) that you're building a development machine OR you have to pick gcc specifically in the "select from all packages" screen. You could probably go back and re-install while only selecting gcc. Or you may be able to simply install gcc from the RPM file on the first CD.

Warning, if you choose to go the "Development Machine" route then be sure to un-check "Kaffe" in the "select from all packages" screen. Kaffe is an ancient version of Java and it installs all the files in /usr/bin instead of in it's own directory. It's a real mess.

But that's where to get gcc in 'drake 8.0

Good luck.

ratsalad
07-31-2001, 02:56 PM
well, gcc is in /usr/bin, which is in the path...

so i must have installed it, right?

Bane
07-31-2001, 04:42 PM
Yeap, if you gcc is in /usr/bin and /usr/bin is in your path, then it should be OK. A quick way to check if something is in your path is to use the which command. for example:

%which ls
should tell you where "ls" is really located (/bin/ls) if it is in your search path.

How about posting the configure error message up since you have gcc install.

bane

ratsalad
07-31-2001, 05:26 PM
the error is something like looking for gcc - not found
looking for cc not found
gcc not found