Results 1 to 9 of 9
Hi, I was trying to install ClamTk on Ubuntu but, it said it was outdated so I tried getting the sources and installing with the sources. When I tried compiling ...
- 06-07-2008 #1Just Joined!
- Join Date
- Jun 2008
- Posts
- 12
Compiling Error
Hi, I was trying to install ClamTk on Ubuntu but, it said it was outdated so I tried getting the sources and installing with the sources. When I tried compiling the source files in the terminal with ./configure I received and error:
how come it could not create executables?checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
creating target.h - canonical system defines
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) mawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
ben@ubuntu:~/Desktop/clamav-0.93$
edit*: there was someone else who had a simliar problem as me and so I also followed his instructions by using:
sudo aptitude update
sudo aptitude install build-essential
and it did get me somewhere but now I had another error:
checking for zlib installation... /usr
configure: error: Please install zlib and zlib-devel packages
- 06-07-2008 #2
The error message says it all really. Install the zlib development package (on Debian based distros it is called zlib1g-dev).
- 06-11-2008 #3Just Joined!
- Join Date
- Jun 2008
- Posts
- 12
thanks, i then found out that i needed to install it and installed it but while i was in the "make install" phase, there was another error with the compiling for some reason... beside gcc and zlibs, what else do you need to install. i am new to all of this and so i dont know what else i would need.
- 06-11-2008 #4
Post back the error message (and about 5 or so lines before the message appeared).
- 06-11-2008 #5Just Joined!
- Join Date
- Jun 2008
- Posts
- 12
thats odd, when i tried to compile again, it seemed like it worked... when i did the same process, it said it failed... anyway.. but ill post what it said in a document, at least the 'make install' part. but can you look at the dump to see if it failed anyway? i am not sure because the last time i did it, i failed 3 times.
also, if i did successfully compile it, what do i do next to install the software?
edit*: when i go into the terminal to type in 'freshclam' or 'sudo freshclam', i get an error:
how do i get permissions to write into the root files or any place in linux that isn't in my home folder.ERROR: Please edit the example config file /usr/local/etc/freshclam.conf.
ERROR: Please edit the example config file /usr/local/etc/clamd.conf.
ERROR: Can't parse the config file /usr/local/etc/clamd.conf
- 06-11-2008 #6
From the output it seems like "make install" completed without any problems. The next stage is to edit the files to suite your needs as noted by the error messages you get when you try to run the application.
- 06-12-2008 #7Just Joined!
- Join Date
- Jun 2008
- Posts
- 12
can you tell me how i can edit those required files? because everytime i tried to change any files, it says i dont have permission in the filesystems.
- 06-12-2008 #8
You have to be root, just like you did when you ran "make install". To do this you can do "sudo nano somefile" or if you prefer a gui ALT-F2 and enter "gksu gedit" and then open the file you want to edit.
- 06-12-2008 #9Just Joined!
- Join Date
- Jun 2008
- Posts
- 12
i had to reformat my whole hard drive yesterday and I could not find the code for zlibs for ubuntu... can someone provide the code for it? i could not find it in the forums...
also, thank you daark.child for helping me


Reply With Quote
