Hello, I've been trying for awhile to install packettracer on my system. I have the PacketTracer533_Generic_Fedora.tar.gz and packettracer.tar.gz packages. Apparently though I need PacketTracer533_i386_installer-rpm.bin package to install it in slackware. So after much searching I found that I'm most likely not going to be able to install packettracer on slackware. So, instead I am atempting to install cnet network simulator on my system. Originally I just downloaded a cnet.tgz and ran installpkg. It installed successfully but it doesn't run. So I extract the package and cd to the cnet directory, which is located in the root filesystem, not under /usr/bin or anything like that. Here are the contents of the directory:
Code:
-rw------- 1 333 110 2738 Mar 23 2012 ANNOUNCE
-rw------- 1 333 110 1036 Mar 23 2012 COPYRIGHT
-rw------- 1 333 110 15145 Mar 23 2012 GPLv2
-rw------- 1 333 110 1541 Mar 23 2012 Makefile
lrwxrwxrwx 1 333 110 10 Nov 18 13:34 cnet.h -> src/cnet.h
lrwxrwxrwx 1 333 110 21 Nov 18 13:34 cnetsupport.h -> support/cnetsupport.h
drwx------ 11 333 110 4096 Mar 23 2012 examples
drwx------ 4 333 110 4096 Mar 23 2012 html
drwx------ 2 333 110 4096 Mar 23 2012 lib
drwx------ 3 333 110 4096 Nov 18 13:38 src
drwx------ 2 333 110 4096 Mar 23 2012 support
Now, before I go further, I must mention that I DO indeed have a full install of slackware and if anyone tells me otherwise I will probably throw myself out a window because I've made very very sure that when I installed slackware it was a complete install(aside from KDE package sets). Ok. So, at this point I'm in the cnet directory and I've run make. This is the error I get:
Code:
cd src && make
make[1]: Entering directory `/cnet-3.2.4/src'
make[2]: Entering directory `/cnet-3.2.4/src'
gcc -std=c99 -Wall -Werror -pedantic -O3 -fPIC -I/usr/include/tcl8.5 -c compile.c
In file included from compile.c:37:0:
compile/linux.c:2:20: fatal error: libelf.h: No such file or directory
compilation terminated.
make[2]: *** [compile.o] Error 1
make[2]: Leaving directory `/cnet-3.2.4/src'
make[1]: *** [it] Error 2
make[1]: Leaving directory `/cnet-3.2.4/src'
make: *** [it] Error 2
Obviously I'm missing libelf. I downloaded the slackbuild and when I try to execute it, I get this:
Code:
creating cache ./config.cache
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -march=i486 -mtune=i686 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
Which means I'm officially stuck. Again, I'm sure I have a full install so I find it hard to believe that gcc is missing required packages.