Ok, try
make clean

To cleanup the build first.

What sort of OS are you on? You may have said but I can’t remember.
So, delete the current directory you have it in and make sure you are 
downloading the correct sources.
https://github.com/Cisco-Talos/clamav-faq/blob/master/faq/Installing.md

Or
https://github.com/Cisco-Talos/clamav-faq/blob/master/manual/UserManual/Installation-Unix.md

Ensure your environment points to your compiler. and libraries etc.

Read the INSTALL.MD 

Other than that, not sure what could be wrong.

-----
Robert Chalmers
https://robert-chalmers.uk
aut...@robert-chalmers.uk
@R_A_Chalmers


> On 10 Dec 2018, at 9:01 am, nikos <ni...@qbit.gr> wrote:
> 
> Robert,
> 
> Both ./configure tidy and ./configure clean give:
>  
> configure: WARNING: you should use --build, --host, --target
> checking for clean-g++... no
> checking for clean-c++... no
> checking for clean-gpp... no
> checking for clean-aCC... no
> checking for clean-CC... no
> checking for clean-cxx... no
> checking for clean-cc++... no
> checking for clean-cl.exe... no
> checking for clean-FCC... no
> checking for clean-KCC... no
> checking for clean-RCC... no
> checking for clean-xlC_r... no
> checking for clean-xlC... no
> checking for g++... no
> checking for c++... no
> checking for gpp... no
> checking for aCC... no
> checking for CC... no
> checking for cxx... no
> checking for cc++... no
> checking for cl.exe... no
> checking for FCC... no
> checking for KCC... no
> checking for RCC... no
> checking for xlC_r... no
> checking for xlC... no
> checking whether the C++ compiler works... no
> configure: error: in `/home/qbit/Downloads/clamav-0.101.0':
> configure: error: C++ compiler cannot create executables
> See `config.log' for more details
> 
> Thank you.
> 
> 
> Ok, try this first.
> ./configure tidy
> ./configure clean
> ./configure <options>
> 
> make
> 
> 
> 
> -----
> Robert Chalmers
> https://robert-chalmers.uk
> author at robert-chalmers.uk
> @R_A_Chalmers
> 
> 
> > On 10 Dec 2018, at 7:36 am, nikos <nikos at qbit.gr> wrote:
> > 
> > Hello list.
> > 
> > I tried Robert, but nothing change. 
> > 
> > I think is something with configure file. I copy the configure file from 
> > previous version and work with no problem. So there is no problem with the 
> > C++ compiler. Can I do the installation with the previous configure file?
> > 
> > I try download it again but nothing change, same problem.
> > 
> > Any suggestions?
> > 
> > Thank you.
> > 
> > 
> > 
> >> On 7/12/2018 7:00 ì.ì., clamav-users-request at lists.clamav.net wrote:
> >> My reasons for querying C++ is this in your log
> >> 
> >> 
> >>> checking for cc++... no
> >> 
> >>> checking whether the C++ compiler works... no
> >> 
> >> 
> >> 
> >> and as you are building 101, if you want to stop freshclam dumping an exit 
> >> error in your logs - it still work, just gives a false error. change this
> >> 
> >> freshclam/freshclamcodes.h from
> >> 
> >> typedef enum fc_error_tag {
> >>     FC_SUCCESS          = 0,
> >>     FC_UPTODATE         = 1,
> >> 
> >> to
> >> 
> >> typedef enum fc_error_tag {
> >>     FC_SUCCESS          = 0,
> >>     FC_UPTODATE         = 0,
> >> 
> >> The clamav code maintainers are aware of this⤦
> >> 
> >> robert
> >> 
> >>> On 7 Dec 2018, at 07:28, nikos <nikos at qbit.gr> wrote:
> >>> 
> >>> Hello list.
> >>> 
> >>> I'm trying to install the now version of clam and it seems to be 
> >>> compilation problems.
> >>> 
> >>> I run ./configure --sysconfdir=/etc --enable-milter in the programs 
> >>> folder and I get the error:
> >>> 
> >>> checking for g++... no
> >>> checking for c++... no
> >>> checking for gpp... no
> >>> checking for aCC... no
> >>> checking for CC... no
> >>> checking for cxx... no
> >>> checking for cc++... no
> >>> checking for cl.exe... no
> >>> checking for FCC... no
> >>> checking for KCC... no
> >>> checking for RCC... no
> >>> checking for xlC_r... no
> >>> checking for xlC... no
> >>> checking whether the C++ compiler works... no
> >>> configure: error: in `/home/admin/clamav-0.101.0':
> >>> configure: error: C++ compiler cannot create executables
> >>> See `config.log' for more details
> >>> 
> >>> I always install clam from source, as the previous versions. The funny 
> >>> thing is, if exctract and run configure in the previous version 
> >>> clamav-0.100.2 every works fine!
> >>> 
> >>> I have a server with latest centos release, full updated.
> >>> 
> >>> Any suggestions?
> >>> 
> >>> Thank you in advance, Nikos.
> >>> 
> >>> 
> >>> _______________________________________________
> >>> clamav-users mailing list
> >>> clamav-users at lists.clamav.net
> >>> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
> >>> 
> >>> 
> >>> Help us build a comprehensive ClamAV guide:
> >>> https://github.com/vrtadmin/clamav-faq
> >>> 
> >>> http://www.clamav.net/contact.html#ml
> >> 
> >> Robert Chalmers
> >> https://robert-chalmers.uk
> >> author at robert-chalmers.uk
> >> @R_A_Chalmers
> > _______________________________________________
> > clamav-users mailing list
> > clamav-users at lists.clamav.net
> > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
> > 
> > 
> > Help us build a comprehensive ClamAV guide:
> > https://github.com/vrtadmin/clamav-faq
> > 
> > http://www.clamav.net/contact.html#ml
> _______________________________________________
> clamav-users mailing list
> clamav-users@lists.clamav.net
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
> 
> 
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
> 
> http://www.clamav.net/contact.html#ml
_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to