LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-19-2008, 12:44 PM   #1
umamaheshmunez
LQ Newbie
 
Registered: Oct 2008
Posts: 23

Rep: Reputation: 15
Compiling is A BIG problem.


I have got an AVG antivirus in the form of avg7-linux.tar.gz, i.e it is a source code. Everything went well till ./command came into the picture. The terminal responds by saying that there is no such directory or file. Now I am struck at here and need your help. Plz Somebody help me.
 
Old 10-19-2008, 12:51 PM   #2
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,078

Rep: Reputation: 195Reputation: 195
Don't describe the error message, post the exact command you run and the exact error message that results. Copy/paste is your friend.

Also state which distribution you are using and which version. Better still, add it to your profile.

If you are using [U|K|X|Ed]buntu then the the gcc compiler is not installed by default. Install the build-essential package and try again.
 
Old 10-19-2008, 03:00 PM   #3
unihiekka
Member
 
Registered: Aug 2005
Distribution: SuSE Linux / Scientific Linux / [K|X]ubuntu
Posts: 273

Rep: Reputation: 32
From what you tell us, I gather that the following went well after unpacking:

Code:
./configure
make
make install
Were you in the right directory to run ./command? It might just be that the binary file "command" is in a subdirectory, e.g. "source", "bin", or something similar. In that case you have to cd to that directory and then type ./command.
 
Old 10-19-2008, 04:04 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
If you ran "make install and the command is installed to /sbin or /usr/sbin, then it is one that should be run as root, and the command will be in root's path.
However if you use sudo, you normally need to include the full pathname. You could run updatedb and then use locate to find where the command was copied to or simply read the "Makefile" instead.
 
Old 10-20-2008, 08:12 PM   #5
umamaheshmunez
LQ Newbie
 
Registered: Oct 2008
Posts: 23

Original Poster
Rep: Reputation: 15
mahesh@mahesh-desktop:~$ cd /usr/local/src
mahesh@mahesh-desktop:/usr/local/src$ tar xzfv /home/mahesh/Desktop/avg75lms-r39-a0859.i386.tar.gz
avg7-linux/
avg7-linux/bin/
avg7-linux/bin/avgqrtctl
avg7-linux/bin/avgspmctl
avg7-linux/bin/avgupdate
avg7-linux/bin/avgdmilter
avg7-linux/bin/avgscan
avg7-linux/doc/
avg7-linux/doc/license_cz.txt
avg7-linux/doc/README_cz.qmailscanner
avg7-linux/doc/README_cz.amavis
avg7-linux/doc/README_cz
avg7-linux/doc/README
avg7-linux/doc/avgscan.1.gz
avg7-linux/doc/README_cz.postfix
avg7-linux/doc/README.sendmail
avg7-linux/doc/license_us.txt
avg7-linux/doc/avgdmilter.1.gz
avg7-linux/doc/avg_lms_uma_cz_71_6.pdf
avg7-linux/doc/README.qmail
avg7-linux/doc/avgspmctl.1.gz
avg7-linux/doc/README.qmailscanner
avg7-linux/doc/avgupdate.1.gz
avg7-linux/doc/README_cz.sendmail
avg7-linux/doc/avgqrtctl.1.gz
avg7-linux/doc/lgpl.txt
avg7-linux/doc/README_cz.exim
avg7-linux/doc/README.exim
avg7-linux/doc/ChangeLog
avg7-linux/doc/avg.conf.5.gz
avg7-linux/doc/README_cz.qmail
avg7-linux/doc/avg_lms_uma_en_71_6.pdf
avg7-linux/doc/README.amavis
avg7-linux/doc/README.postfix
avg7-linux/lib/
avg7-linux/lib/libgcc_s.so.1
avg7-linux/lib/libstdc++.so.6
avg7-linux/lib/libspamcatcher.so
avg7-linux/lib/libavgutil.so.1
avg7-linux/src/
avg7-linux/src/dazuko-2.2.0.tar.gz
avg7-linux/src/qmail/
avg7-linux/src/qmail/qmail-queue-avg.c
avg7-linux/src/qmail/README
avg7-linux/src/qmail/configure
avg7-linux/src/qmail/INSTALL
avg7-linux/data/
avg7-linux/data/dfncfg.dat
avg7-linux/data/avg7.lng
avg7-linux/data/avi7.avg
avg7-linux/data/incavi.avm
avg7-linux/data/set_vers.cfg
avg7-linux/data/miniavi.avg
avg7-linux/data/microavi.avg
avg7-linux/conf/
avg7-linux/conf/avg.conf
avg7-linux/conf/notify.eml
avg7-linux/README
avg7-linux/antispam/
avg7-linux/antispam/sc10.bin.full.2006.06.27.17.01.01
avg7-linux/antispam/sc13.bin.full.2006.06.27.17.01.01
avg7-linux/antispam/sc6.bin.full.2006.06.27.17.01.01
avg7-linux/antispam/sc9.bin.full.2006.06.27.17.01.01
avg7-linux/antispam/approvedsenders
avg7-linux/antispam/sc2.bin.full.2006.06.27.17.01.01
avg7-linux/antispam/sc12.bin.full.2006.06.27.17.01.01
avg7-linux/antispam/sc5.bin.full.2006.06.27.17.01.01
avg7-linux/antispam/sc15.bin.full.2006.06.27.17.01.01
avg7-linux/antispam/spamcatcher.conf
avg7-linux/antispam/blockedsenders
avg7-linux/antispam/sc1.bin.full.2006.06.27.17.01.01
avg7-linux/antispam/sc11.bin.full.2006.06.27.17.01.01
avg7-linux/antispam/sc14.bin.full.2006.06.27.17.01.01
avg7-linux/install.sh
avg7-linux/init.d/
avg7-linux/init.d/avgdmilterinit.conf
avg7-linux/init.d/functions.rh
avg7-linux/init.d/functions.common
avg7-linux/init.d/avgd.all
avg7-linux/init.d/functions.deb
avg7-linux/init.d/functions.mdk
avg7-linux/init.d/avgd.gentoo
avg7-linux/init.d/functions.suse
avg7-linux/init.d/functions.freebsd
avg7-linux/init.d/functions.ubuntu
avg7-linux/init.d/functions.slack
avg7-linux/init.d/avgdmilter.gentoo
avg7-linux/init.d/avgdinit.conf
avg7-linux/init.d/avgdmilter.all
avg7-linux/script/
avg7-linux/script/uninstall.sh
avg7-linux/script/detect_os.sh
avg7-linux/script/questions.sh
avg7-linux/script/print_message.sh
avg7-linux/script/locations.txt
mahesh@mahesh-desktop:/usr/local/src$ sudo get install apt-file
sudo: get: command not found
mahesh@mahesh-desktop:/usr/local/src$ ./configure
bash: ./configure: No such file or directory
mahesh@mahesh-desktop:/usr/local/src$








