LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Compiling is A BIG problem. (https://www.linuxquestions.org/questions/linux-newbie-8/compiling-is-a-big-problem-677595/)

umamaheshmunez 10-19-2008 11:44 AM

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.

arizonagroovejet 10-19-2008 11:51 AM

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.

unihiekka 10-19-2008 02:00 PM

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.

jschiwal 10-19-2008 03:04 PM

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.

umamaheshmunez 10-20-2008 07:12 PM

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

chrism01 10-20-2008 08:24 PM

Start by reading the README: avg7-linux/doc/README

Total-MAdMaN 10-21-2008 06:08 AM

You need to change to the avg7-linux directory ("cd avg7-linux") before running "./configure".

arizonagroovejet 10-21-2008 01:30 PM

Quote:

Originally Posted by Total-MAdMaN (Post 3317430)
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.

craigevil 10-21-2008 01:52 PM

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


All times are GMT -5. The time now is 07:07 PM.