Operating System - Linux
1831262 Members
2733 Online
110022 Solutions
New Discussion

Problems installing qpopper 4.0.3 on redhat 7.2

 
SOLVED
Go to solution
Julian Rodriguez
Occasional Advisor

Problems installing qpopper 4.0.3 on redhat 7.2

Hi mates,

I'm trying to put to work POP3 Auth by using qpopper 4.0.3, I already downloaded the file and decompressed it since there's no rpm available for the linux distro i'm using (RedHat 7.2 with kernel 2.4.9-21)

So, the problem is when i run ./configure from the folder where i decompressed the files i'm having the following error:

[root@sendmail qpopper4.0.3]# ./configure
loading cache ./config.cache
checking whether make sets ${MAKE}... yes
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
[root@sendmail qpopper4.0.3]#

any help please???

Julian Rodriguez
2 REPLIES 2
Mark Fenton
Esteemed Contributor
Solution

Re: Problems installing qpopper 4.0.3 on redhat 7.2

Julian, the message means that your c compiler gcc, is AWOL.

I, too am running RH 7.2 with the new(er) kernel, but I didn't have any trouble with qpopper compiling.

If you have the install CDs, the C compiler files are on the first CD, and you should be able to just install right from there.

mount /mnt/cdrom
cd /mnt/cdrom/RedHat/RPM
ll |grep gcc
and then
rpm -ivh .rpm

As rpm checks the files, it should find whether you need to install anything else first. Getting the install order right is a bit of an art.

hth,
Mark
Julian Rodriguez
Occasional Advisor

Re: Problems installing qpopper 4.0.3 on redhat 7.2

Thanks a lot for your input Mark, really helpfull. But now I have another problem, as you may noticed I'm a newbie on linux so I will be in need of reading a lot of resources, practicing a lot and also asking questions to the masters. I ran:
./configure --enable-apops=/etc/pop.auth --enable-popuid=pop

those options are listed in the qpopper manual for installing the APOP so I can build the 'popauth' command. So, that part ran ok, then you have to run 'make' and it worked ok. So finally you run 'make install' and that's supposed to copy the 'popper' and 'popauth' command. For me, the output from the 'make install' seems fine for me, but later that, when I go and look for the 'popauth' executables, those are not there. Here's the output, what you think about it please??

[root@sendmail popper]# make install
cd ../mmangle && make all
make[1]: Entering directory `/home/qpopper4.0.3/mmangle'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/qpopper4.0.3/mmangle'
cd ../common && make all
make[1]: Entering directory `/home/qpopper4.0.3/common'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/qpopper4.0.3/common'
gcc pop_dele.o pop_dropcopy.o pop_get_command.o pop_get_subcommand.o pop_init.
o pop_last.o pop_list.o pop_log.o pop_lower.o pop_msg.o pop_parse.o pop_pass.o p
op_quit.o pop_rset.o pop_send.o pop_stat.o pop_updt.o pop_user.o pop_xtnd.o pop_
xmit.o popper.o pop_bull.o xtnd_xlst.o pop_uidl.o mktemp.o pop_rpop.o pop_apop.o
md5.o pop_auth.o pop_pope.o pop_extend.o scram.o hmac.o base64.o pop_util.o get
_sub_opt.o msg_ptr.o drac.o pop_config.o pop_tls.o pop_tls_openssl.o pop_tls_ssl
plus.o sslplus_utils.o main.o pop_cache.o genpath.o -o popper ../mmangle/libmang
le.a -I../common ../common/libcommon.a -lcrypt
../common/libcommon.a(maillock.o): In function `Qmaillock':
/home/qpopper4.0.3/common/maillock.c:278: the use of `tempnam' is dangerous, bet
ter use `mkstemp'
/usr/bin/install -c -s -m 0755 -o root popper /usr/local/sbin/popper
echo "Installed popper as /usr/local/sbin/popper"
Installed popper as /usr/local/sbin/popper
if [ "x" != "x" ]; then cd ../password && make install ;fi
if [ "x" != "x" ]; then /usr/bin/install -c -s -m 4755 -o pop -g 0 /usr/local/sbin/; echo "Installed popauth as /usr/local/sbin/ " "with uid pop"; /usr/local/sbin/ -init -safe; fi

[root@sendmail popper]# chown pop /usr/local/lib/popauth
chown: getting attributes of `/usr/local/lib/popauth': No such file or directory
Julian Rodriguez