the above mentioned is the exact problem. Have a glance at the second last line
 
Old 10-20-2008, 09:24 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Start by reading the README: avg7-linux/doc/README
 
Old 10-21-2008, 07:08 AM   #7
Total-MAdMaN
Member
 
Registered: May 2008
Distribution: Gentoo
Posts: 306

Rep: Reputation: 34
You need to change to the avg7-linux directory ("cd avg7-linux") before running "./configure".
 
Old 10-21-2008, 02:30 PM   #8
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,078

Rep: Reputation: 195Reputation: 195
Quote:
Originally Posted by Total-MAdMaN View Post
You need to change to the avg7-linux directory ("cd avg7-linux") before running "./configure".
Usually yes. But in this case the output of the tar command shows that there isn't a script called configure in the avg7-linux directory.



Quote:
Originally Posted by umamaheshmunez
mahesh@mahesh-desktop:/usr/local/src$ sudo get install apt-file
I'm guessing you mean

Code:
$ sudo apt-get install apt-file
But why are you doing that?


Apart from that, what chrism01 said.
 
Old 10-21-2008, 02:52 PM   #9
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
If your using Ubuntu or debian why not use the .deb package? > http://www.avg.com/filedir/inst/avg7...a1243.i386.deb

Other packages are also available at http://free.avg.com/download?prd=afl
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Why Big Compute and Big Storage will meet Big Pipe at the Last Mile LXer Syndicated Linux News 0 12-23-2007 02:20 PM
BIG BIG PROBLEM with nvidia driver for linux x86 basshead62887 Linux - Hardware 5 09-12-2007 01:33 AM
Big Problem with 3ware 9550sx compiling rook001 Linux - Hardware 6 03-14-2006 12:14 PM
Big, big Problem on vsftpd rhonneil Linux - Newbie 1 10-01-2003 03:18 PM
Installing RH 9 with RAID 5 --Big, big Problem!!! rhonneil Linux - Software 2 09-25-2003 09:13 PM


All times are GMT -5. The time now is 03:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration