On Sat, Feb 08, 2003 at 03:54:06PM -0500, Denis Morej?n L?pez wrote: > I have gotten a problem when i was trying to configure LibPcaP 0.6.2 with > the ./configure command on my Red Hat Linux 7.2 OS. It showed me something > like this:Checking for gcc...no > Checking for cc...no > No acceptable cc found in $Path > But when i was setting the enviroment variable CC like below: > setenv CC /opt/SUNWspro/bin/cc
That's the wrong thing to do - "/opt/SUNWspro/bin/cc" is the pathname for Sun's C compiler on Solaris; it is *NOT* the pathname for GCC on Linux. The pathname for GCC on Linux is probably "/usr/bin/gcc" *IF* you have GCC installed. If you don't have GCC installed, there obviously is no pathname for it - and, unless you have some other C compiler installed, you will be unable to compile any C code, such as libpcap, so you should install GCC first. There is probably some RPM that comes with RH 7.2 that includes GCC; I don't know what that RPM is (nor do I know how to find out what it is - when I use Linux, I use Debian), so you'll have to find that out for yourself. - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe
